Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configure alacritty with more specific colors ? #49

Open
Spuxy opened this issue Mar 9, 2022 · 3 comments
Open

Configure alacritty with more specific colors ? #49

Spuxy opened this issue Mar 9, 2022 · 3 comments

Comments

@Spuxy
Copy link

Spuxy commented Mar 9, 2022

Hey! i love ur library but im worried how can i configure colors for alacritty like this

colors:
  primary:
    background: '0x282828'
    foreground: '0xdfbf8e'

  normal:
    black:   '0x665c54'
    red:     '0xea6962'
    green:   '0xa9b665'
    yellow:  '0xe78a4e'
    blue:    '0x7daea3'
    magenta: '0xd3869b'
    cyan:    '0x89b482'
    white:   '0xdfbf8e'

  bright:
    black:   '0x928374'
    red:     '0xea6962'
    green:   '0xa9b665'
    yellow:  '0xe3a84e'
    blue:    '0x7daea3'
    magenta: '0xd3869b'
    cyan:    '0x89b482'
    white:   '0xdfbf8e'

against to this

colors:
  # Default colors
  primary:
    background: '0x{{base00-hex}}'
    foreground: '0x{{base05-hex}}'

  # Colors the cursor will use if `custom_cursor_colors` is true
  cursor:
    text: '0x{{base00-hex}}'
    cursor: '0x{{base05-hex}}'

  # Normal colors
  normal:
    black:   '0x{{base00-hex}}'
    red:     '0x{{base08-hex}}'
    green:   '0x{{base0B-hex}}'
    yellow:  '0x{{base0A-hex}}'
    blue:    '0x{{base0D-hex}}'
    magenta: '0x{{base0E-hex}}'
    cyan:    '0x{{base0C-hex}}'
    white:   '0x{{base05-hex}}'

  # Bright colors
  bright:
    black:   '0x{{base03-hex}}'
    red:     '0x{{base09-hex}}'
    green:   '0x{{base01-hex}}'
    yellow:  '0x{{base02-hex}}'
    blue:    '0x{{base04-hex}}'
    magenta: '0x{{base06-hex}}'
    cyan:    '0x{{base0F-hex}}'
    white:   '0x{{base07-hex}}'

draw_bold_text_with_bright_colors: false

for example i have different color for background and for black color but in this template it uses same color. So im limited because of this ? base16 provides only 16 colors but theoretically i can use for alacritty 18-20 different colors (include colors for cursor)

@1vFrKaRb
Copy link

That looks more like that's a problem with base16, than with flavours.

One theoretically solution would be to have custom schemas with more than 16 colors and custom templates, which accept more than 16 colors, but have fallback values for schemas which only support 16.

But that would break with the conventions defined by this repository.

@Misterio77
Copy link
Owner

Sorry for the delay, but yes, it is as @1vFrKaRb described.

There's sadly not much we can do right now. supporting base24 would help (I do plan on getting that going, but life kinda gets in the way, I sure am open to PRs though).

@Misterio77
Copy link
Owner

Hey, this should be better now with #76. Let me know if it helps!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants