feat(Status.Core.Theme): add RobotoMono font

Closes #342
This commit is contained in:
Pascal Precht 2021-09-07 11:54:21 +02:00 committed by Michał Cieślak
parent dc96cf04a9
commit 7bd484c339
17 changed files with 55 additions and 0 deletions

View File

@ -68,6 +68,30 @@ ThemePalette {
source: "../../../assets/fonts/InterStatus/InterStatus-Black.otf" source: "../../../assets/fonts/InterStatus/InterStatus-Black.otf"
} }
property QtObject codeFont: FontLoader {
source: "../../../assets/fonts/RobotoMono/RobotoMono-Regular.ttf"
}
property QtObject codeFontThin: FontLoader {
source: "../../../assets/fonts/RobotoMono/RobotoMono-Thin.ttf"
}
property QtObject codeFontExtraLight: FontLoader {
source: "../../../assets/fonts/RobotoMono/RobotoMono-ExtraLight.ttf"
}
property QtObject codeFontLight: FontLoader {
source: "../../../assets/fonts/RobotoMono/RobotoMono-Light.ttf"
}
property QtObject codeFontMedium: FontLoader {
source: "../../../assets/fonts/RobotoMono/RobotoMono-Medium.ttf"
}
property QtObject codeFontBold: FontLoader {
source: "../../../assets/fonts/RobotoMono/RobotoMono-Bold.ttf"
}
property color dropShadow: getColor('black', 0.08) property color dropShadow: getColor('black', 0.08)
baseColor1: getColor('graphite5') baseColor1: getColor('graphite5')

View File

@ -68,6 +68,30 @@ ThemePalette {
source: "../../../assets/fonts/InterStatus/InterStatus-Black.otf" source: "../../../assets/fonts/InterStatus/InterStatus-Black.otf"
} }
property QtObject codeFont: FontLoader {
source: "../../../assets/fonts/RobotoMono/RobotoMono-Regular.ttf"
}
property QtObject codeFontThin: FontLoader {
source: "../../../assets/fonts/RobotoMono/RobotoMono-Thin.ttf"
}
property QtObject codeFontExtraLight: FontLoader {
source: "../../../assets/fonts/RobotoMono/RobotoMono-ExtraLight.ttf"
}
property QtObject codeFontLight: FontLoader {
source: "../../../assets/fonts/RobotoMono/RobotoMono-Light.ttf"
}
property QtObject codeFontMedium: FontLoader {
source: "../../../assets/fonts/RobotoMono/RobotoMono-Medium.ttf"
}
property QtObject codeFontBold: FontLoader {
source: "../../../assets/fonts/RobotoMono/RobotoMono-Bold.ttf"
}
baseColor1: getColor('grey5') baseColor1: getColor('grey5')
baseColor2: getColor('grey4') baseColor2: getColor('grey4')
baseColor3: getColor('grey3') baseColor3: getColor('grey3')

View File

@ -24,6 +24,13 @@ QtObject {
property FontLoader monoFontExtraBold property FontLoader monoFontExtraBold
property FontLoader monoFontBlack property FontLoader monoFontBlack
property FontLoader codeFont
property FontLoader codeFontThin
property FontLoader codeFontExtraLight
property FontLoader codeFontLight
property FontLoader codeFontMedium
property FontLoader codeFontBold
property color black: getColor('black') property color black: getColor('black')
property color white: getColor('white') property color white: getColor('white')