[SOLVED] Import Arch-Installer Color Scheme

Hello ArchLabs users,

I really like the color scheme of the installer, however, I personally find the standart theme that comes with termite after the archlabs installation more than horrendous. Is there a way to reimport that theme and set it to default for my terminals (alacritty and termite)? I couldn’t find the theme in the repos.

I think I found it:

https://bitbucket.org/archlabslinux/iso/src/c8141d6d73e8768c8acb4a617ed2ad30af881602/archlabs/airootfs/etc/skel/.zsh/settings/terminal.zsh?at=master&fileviewer=file-view-default

although the config file for the terminal needs some special tweaking.

Glad that you found it mate.

Please mark as solved.

Yea that’s it, they’re for the Linux console and use the format \e]P<0-15 in hex>XXXXXX where XXXXXX is a hex color code eg. \e]P0000000 to set color 0 to black #000000 when printed as a byte sequence using printf "%b" "CODE" or echo -e "CODE", the comments to the right of each should be the hex code that can be used elsewhere.

You can also pull colours from ~/.Xresources but I don’t think they’re the same as the console colors.

1 Like

There you go. Alacritty:

colors:
  # Default colors
  primary:
    background: '0x000000'
    foreground: '0xffffff'

  # Normal colors
  normal:
    black:   '0x000000'
    red:     '0xcc0403'
    green:   '0x19cb00'
    yellow:  '0xcecb00'
    blue:    '0x001cd1'
    magenta: '0xcb1ed1'
    cyan:    '0x0dcdcd'
    white:   '0xe5e5e5'

  # Bright colors
  bright:
    black:   '0x4d4d4d'
    red:     '0x3e0605'
    green:   '0x23fd00'
    yellow:  '0xfffd00'
    blue:    '0x0026ff'
    magenta: '0xfd28ff'
    cyan:    '0x14ffff'
    white:   '0xffffff'

Termite:

[colors]

# special
foreground      = #ffffff
foreground_bold = #ffffff
cursor          = #ffffff
background      = #000000

# black
color0  = #000000
color8  = #4d4d4d

# red
color1  = #cc0403
color9  = #3e0605

# green
color2  = #19cb00
color10 = #23fd00

# yellow
color3  = #cecb00
color11 = #fffd00

# blue
color4  = #001cd1
color12 = #0026ff

# magenta
color5  = #cb1ed1
color13 = #fd28ff

# cyan
color6  = #0dcdcd
color14 = #14ffff

# white
color7  = #e5e5e5
color15 = #ffffff
1 Like

I don’t think that is right, the one I found had background or black as 0x191919

I’m sorry! This should be it:
Alacritty:

colors:
  # Default colors
  primary:
    background: '0x191919'
    foreground: '0xe1e1e1'

  # Normal colors
  normal:
    black:   '0x191919'
    red:     '0x609960'
    green:   '0x255a9b'
    yellow:  '0x2ec8d3'
    blue:    '0x191919'
    magenta: '0x609960'
    cyan:    '0x4e88cf'
    white:   '0x2ec8d3'

  # Bright colors
  bright:
    black:   '0xd15355'
    red:     '0xffcc66'
    green:   '0xaf86c8'
    yellow:  '0x949494'
    blue:    '0xd15355'
    magenta: '0xff9157'
    cyan:    '0xaf86c8'
    white:   '0xe1e1e1'

Termite:

[colors]

# special
foreground      = #e1e1e1
foreground_bold = #e1e1e1
cursor          = #e1e1e1
background      = #191919

# black
color0  = #191919
color8  = #d15355

# red
color1  = #609960
color9  = #ffcc66

# green
color2  = #255a9b
color10 = #af86c8

# yellow
color3  = #2ec8d3
color11 = #949494

# blue
color4  = #191919
color12 = #d15355

# magenta
color5  = #609960
color13 = #ff9157

# cyan
color6  = #4e88cf
color14 = #af86c8

# white
color7  = #2ec8d3
color15 = #e1e1e1

~/.Xresources:

! special
*.foreground:   #e1e1e1
*.background:   #191919
*.cursorColor:  #e1e1e1

! black
*.color0:       #191919
*.color8:       #d15355

! red
*.color1:       #609960
*.color9:       #ffcc66

! green
*.color2:       #255a9b
*.color10:      #af86c8

! yellow
*.color3:       #2ec8d3
*.color11:      #949494

! blue
*.color4:       #191919
*.color12:      #d15355

! magenta
*.color5:       #609960
*.color13:      #ff9157

! cyan
*.color6:       #4e88cf
*.color14:      #af86c8

! white
*.color7:       #2ec8d3
*.color15:      #e1e1e1
1 Like