theme
This commit is contained in:
parent
54836c9435
commit
539681260b
@ -3,4 +3,8 @@
|
||||
role="$1"
|
||||
shift
|
||||
|
||||
aichat --role "$role" "$@"
|
||||
if [ -n "$1" ]; then
|
||||
aichat --role "$role" "$@"
|
||||
else
|
||||
aichat --role "$role" --session
|
||||
fi
|
||||
|
@ -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'
|
||||
##########################################
|
||||
|
Loading…
Reference in New Issue
Block a user