JavaFX/Classes/css/user/ContextBuilder.java

28 lines
626 B
Java
Raw Permalink Normal View History

2017-11-15 13:23:49 +00:00
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", 200);
Context.bind("article-width", 800);
Context.bind("article-height", 96);
2017-11-15 13:23:49 +00:00
/* (3) Colors */
Context.bind("main-color", 63, 81, 181);
Context.bind("menu-bg", 255, 255, 253);
Context.bind("submenu-bg", 244, 244, 244);
2017-11-15 13:23:49 +00:00
}
}