26 lines
546 B
Java
26 lines
546 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", 200);
|
|
|
|
/* (3) Colors */
|
|
Context.bind("main-color", 63, 81, 181);
|
|
Context.bind("menu-bg", 255, 255, 253);
|
|
Context.bind("submenu-bg", 255, 0, 0);
|
|
|
|
}
|
|
|
|
}
|