Update alacritty to black on white color scheme

This commit is contained in:
Vladan Popovic 2021-06-17 09:48:22 +02:00
parent 145b8ddcd3
commit 6ec966cacf
1 changed files with 269 additions and 119 deletions

View File

@ -121,11 +121,134 @@ font:
# If `true`, bold text is drawn using the bright color variants. # If `true`, bold text is drawn using the bright color variants.
draw_bold_text_with_bright_colors: false draw_bold_text_with_bright_colors: false
# Colors (Tomorrow Night) schemes:
colors: default_base: &light
# Default colors # Default colors
primary: primary:
background: '#1d1f21' background: '0xefece4'
foreground: '0x484245'
# Colors the cursor will use if `custom_cursor_colors` is true
cursor:
text: '0xefecf4'
cursor: '0x585260'
# Normal colors
normal:
black: '0xefecf4'
red: '0xbe4638'
green: '0x2a9292'
yellow: '0xa06e3b'
blue: '0x576ddb'
magenta: '0x955ae7'
cyan: '0x398bc6'
white: '0x585260'
# Bright colors
bright:
black: '0x7e7887'
red: '0xbe3648'
green: '0x2a9292'
yellow: '0xa06e3b'
blue: '0x576ddb'
magenta: '0x955ae7'
cyan: '0x398bc6'
white: '0x19171c'
indexed_colors:
- { index: 16, color: '0xaa573c' }
- { index: 17, color: '0xbf40bf' }
- { index: 18, color: '0xe2dfe7' }
- { index: 19, color: '0x8b8792' }
- { index: 20, color: '0x655f6d' }
- { index: 21, color: '0x26232a' }
alt_light: &alt_light
primary:
background: '0xf8f8f8'
foreground: '0x383838'
# Colors the cursor will use if `custom_cursor_colors` is true
cursor:
text: '0xf8f8f8'
cursor: '0x383838'
# Normal colors
normal:
black: '0xf8f8f8'
red: '0xab4642'
green: '0x538947'
yellow: '0xf79a0e'
blue: '0x7cafc2'
magenta: '0x96609e'
cyan: '0x4b8093'
white: '0x383838'
# Bright colors
bright:
black: '0xb8b8b8'
red: '0xab4642'
green: '0x538947'
yellow: '0xf79a0e'
blue: '0x7cafc2'
magenta: '0x96609e'
cyan: '0x4b8093'
white: '0x181818'
indexed_colors:
- { index: 16, color: '0xdc9656' }
- { index: 17, color: '0xa16946' }
- { index: 18, color: '0xe8e8e8' }
- { index: 19, color: '0xd8d8d8' }
- { index: 20, color: '0x585858' }
- { index: 21, color: '0x282828' }
tomorrow: &tomorrow
# Default colors
primary:
background: '0xffffff'
foreground: '0x242424'
# Colors the cursor will use if `custom_cursor_colors` is true
cursor:
text: '0xffffff'
cursor: '0x242424'
# Normal colors
normal:
black: '0xffffff'
red: '0xc82829'
green: '0x718c00'
yellow: '0xf79a0e'
blue: '0x4271ae'
magenta: '0x8959a8'
cyan: '0x3e999f'
white: '0x242424'
# Bright colors
bright:
black: '0x8e908c'
red: '0xc82829'
green: '0x718c00'
yellow: '0xf79a0e'
blue: '0x4271ae'
magenta: '0x8959a8'
cyan: '0x3e999f'
white: '0x1d1f21'
indexed_colors:
- { index: 16, color: '0xf5871f' }
- { index: 17, color: '0xa3685a' }
- { index: 18, color: '0xe0e0e0' }
- { index: 19, color: '0xd6d6d6' }
- { index: 20, color: '0x969896' }
- { index: 21, color: '0x282a2e' }
# Colors (Tomorrow Night)
tomorrow_night: &tomorrow_night
# Default colors
primary:
background: '#171717'
foreground: '#c5c8c6' foreground: '#c5c8c6'
# Bright and dim foreground colors # Bright and dim foreground colors
@ -216,15 +339,7 @@ colors:
cyan: '#5b7d78' cyan: '#5b7d78'
white: '#828482' white: '#828482'
# Indexed Colors colors: *tomorrow
#
# The indexed colors include all colors from 16 to 256.
# When these are not set, they're filled with sensible defaults.
#
# Example:
# `- { index: 16, color: '#ff00ff' }`
#
#indexed_colors: []
# Bell # Bell
# #
@ -287,7 +402,23 @@ cursor:
# - ▇ Block # - ▇ Block
# - _ Underline # - _ Underline
# - | Beam # - | Beam
style: Block style: Beam
#style:
# # Cursor shape
# #
# # Values for `shape`:
# # - ▇ Block
# # - _ Underline
# # - | Beam
# shape: Beam
# # Cursor blinking state
# #
# # Values for `blinking`:
# # - Never: Prevent the cursor from ever blinking
# # - Off: Disable blinking by default
# # - On: Enable blinking by default
# # - Always: Force the cursor to always blink
# blinking: On
# Vi mode cursor style # Vi mode cursor style
# #
@ -295,7 +426,7 @@ cursor:
# the style of the active value of the normal cursor. # the style of the active value of the normal cursor.
# #
# See `cursor.style` for available options. # See `cursor.style` for available options.
vi_mode_style: Underline vi_mode_style: Block
# If this is `true`, the cursor will be rendered as a hollow box when the # If this is `true`, the cursor will be rendered as a hollow box when the
# window is not focused. # window is not focused.
@ -303,7 +434,7 @@ cursor:
# Thickness of the cursor relative to the cell width as floating point number # Thickness of the cursor relative to the cell width as floating point number
# from `0.0` to `1.0`. # from `0.0` to `1.0`.
thickness: 0.1 thickness: 0.2
# Live config reload (changes require restart) # Live config reload (changes require restart)
live_config_reload: true live_config_reload: true
@ -343,27 +474,46 @@ mouse:
# If this is `true`, the cursor is temporarily hidden when typing. # If this is `true`, the cursor is temporarily hidden when typing.
hide_when_typing: false hide_when_typing: false
url: # Regex hints
# URL launcher
# #
# This program is executed when clicking on a text which is recognized as a URL. # Terminal hints can be used to find text in the visible part of the terminal
# The URL is always added to the command as the last parameter. # and pipe it to other applications.
# hints:
# When set to `launcher: None`, URL launching will be disabled completely. # Keys used for the hint labels.
# #alphabet: "jfkdls;ahgurieowpq"
# Default:
# - (macOS) open
# - (Linux/BSD) xdg-open
# - (Windows) explorer
launcher:
program: xdg-open
# args: []
# URL modifiers # List with all available hints
# #
# These are the modifiers that need to be held down for opening URLs when clicking # Each hint must have a `regex` and either an `action` or a `command` field.
# on them. The available modifiers are documented in the key binding section. # The fields `mouse`, `binding` and `post_processing` are optional.
modifiers: None #
# The fields `command`, `binding.key`, `binding.mods` and `mouse.mods` accept
# the same values as they do in the `key_bindings` section.
#
# The `mouse.enabled` field controls if the hint should be underlined while
# the mouse with all `mouse.mods` keys held or the vi mode cursor is above it.
#
# If the `post_processing` field is set to `true`, heuristics will be used to
# shorten the match if there are characters likely not to be part of the hint
# (e.g. a trailing `.`). This is most useful for URIs.
#
# Values for `action`:
# - Copy
# Copy the hint's text to the clipboard.
# - Paste
# Paste the hint's text to the terminal or search.
# - Select
# Select the hint's text.
# - MoveViModeCursor
# Move the vi mode cursor to the beginning of the hint.
enabled:
- regex: "(ipfs:|ipns:|magnet:|mailto:|gemini:|gopher:|https:|http:|news:|file:|git:|ssh:|ftp:)\
[^\u0000-\u001F\u007F-\u009F<>\"\\s{-}\\^⟨⟩`]+"
command: xdg-open
post_processing: true
mouse:
enabled: true
mods: None
# Mouse bindings # Mouse bindings
# #
@ -639,7 +789,7 @@ key_bindings:
- { key: Insert, mods: Shift, action: PasteSelection } - { key: Insert, mods: Shift, action: PasteSelection }
- { key: Key0, mods: Control, action: ResetFontSize } - { key: Key0, mods: Control, action: ResetFontSize }
- { key: Equals, mods: Control, action: IncreaseFontSize } - { key: Equals, mods: Control, action: IncreaseFontSize }
- { key: Add, mods: Control, action: IncreaseFontSize } - { key: Plus, mods: Control, action: IncreaseFontSize }
- { key: Minus, mods: Control, action: DecreaseFontSize } - { key: Minus, mods: Control, action: DecreaseFontSize }
#debug: #debug: