Add font size to theme
This commit is contained in:
parent
f6710fb383
commit
08a337d26d
|
@ -10,6 +10,7 @@ export component EditorBar inherits Rectangle {
|
||||||
padding: Theme.padding-md;
|
padding: Theme.padding-md;
|
||||||
spacing: Theme.padding-xl;
|
spacing: Theme.padding-xl;
|
||||||
Text {
|
Text {
|
||||||
|
font-size: Theme.font-md;
|
||||||
vertical-alignment: center;
|
vertical-alignment: center;
|
||||||
text: "Damn look at all the options and shit here it's like Hammer 2!!";
|
text: "Damn look at all the options and shit here it's like Hammer 2!!";
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,6 +11,7 @@ export component StatusBar inherits Rectangle {
|
||||||
padding-right: Theme.padding-lg;
|
padding-right: Theme.padding-lg;
|
||||||
spacing: Theme.padding-lg;
|
spacing: Theme.padding-lg;
|
||||||
Text {
|
Text {
|
||||||
|
font-size: Theme.font-md;
|
||||||
vertical-alignment: center;
|
vertical-alignment: center;
|
||||||
text: "Last saved: 18:50";
|
text: "Last saved: 18:50";
|
||||||
}
|
}
|
||||||
|
@ -18,6 +19,7 @@ export component StatusBar inherits Rectangle {
|
||||||
VerticalSeparator { }
|
VerticalSeparator { }
|
||||||
|
|
||||||
Text {
|
Text {
|
||||||
|
font-size: Theme.font-md;
|
||||||
vertical-alignment: center;
|
vertical-alignment: center;
|
||||||
text: "Saved by: Jayrude";
|
text: "Saved by: Jayrude";
|
||||||
}
|
}
|
||||||
|
|
|
@ -18,4 +18,9 @@ export global Theme {
|
||||||
in-out property <length> radius-md: 8px;
|
in-out property <length> radius-md: 8px;
|
||||||
in-out property <length> radius-lg: 16px;
|
in-out property <length> radius-lg: 16px;
|
||||||
in-out property <length> radius-xl: 32px;
|
in-out property <length> radius-xl: 32px;
|
||||||
|
|
||||||
|
in-out property <length> font-sm: 10px;
|
||||||
|
in-out property <length> font-md: 12px;
|
||||||
|
in-out property <length> font-lg: 16px;
|
||||||
|
in-out property <length> font-xl: 24px;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue