First commit
This commit is contained in:
77
application/elements/label.js
Normal file
77
application/elements/label.js
Normal file
@@ -0,0 +1,77 @@
|
||||
|
||||
export default class label{
|
||||
|
||||
constructor( text, gridName ) {
|
||||
|
||||
this.text = text;
|
||||
|
||||
this.gridArea = gridName;
|
||||
|
||||
}
|
||||
|
||||
|
||||
layers = 1;
|
||||
|
||||
gridArea = "passwordLabel";
|
||||
|
||||
text = "password";
|
||||
|
||||
color = "black";
|
||||
|
||||
padding = 20;
|
||||
|
||||
fontSize = 12;
|
||||
|
||||
|
||||
#ifdef WINDOWS
|
||||
|
||||
fontWeight = "bold";
|
||||
|
||||
|
||||
|
||||
#ifdef LIGHT
|
||||
|
||||
|
||||
color = "#282626";
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef DARK
|
||||
|
||||
color = "white";
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef MACOS
|
||||
|
||||
padding = 10;
|
||||
|
||||
paddingLeft = 0;
|
||||
|
||||
boxWidth = "100%";
|
||||
|
||||
|
||||
#ifdef LIGHT
|
||||
|
||||
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef DARK
|
||||
|
||||
color = "white";
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user