JavaFX/Classes/css/user/ContextBuilder.java

28 lines
626 B
Java
Raw 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);
2017-12-12 07:58:26 +00:00
Context.bind("submenu-width", 166);
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);
2017-12-12 07:58:26 +00:00
Context.bind("submenu-bg", 250, 250, 250);
2017-11-15 13:23:49 +00:00
}
}