Merge branch 'user/okmans/alacritty/theme' into 'master'

Use variables for colors instead of repeating colors in Alacritty's theme.yaml file

See merge request tile-os/tileos-settings-sway!3
This commit is contained in:
Aleksey Samoilov 2024-07-18 15:27:13 +00:00
commit 6ffbd754be

View file

@ -1,78 +1,94 @@
color_set:
text: &TEXT "#CAD3F5"
subtext0: &SUBTEXT0 "#A5ADCB"
subtext1: &SUBTEXT1 "#B8C0E0"
surface2: &SURFACE2 "#5B6078"
surface1: &SURFACE1 "#494D64"
base: &BASE "#24273A"
red: &RED "#ED8796"
green: &GREEN "#A6DA95"
blue: &BLUE "#8AADF4"
yellow: &YELLOW "#EED49F"
pink: &PINK "#F5BDE6"
teal: &TEAL "#8BD5CA"
rosewater: &ROSEWATER "#F4DBD6"
lavender: &LAVENDER "#B7BDF8"
colors: colors:
# Default colors # Default colors
primary: primary:
background: "#24273A" # base background: *BASE # base
foreground: "#CAD3F5" # text foreground: *TEXT # text
# Bright and dim foreground colors # Bright and dim foreground colors
dim_foreground: "#CAD3F5" # text dim_foreground: *TEXT # text
bright_foreground: "#CAD3F5" # text bright_foreground: *TEXT # text
# Cursor colors # Cursor colors
cursor: cursor:
text: "#24273A" # base text: *BASE # base
cursor: "#F4DBD6" # rosewater cursor: *ROSEWATER # rosewater
vi_mode_cursor: vi_mode_cursor:
text: "#24273A" # base text: *BASE # base
cursor: "#B7BDF8" # lavender cursor: *LAVENDER # lavender
# Search colors # Search colors
search: search:
matches: matches:
foreground: "#24273A" # base foreground: *BASE # base
background: "#A5ADCB" # subtext0 background: *SUBTEXT0 # subtext0
focused_match: focused_match:
foreground: "#24273A" # base foreground: *BASE # base
background: "#A6DA95" # green background: *GREEN # green
footer_bar: footer_bar:
foreground: "#24273A" # base foreground: *BASE # base
background: "#A5ADCB" # subtext0 background: *SUBTEXT0 # subtext0
# Keyboard regex hints # Keyboard regex hints
hints: hints:
start: start:
foreground: "#24273A" # base foreground: *BASE # base
background: "#EED49F" # yellow background: *YELLOW # yellow
end: end:
foreground: "#24273A" # base foreground: *BASE # base
background: "#A5ADCB" # subtext0 background: *SUBTEXT0 # subtext0
# Selection colors # Selection colors
selection: selection:
text: "#24273A" # base text: *BASE # base
background: "#F4DBD6" # rosewater background: *ROSEWATER # rosewater
# Normal colors # Normal colors
normal: normal:
black: "#494D64" # surface1 black: *SURFACE1 # surface1
red: "#ED8796" # red red: *RED # red
green: "#A6DA95" # green green: *GREEN # green
yellow: "#EED49F" # yellow yellow: *YELLOW # yellow
blue: "#8AADF4" # blue blue: *BLUE # blue
magenta: "#F5BDE6" # pink magenta: *PINK # pink
cyan: "#8BD5CA" # teal cyan: *TEAL # teal
white: "#B8C0E0" # subtext1 white: *SUBTEXT1 # subtext1
# Bright colors # Bright colors
bright: bright:
black: "#5B6078" # surface2 black: *SURFACE2 # surface2
red: "#ED8796" # red red: *RED # red
green: "#A6DA95" # green green: *GREEN # green
yellow: "#EED49F" # yellow yellow: *YELLOW # yellow
blue: "#8AADF4" # blue blue: *BLUE # blue
magenta: "#F5BDE6" # pink magenta: *PINK # pink
cyan: "#8BD5CA" # teal cyan: *TEAL # teal
white: "#A5ADCB" # subtext0 white: *SUBTEXT0 # subtext0
# Dim colors # Dim colors
dim: dim:
black: "#494D64" # surface1 black: *SURFACE1 # surface1
red: "#ED8796" # red red: *RED # red
green: "#A6DA95" # green green: *GREEN # green
yellow: "#EED49F" # yellow yellow: *YELLOW # yellow
blue: "#8AADF4" # blue blue: *BLUE # blue
magenta: "#F5BDE6" # pink magenta: *PINK # pink
cyan: "#8BD5CA" # teal cyan: *TEAL # teal
white: "#B8C0E0" # subtext1 white: *SUBTEXT1 # subtext1
indexed_colors: indexed_colors:
- { index: 16, color: "#F5A97F" } - { index: 16, color: "#F5A97F" }