matugen: make UI font and monospace font different variables
This commit is contained in:
parent
30aabf1683
commit
2fb3b565f7
6 changed files with 12 additions and 4 deletions
|
|
@ -1,4 +1,5 @@
|
||||||
{
|
{
|
||||||
"font": "ComicShannsMono Nerd Font",
|
"font": "Comic Neue",
|
||||||
"rounding": 10
|
"monospace_font": "ComicShannsMono Nerd Font",
|
||||||
|
"rounding": 0
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
* {
|
* {
|
||||||
font-family: {{ font }};
|
font-family: {{ font }}, {{monospace_font}};
|
||||||
border-radius: {{ rounding }}px;
|
border-radius: {{ rounding }}px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -18,6 +18,7 @@
|
||||||
:root {
|
:root {
|
||||||
/* font, change to 'gg sans' for default discord font*/
|
/* font, change to 'gg sans' for default discord font*/
|
||||||
--font: '{{ font }}';
|
--font: '{{ font }}';
|
||||||
|
--code-font: '{{ monospace_font }}';
|
||||||
|
|
||||||
/* top left corner text */
|
/* top left corner text */
|
||||||
--corner-text: 'Midnight';
|
--corner-text: 'Midnight';
|
||||||
|
|
@ -91,6 +92,10 @@ body {
|
||||||
font-family: '{{ font }}';
|
font-family: '{{ font }}';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
code {
|
||||||
|
font-family: '{{monospace_font}}';
|
||||||
|
}
|
||||||
|
|
||||||
/* Selected chat/friend text */
|
/* Selected chat/friend text */
|
||||||
.selected_f5eb4b,
|
.selected_f5eb4b,
|
||||||
.selected_f6f816 .link_d8bfb3 {
|
.selected_f6f816 .link_d8bfb3 {
|
||||||
|
|
|
||||||
|
|
@ -1 +1,2 @@
|
||||||
background = {{colors.background.default.hex}}
|
background = {{colors.background.default.hex}}
|
||||||
|
font-family = {{monospace_font}}
|
||||||
|
|
|
||||||
|
|
@ -2,5 +2,6 @@ export PRIMARY_COLOUR="0xFF{{colors.primary.default.hex_stripped}}"
|
||||||
export SECONDARY_COLOUR="0xFF{{colors.secondary.default.hex_stripped}}"
|
export SECONDARY_COLOUR="0xFF{{colors.secondary.default.hex_stripped}}"
|
||||||
export BACKGROUND_COLOUR=0xFF"{{colors.background.default.hex_stripped}}"
|
export BACKGROUND_COLOUR=0xFF"{{colors.background.default.hex_stripped}}"
|
||||||
export FONT="{{ font }}"
|
export FONT="{{ font }}"
|
||||||
|
export MONOSPACE_FONT="{{ monospace_font }}"
|
||||||
|
|
||||||
export ROUNDING="{{ rounding }}"
|
export ROUNDING="{{ rounding }}"
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@ sketchybar --bar \
|
||||||
corner_radius=0 \
|
corner_radius=0 \
|
||||||
|
|
||||||
default=(
|
default=(
|
||||||
icon.font="ComicShannsMono Nerd Font:Regular:16.0"
|
icon.font="$MONOSPACE_FONT:Regular:16.0"
|
||||||
label.font="$FONT:Bold:12.0"
|
label.font="$FONT:Bold:12.0"
|
||||||
label.color=$PRIMARY_COLOUR
|
label.color=$PRIMARY_COLOUR
|
||||||
icon.color=$SECONDARY_COLOUR
|
icon.color=$SECONDARY_COLOUR
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue