theme
This commit is contained in:
		| @@ -1,9 +1,10 @@ | ||||
| format=<b>%s - %a</b>\n%b | ||||
| font=Roboto 10 | ||||
| format=<span size="{{ math.Sub .theme.font.size_base_pt .theme.font.size_step_pt }}pt" weight="bold">%s - %a</span>\n%b | ||||
| font={{ .theme.font.name_regular }} {{ .theme.font.size_base_pt }} | ||||
| background-color=#{{ .theme.color.bg_accent_dark }}{{ math.Mul .theme.opacity.high 255 | conv.ToInt64 | printf "%02X" }} | ||||
| border-size=2 | ||||
| border-radius=4 | ||||
| border-color=#{{ .theme.color.fg_accent }}{{ math.Mul .theme.opacity.med 255 | conv.ToInt64 | printf "%02X" }} | ||||
| padding=5,10 | ||||
| width=400 | ||||
| width=600 | ||||
| progress-color=#{{ .theme.color.fg_accent }}{{ math.Mul .theme.opacity.med 255 | conv.ToInt64 | printf "%02X" }} | ||||
| layer=overlay | ||||
|   | ||||
| @@ -41,6 +41,8 @@ c.bindings.key_mappings.update(dict(zip("ьЬыЫфФпПбБжЖлЛуУяЯа | ||||
| # styles | ||||
| #c.colors.webpage.preferred_color_scheme = 'dark' | ||||
| c.colors.webpage.darkmode.enabled = True | ||||
| c.colors.webpage.darkmode.threshold.background = 128 | ||||
| c.colors.webpage.darkmode.threshold.foreground = 127 | ||||
| c.colors.webpage.bg = '#'+env['QB_THEME_COLOR_BG'] | ||||
| c.fonts.default_family = 'Roboto' | ||||
| ########################################## | ||||
|   | ||||
		Reference in New Issue
	
	Block a user