JavaFX/Classes/css/user/ContextBuilder.java

28 lines
624 B
Java

package Classes.css.user;
import Classes.css.core.Context;
public class ContextBuilder{
public static void createContext(){
/* (1) Screen dimensions */
Context.bind("screen-width", 1280);
Context.bind("screen-height", 720);
/* (2) Base layout dimension */
Context.bind("header-height", 50);
Context.bind("menu-width", 237);
Context.bind("submenu-width", 2);
Context.bind("article-width", 800);
Context.bind("article-height", 96);
/* (3) Colors */
Context.bind("main-color", 63, 81, 181);
Context.bind("menu-bg", 255, 255, 253);
Context.bind("submenu-bg", 244, 244, 244);
}
}