Layers/resources/colors.toml

54 lines
1.4 KiB
TOML

# Layers UI colour tokens.
#
# Hex strings are #rgb, #rgba, #rrggbb, or #rrggbbaa. Raw floats in [0..1] are
# accepted too. Restart the plugin to pick up changes.
[window]
# Iced compositor clear colour (behind the panel).
background = "#090a0d"
# Focus + hover behaviour of the NSWindow:
alpha_focused_hovered = 1.00 # focused AND pointer inside
alpha_partial = 0.50 # focused OR hovered (not both)
alpha_idle = 0.10 # neither — faded into the workspace
[panel]
surface = "#16191c"
surface_alt = "#1c1f22"
border = "#ffffff26" # 15% white
text_primary = "#ffffff"
text_muted = "#a0a0a8"
[accent]
base = "#5a9cff"
hover = "#82b4ff"
pressed = "#3b7fe0"
[status]
connected = "#7ac184"
disconnected = "#e07474"
warning = "#e0b25a"
[button.ghost]
# Subtle, glass-on-dark. Alpha values modulate per-state against text-primary.
border_active = 0.18
border_hovered = 0.45
border_pressed = 0.80
border_disabled = 0.06
bg_hovered = 0.12
bg_pressed = 0.30
text_active = 0.90
text_hovered = 1.00
text_pressed = 1.00
text_disabled = 0.35
[button.accent]
# Modulated against the accent base colour.
bg_active = 0.18
bg_hovered = 0.30
bg_pressed = 0.45
bg_disabled = 0.06
border_active = 0.60
border_hovered = 0.85
border_pressed = 1.00
border_disabled = 0.20