style
This commit is contained in:
parent
3fc6f3e225
commit
ec4433827a
@ -3,18 +3,23 @@
|
|||||||
<fontconfig>
|
<fontconfig>
|
||||||
<alias>
|
<alias>
|
||||||
<family>serif</family>
|
<family>serif</family>
|
||||||
<prefer><family>Roboto</family></prefer>
|
<prefer><family>{{ .theme.font.name_regular }}</family></prefer>
|
||||||
</alias>
|
</alias>
|
||||||
<alias>
|
<alias>
|
||||||
<family>sans-serif</family>
|
<family>sans-serif</family>
|
||||||
<prefer><family>Roboto</family></prefer>
|
<prefer><family>{{ .theme.font.name_regular }}</family></prefer>
|
||||||
</alias>
|
</alias>
|
||||||
<alias>
|
<alias>
|
||||||
<family>monospace</family>
|
<family>monospace</family>
|
||||||
<prefer><family>Roboto Mono</family></prefer>
|
<prefer><family>{{ .theme.font.name_mono }}</family></prefer>
|
||||||
</alias>
|
</alias>
|
||||||
<alias>
|
<alias>
|
||||||
<family>system-ui</family>
|
<family>system-ui</family>
|
||||||
<prefer><family>Roboto</family></prefer>
|
<prefer><family>{{ .theme.font.name_regular }}</family></prefer>
|
||||||
</alias>
|
</alias>
|
||||||
|
<match target="pattern">
|
||||||
|
<edit name="size" mode="append">
|
||||||
|
<double>{{ .theme.font.size_base_pt }}</double>
|
||||||
|
</edit>
|
||||||
|
</match>
|
||||||
</fontconfig>
|
</fontconfig>
|
||||||
|
@ -1,8 +1,9 @@
|
|||||||
format=<span size="{{ math.Add .theme.font.size_base_pt .theme.font.size_step_pt }}pt" weight="bold">%s - %a</span>\n%b
|
format=<span size="{{ .theme.font.size_base_pt }}pt" weight="bold">%s - %a</span>\n%b
|
||||||
font={{ .theme.font.name_regular }} {{ .theme.font.size_base_pt }}
|
font={{ .theme.font.name_regular }} {{ math.Sub .theme.font.size_base_pt .theme.font.size_step_pt }}
|
||||||
background-color=#{{ .theme.color.bg_accent_dark }}{{ math.Mul .theme.opacity.high 255 | conv.ToInt64 | printf "%02X" }}
|
background-color=#{{ .theme.color.bg_accent_dark }}{{ math.Mul .theme.opacity.high 255 | conv.ToInt64 | printf "%02X" }}
|
||||||
border-size=2
|
border-size=2
|
||||||
border-radius=4
|
border-radius=4
|
||||||
|
icon-border-radius=4
|
||||||
border-color=#{{ .theme.color.fg_accent }}{{ math.Mul .theme.opacity.med 255 | conv.ToInt64 | printf "%02X" }}
|
border-color=#{{ .theme.color.fg_accent }}{{ math.Mul .theme.opacity.med 255 | conv.ToInt64 | printf "%02X" }}
|
||||||
padding=5,10
|
padding=5,10
|
||||||
width=600
|
width=600
|
||||||
|
Loading…
Reference in New Issue
Block a user