Add font size to theme

This commit is contained in:
Jarrod Doyle 2024-04-09 21:55:39 +01:00
parent f6710fb383
commit 08a337d26d
Signed by: Jayrude
GPG Key ID: 38B57B16E7C0ADF7
3 changed files with 8 additions and 0 deletions

View File

@ -10,6 +10,7 @@ export component EditorBar inherits Rectangle {
padding: Theme.padding-md;
spacing: Theme.padding-xl;
Text {
font-size: Theme.font-md;
vertical-alignment: center;
text: "Damn look at all the options and shit here it's like Hammer 2!!";
}

View File

@ -11,6 +11,7 @@ export component StatusBar inherits Rectangle {
padding-right: Theme.padding-lg;
spacing: Theme.padding-lg;
Text {
font-size: Theme.font-md;
vertical-alignment: center;
text: "Last saved: 18:50";
}
@ -18,6 +19,7 @@ export component StatusBar inherits Rectangle {
VerticalSeparator { }
Text {
font-size: Theme.font-md;
vertical-alignment: center;
text: "Saved by: Jayrude";
}

View File

@ -18,4 +18,9 @@ export global Theme {
in-out property <length> radius-md: 8px;
in-out property <length> radius-lg: 16px;
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;
}