Compare commits
24
Commits
f843902368
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
99422bc415 | ||
|
|
596b5873e6 | ||
|
|
90e2952211 | ||
|
|
ae773438a3 | ||
|
|
ca68c85c72 | ||
|
|
72c90d699e | ||
|
|
492cb7efb2 | ||
|
|
d8cb355284 | ||
|
|
de0d7c44fd | ||
|
|
6a8e824941 | ||
|
|
07b3bfefad | ||
|
|
083f8dd16c | ||
|
|
09437f0c08 | ||
|
|
a7dfb72557 | ||
|
|
f720f474c9 | ||
|
|
b3d370b6e2 | ||
|
|
34351be613 | ||
|
|
6698279acd | ||
|
|
410297fa21 | ||
|
|
1137b16fd8 | ||
|
|
6d670f49b4 | ||
|
|
06576f4088 | ||
|
|
85d37dff28 | ||
|
|
1a6e438fcf |
@@ -0,0 +1,7 @@
|
|||||||
|
{{- $modes := list "light" "dark" -}}
|
||||||
|
{{- $mode := promptChoice "Choose a theme mode" $modes "light" }}
|
||||||
|
data:
|
||||||
|
mode: {{ $mode | quote }}
|
||||||
|
config:
|
||||||
|
cd:
|
||||||
|
command: "/bin/fish"
|
||||||
@@ -0,0 +1,65 @@
|
|||||||
|
theme:
|
||||||
|
light:
|
||||||
|
system: "base24"
|
||||||
|
name: "ReThink"
|
||||||
|
slug: "re-think"
|
||||||
|
author: "fe5hua"
|
||||||
|
description: "A color theme inspired by retro IBM ThinkPads using mostly current IBM CI colors."
|
||||||
|
variant: "light"
|
||||||
|
palette:
|
||||||
|
base00: "f4f4f4"
|
||||||
|
base01: "e0e0e0"
|
||||||
|
base02: "c6c6c6"
|
||||||
|
base03: "8d8d8d"
|
||||||
|
base04: "525252"
|
||||||
|
base05: "262626"
|
||||||
|
base06: "161616"
|
||||||
|
base07: "000000"
|
||||||
|
base08: "da1e28"
|
||||||
|
base09: "ff832b"
|
||||||
|
base0A: "f1c21b"
|
||||||
|
base0B: "24a148"
|
||||||
|
base0C: "009d9a"
|
||||||
|
base0D: "0072c3"
|
||||||
|
base0E: "8a3ffc"
|
||||||
|
base0F: "a2191f"
|
||||||
|
base10: "ffffff"
|
||||||
|
base11: "ffffff"
|
||||||
|
base12: "fa4d56"
|
||||||
|
base13: "f9d34a"
|
||||||
|
base14: "6fdc8c"
|
||||||
|
base15: "3ddbd9"
|
||||||
|
base16: "33b1ff"
|
||||||
|
base17: "a56eff"
|
||||||
|
dark:
|
||||||
|
system: "base24"
|
||||||
|
name: "ReThink"
|
||||||
|
slug: "re-think"
|
||||||
|
author: "fe5hua"
|
||||||
|
description: "A color theme inspired by retro IBM ThinkPads using mostly current IBM CI colors."
|
||||||
|
variant: "dark"
|
||||||
|
palette:
|
||||||
|
base00: "161616"
|
||||||
|
base01: "262626"
|
||||||
|
base02: "393939"
|
||||||
|
base03: "6f6f6f"
|
||||||
|
base04: "a8a8a8"
|
||||||
|
base05: "e0e0e0"
|
||||||
|
base06: "f4f4f4"
|
||||||
|
base07: "ffffff"
|
||||||
|
base08: "da1e28"
|
||||||
|
base09: "ff832b"
|
||||||
|
base0A: "f1c21b"
|
||||||
|
base0B: "24a148"
|
||||||
|
base0C: "009d9a"
|
||||||
|
base0D: "0072c3"
|
||||||
|
base0E: "8a3ffc"
|
||||||
|
base0F: "a2191f"
|
||||||
|
base10: "000000"
|
||||||
|
base11: "000000"
|
||||||
|
base12: "fa4d56"
|
||||||
|
base13: "f9d34a"
|
||||||
|
base14: "6fdc8c"
|
||||||
|
base15: "3ddbd9"
|
||||||
|
base16: "33b1ff"
|
||||||
|
base17: "a56eff"
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
README.md
|
||||||
|
|
||||||
|
# ignore the cosmic templates for now
|
||||||
|
cosmic-theme-dark.ron
|
||||||
|
cosmic-theme-light.ron
|
||||||
@@ -0,0 +1,91 @@
|
|||||||
|
(
|
||||||
|
palette: Dark((
|
||||||
|
name: "{{ .theme.dark.slug }}",
|
||||||
|
bright_red: "#{{ .theme.dark.palette.base12 }}FF",
|
||||||
|
bright_green: "#{{ .theme.dark.palette.base14 }}FF",
|
||||||
|
bright_orange: "#{{ .theme.dark.palette.base09 }}FF",
|
||||||
|
gray_1: "#{{ .theme.dark.palette.base01 }}FF",
|
||||||
|
gray_2: "#{{ .theme.dark.palette.base02 }}FF",
|
||||||
|
neutral_0: "#{{ .theme.dark.palette.base10 }}FF",
|
||||||
|
neutral_1: "#{{ .theme.dark.palette.base11 }}FF",
|
||||||
|
neutral_2: "#{{ .theme.dark.palette.base00 }}FF",
|
||||||
|
neutral_3: "#{{ .theme.dark.palette.base01 }}FF",
|
||||||
|
neutral_4: "#{{ .theme.dark.palette.base02 }}FF",
|
||||||
|
neutral_5: "#{{ .theme.dark.palette.base03 }}FF",
|
||||||
|
neutral_6: "#{{ .theme.dark.palette.base04 }}FF",
|
||||||
|
neutral_7: "#{{ .theme.dark.palette.base05 }}FF",
|
||||||
|
neutral_8: "#{{ .theme.dark.palette.base06 }}FF",
|
||||||
|
neutral_9: "#{{ .theme.dark.palette.base07 }}FF",
|
||||||
|
neutral_10: "#{{ .theme.dark.palette.base07 }}FF",
|
||||||
|
accent_blue: "#{{ .theme.dark.palette.base0D }}FF",
|
||||||
|
accent_indigo: "#{{ .theme.dark.palette.base16 }}FF",
|
||||||
|
accent_purple: "#{{ .theme.dark.palette.base0E }}FF",
|
||||||
|
accent_pink: "#{{ .theme.dark.palette.base17 }}FF",
|
||||||
|
accent_red: "#{{ .theme.dark.palette.base08 }}FF",
|
||||||
|
accent_orange: "#{{ .theme.dark.palette.base09 }}FF",
|
||||||
|
accent_yellow: "#{{ .theme.dark.palette.base0A }}FF",
|
||||||
|
accent_green: "#{{ .theme.dark.palette.base0B }}FF",
|
||||||
|
accent_warm_grey: "#{{ .theme.dark.palette.base04 }}FF",
|
||||||
|
ext_warm_grey: "#{{ .theme.dark.palette.base05 }}FF",
|
||||||
|
ext_orange: "#{{ .theme.dark.palette.base09 }}FF",
|
||||||
|
ext_yellow: "#{{ .theme.dark.palette.base13 }}FF",
|
||||||
|
ext_blue: "#{{ .theme.dark.palette.base16 }}FF",
|
||||||
|
ext_purple: "#{{ .theme.dark.palette.base17 }}FF",
|
||||||
|
ext_pink: "#{{ .theme.dark.palette.base17 }}FF",
|
||||||
|
ext_indigo: "#{{ .theme.dark.palette.base16 }}FF",
|
||||||
|
)),
|
||||||
|
spacing: (
|
||||||
|
space_none: 0,
|
||||||
|
space_xxxs: 4,
|
||||||
|
space_xxs: 8,
|
||||||
|
space_xs: 12,
|
||||||
|
space_s: 16,
|
||||||
|
space_m: 24,
|
||||||
|
space_l: 32,
|
||||||
|
space_xl: 48,
|
||||||
|
space_xxl: 64,
|
||||||
|
space_xxxl: 128,
|
||||||
|
),
|
||||||
|
corner_radii: (
|
||||||
|
radius_0: (0.0, 0.0, 0.0, 0.0),
|
||||||
|
radius_xs: (2.0, 2.0, 2.0, 2.0),
|
||||||
|
radius_s: (2.0, 2.0, 2.0, 2.0),
|
||||||
|
radius_m: (2.0, 2.0, 2.0, 2.0),
|
||||||
|
radius_l: (2.0, 2.0, 2.0, 2.0),
|
||||||
|
radius_xl: (2.0, 2.0, 2.0, 2.0),
|
||||||
|
),
|
||||||
|
neutral_tint: Some("#{{ .theme.dark.palette.base03 }}FF"),
|
||||||
|
bg_color: Some("#{{ .theme.dark.palette.base00 }}FF"),
|
||||||
|
primary_container_bg: None,
|
||||||
|
secondary_container_bg: None,
|
||||||
|
text_tint: Some("#{{ .theme.dark.palette.base05 }}FF"),
|
||||||
|
accent: Some("#{{ .theme.dark.palette.base0B }}FF"),
|
||||||
|
success: Some("#{{ .theme.dark.palette.base0B }}FF"),
|
||||||
|
warning: Some("#{{ .theme.dark.palette.base0A }}FF"),
|
||||||
|
destructive: Some("#{{ .theme.dark.palette.base08 }}FF"),
|
||||||
|
frosted: Medium,
|
||||||
|
gaps: (0, 8),
|
||||||
|
active_hint: 3,
|
||||||
|
window_hint: None,
|
||||||
|
frosted_windows: false,
|
||||||
|
frosted_system_interface: false,
|
||||||
|
frosted_panel: false,
|
||||||
|
frosted_applets: false,
|
||||||
|
frosted_maximized_apps: false,
|
||||||
|
alpha_map: (
|
||||||
|
extremely_low: 0.9,
|
||||||
|
extremely_low_2: 0.87692,
|
||||||
|
very_low: 0.85385,
|
||||||
|
very_low_2: 0.83076,
|
||||||
|
low: 0.80769,
|
||||||
|
low_2: 0.78461,
|
||||||
|
medium: 0.76154,
|
||||||
|
medium_2: 0.73846,
|
||||||
|
high: 0.71538,
|
||||||
|
high_2: 0.69231,
|
||||||
|
very_high: 0.66023,
|
||||||
|
very_high_2: 0.64615,
|
||||||
|
extremely_high: 0.62308,
|
||||||
|
extremely_high_2: 0.6,
|
||||||
|
),
|
||||||
|
)
|
||||||
@@ -0,0 +1,91 @@
|
|||||||
|
(
|
||||||
|
palette: Light((
|
||||||
|
name: "{{ .theme.light.slug }}",
|
||||||
|
bright_red: "#{{ .theme.light.palette.base12 }}FF",
|
||||||
|
bright_green: "#{{ .theme.light.palette.base14 }}FF",
|
||||||
|
bright_orange: "#{{ .theme.light.palette.base09 }}FF",
|
||||||
|
gray_1: "#{{ .theme.light.palette.base01 }}FF",
|
||||||
|
gray_2: "#{{ .theme.light.palette.base02 }}FF",
|
||||||
|
neutral_0: "#{{ .theme.light.palette.base10 }}FF",
|
||||||
|
neutral_1: "#{{ .theme.light.palette.base11 }}FF",
|
||||||
|
neutral_2: "#{{ .theme.light.palette.base00 }}FF",
|
||||||
|
neutral_3: "#{{ .theme.light.palette.base01 }}FF",
|
||||||
|
neutral_4: "#{{ .theme.light.palette.base02 }}FF",
|
||||||
|
neutral_5: "#{{ .theme.light.palette.base03 }}FF",
|
||||||
|
neutral_6: "#{{ .theme.light.palette.base04 }}FF",
|
||||||
|
neutral_7: "#{{ .theme.light.palette.base05 }}FF",
|
||||||
|
neutral_8: "#{{ .theme.light.palette.base06 }}FF",
|
||||||
|
neutral_9: "#{{ .theme.light.palette.base07 }}FF",
|
||||||
|
neutral_10: "#{{ .theme.light.palette.base07 }}FF",
|
||||||
|
accent_blue: "#{{ .theme.light.palette.base0D }}FF",
|
||||||
|
accent_indigo: "#{{ .theme.light.palette.base16 }}FF",
|
||||||
|
accent_purple: "#{{ .theme.light.palette.base0E }}FF",
|
||||||
|
accent_pink: "#{{ .theme.light.palette.base17 }}FF",
|
||||||
|
accent_red: "#{{ .theme.light.palette.base08 }}FF",
|
||||||
|
accent_orange: "#{{ .theme.light.palette.base09 }}FF",
|
||||||
|
accent_yellow: "#{{ .theme.light.palette.base0A }}FF",
|
||||||
|
accent_green: "#{{ .theme.light.palette.base0B }}FF",
|
||||||
|
accent_warm_grey: "#{{ .theme.light.palette.base04 }}FF",
|
||||||
|
ext_warm_grey: "#{{ .theme.light.palette.base05 }}FF",
|
||||||
|
ext_orange: "#{{ .theme.light.palette.base09 }}FF",
|
||||||
|
ext_yellow: "#{{ .theme.light.palette.base13 }}FF",
|
||||||
|
ext_blue: "#{{ .theme.light.palette.base16 }}FF",
|
||||||
|
ext_purple: "#{{ .theme.light.palette.base17 }}FF",
|
||||||
|
ext_pink: "#{{ .theme.light.palette.base17 }}FF",
|
||||||
|
ext_indigo: "#{{ .theme.light.palette.base16 }}FF",
|
||||||
|
)),
|
||||||
|
spacing: (
|
||||||
|
space_none: 0,
|
||||||
|
space_xxxs: 4,
|
||||||
|
space_xxs: 8,
|
||||||
|
space_xs: 12,
|
||||||
|
space_s: 16,
|
||||||
|
space_m: 24,
|
||||||
|
space_l: 32,
|
||||||
|
space_xl: 48,
|
||||||
|
space_xxl: 64,
|
||||||
|
space_xxxl: 128,
|
||||||
|
),
|
||||||
|
corner_radii: (
|
||||||
|
radius_0: (0.0, 0.0, 0.0, 0.0),
|
||||||
|
radius_xs: (2.0, 2.0, 2.0, 2.0),
|
||||||
|
radius_s: (2.0, 2.0, 2.0, 2.0),
|
||||||
|
radius_m: (2.0, 2.0, 2.0, 2.0),
|
||||||
|
radius_l: (2.0, 2.0, 2.0, 2.0),
|
||||||
|
radius_xl: (2.0, 2.0, 2.0, 2.0),
|
||||||
|
),
|
||||||
|
neutral_tint: Some("#{{ .theme.light.palette.base03 }}FF"),
|
||||||
|
bg_color: Some("#{{ .theme.light.palette.base00 }}FF"),
|
||||||
|
primary_container_bg: None,
|
||||||
|
secondary_container_bg: None,
|
||||||
|
text_tint: Some("#{{ .theme.light.palette.base05 }}FF"),
|
||||||
|
accent: Some("#{{ .theme.light.palette.base0B }}FF"),
|
||||||
|
success: Some("#{{ .theme.light.palette.base0B }}FF"),
|
||||||
|
warning: Some("#{{ .theme.light.palette.base0A }}FF"),
|
||||||
|
destructive: Some("#{{ .theme.light.palette.base08 }}FF"),
|
||||||
|
frosted: Medium,
|
||||||
|
gaps: (0, 8),
|
||||||
|
active_hint: 3,
|
||||||
|
window_hint: None,
|
||||||
|
frosted_windows: false,
|
||||||
|
frosted_system_interface: false,
|
||||||
|
frosted_panel: false,
|
||||||
|
frosted_applets: false,
|
||||||
|
frosted_maximized_apps: false,
|
||||||
|
alpha_map: (
|
||||||
|
extremely_low: 0.9,
|
||||||
|
extremely_low_2: 0.87692,
|
||||||
|
very_low: 0.85385,
|
||||||
|
very_low_2: 0.83076,
|
||||||
|
low: 0.80769,
|
||||||
|
low_2: 0.78461,
|
||||||
|
medium: 0.76154,
|
||||||
|
medium_2: 0.73846,
|
||||||
|
high: 0.71538,
|
||||||
|
high_2: 0.69231,
|
||||||
|
very_high: 0.66023,
|
||||||
|
very_high_2: 0.64615,
|
||||||
|
extremely_high: 0.62308,
|
||||||
|
extremely_high_2: 0.6,
|
||||||
|
),
|
||||||
|
)
|
||||||
@@ -0,0 +1,43 @@
|
|||||||
|
[general]
|
||||||
|
import = [
|
||||||
|
"/home/user/.config/alacritty/themes/re-think-{{ .mode }}.toml"
|
||||||
|
]
|
||||||
|
|
||||||
|
[terminal.shell]
|
||||||
|
program = "/bin/fish"
|
||||||
|
args = ["--login"]
|
||||||
|
|
||||||
|
[window]
|
||||||
|
opacity = 1.00
|
||||||
|
decorations = "Full"
|
||||||
|
decorations_theme_variant = "{{ .mode | title }}"
|
||||||
|
|
||||||
|
[window.padding]
|
||||||
|
x = 8
|
||||||
|
y = 8
|
||||||
|
|
||||||
|
[font.normal]
|
||||||
|
family = "JetBrainsMono Nerd Font Mono"
|
||||||
|
|
||||||
|
[font.bold]
|
||||||
|
family = "JetBrainsMono Nerd Font Mono"
|
||||||
|
|
||||||
|
[font.italic]
|
||||||
|
family = "JetBrainsMono Nerd Font Mono"
|
||||||
|
|
||||||
|
[font.bold_italic]
|
||||||
|
family = "JetBrainsMono Nerd Font Mono"
|
||||||
|
|
||||||
|
[scrolling]
|
||||||
|
history = 10000
|
||||||
|
multiplier = 3
|
||||||
|
|
||||||
|
[keyboard]
|
||||||
|
bindings = [
|
||||||
|
{ key = "V", mods = "Control|Shift", action = "Paste" },
|
||||||
|
{ key = "C", mods = "Control|Shift", action = "Copy" },
|
||||||
|
{ key = "N", mods = "Control|Shift", action = "SpawnNewInstance" }
|
||||||
|
]
|
||||||
|
|
||||||
|
[env]
|
||||||
|
TERM = "xterm-256color"
|
||||||
@@ -0,0 +1,58 @@
|
|||||||
|
# {{ .theme.dark.system }} {{ .theme.dark.name }} 256 - alacritty color config
|
||||||
|
# {{ .theme.dark.author }}
|
||||||
|
|
||||||
|
# Default colors
|
||||||
|
[colors.primary]
|
||||||
|
background = '0x{{ .theme.dark.palette.base00 }}'
|
||||||
|
foreground = '0x{{ .theme.dark.palette.base05 }}'
|
||||||
|
|
||||||
|
# Colors the cursor will use if `custom_cursor_colors` is true
|
||||||
|
[colors.cursor]
|
||||||
|
text = '0x{{ .theme.dark.palette.base00 }}'
|
||||||
|
cursor = '0x{{ .theme.dark.palette.base05 }}'
|
||||||
|
|
||||||
|
# Normal colors
|
||||||
|
[colors.normal]
|
||||||
|
black = '0x{{ .theme.dark.palette.base00 }}'
|
||||||
|
red = '0x{{ .theme.dark.palette.base08 }}'
|
||||||
|
green = '0x{{ .theme.dark.palette.base0B }}'
|
||||||
|
yellow = '0x{{ .theme.dark.palette.base0A }}'
|
||||||
|
blue = '0x{{ .theme.dark.palette.base0D }}'
|
||||||
|
magenta = '0x{{ .theme.dark.palette.base0E }}'
|
||||||
|
cyan = '0x{{ .theme.dark.palette.base0C }}'
|
||||||
|
white = '0x{{ .theme.dark.palette.base05 }}'
|
||||||
|
|
||||||
|
# Bright colors
|
||||||
|
[colors.bright]
|
||||||
|
black = '0x{{ .theme.dark.palette.base03 }}'
|
||||||
|
red = '0x{{ .theme.dark.palette.base12 }}'
|
||||||
|
green = '0x{{ .theme.dark.palette.base14 }}'
|
||||||
|
yellow = '0x{{ .theme.dark.palette.base13 }}'
|
||||||
|
blue = '0x{{ .theme.dark.palette.base16 }}'
|
||||||
|
magenta = '0x{{ .theme.dark.palette.base17 }}'
|
||||||
|
cyan = '0x{{ .theme.dark.palette.base15 }}'
|
||||||
|
white = '0x{{ .theme.dark.palette.base07 }}'
|
||||||
|
|
||||||
|
[[colors.indexed_colors]]
|
||||||
|
index = 16
|
||||||
|
color = "0x{{ .theme.dark.palette.base09 }}"
|
||||||
|
|
||||||
|
[[colors.indexed_colors]]
|
||||||
|
index = 17
|
||||||
|
color = "0x{{ .theme.dark.palette.base0F }}"
|
||||||
|
|
||||||
|
[[colors.indexed_colors]]
|
||||||
|
index = 18
|
||||||
|
color = "0x{{ .theme.dark.palette.base01 }}"
|
||||||
|
|
||||||
|
[[colors.indexed_colors]]
|
||||||
|
index = 19
|
||||||
|
color = "0x{{ .theme.dark.palette.base02 }}"
|
||||||
|
|
||||||
|
[[colors.indexed_colors]]
|
||||||
|
index = 20
|
||||||
|
color = "0x{{ .theme.dark.palette.base04 }}"
|
||||||
|
|
||||||
|
[[colors.indexed_colors]]
|
||||||
|
index = 21
|
||||||
|
color = "0x{{ .theme.dark.palette.base06 }}"
|
||||||
@@ -0,0 +1,58 @@
|
|||||||
|
# {{ .theme.light.system }} {{ .theme.light.name }} 256 - alacritty color config
|
||||||
|
# {{ .theme.light.author }}
|
||||||
|
|
||||||
|
# Default colors
|
||||||
|
[colors.primary]
|
||||||
|
background = '0x{{ .theme.light.palette.base00 }}'
|
||||||
|
foreground = '0x{{ .theme.light.palette.base05 }}'
|
||||||
|
|
||||||
|
# Colors the cursor will use if `custom_cursor_colors` is true
|
||||||
|
[colors.cursor]
|
||||||
|
text = '0x{{ .theme.light.palette.base00 }}'
|
||||||
|
cursor = '0x{{ .theme.light.palette.base05 }}'
|
||||||
|
|
||||||
|
# Normal colors
|
||||||
|
[colors.normal]
|
||||||
|
black = '0x{{ .theme.light.palette.base00 }}'
|
||||||
|
red = '0x{{ .theme.light.palette.base08 }}'
|
||||||
|
green = '0x{{ .theme.light.palette.base0B }}'
|
||||||
|
yellow = '0x{{ .theme.light.palette.base0A }}'
|
||||||
|
blue = '0x{{ .theme.light.palette.base0D }}'
|
||||||
|
magenta = '0x{{ .theme.light.palette.base0E }}'
|
||||||
|
cyan = '0x{{ .theme.light.palette.base0C }}'
|
||||||
|
white = '0x{{ .theme.light.palette.base05 }}'
|
||||||
|
|
||||||
|
# Bright colors
|
||||||
|
[colors.bright]
|
||||||
|
black = '0x{{ .theme.light.palette.base03 }}'
|
||||||
|
red = '0x{{ .theme.light.palette.base12 }}'
|
||||||
|
green = '0x{{ .theme.light.palette.base14 }}'
|
||||||
|
yellow = '0x{{ .theme.light.palette.base13 }}'
|
||||||
|
blue = '0x{{ .theme.light.palette.base16 }}'
|
||||||
|
magenta = '0x{{ .theme.light.palette.base17 }}'
|
||||||
|
cyan = '0x{{ .theme.light.palette.base15 }}'
|
||||||
|
white = '0x{{ .theme.light.palette.base07 }}'
|
||||||
|
|
||||||
|
[[colors.indexed_colors]]
|
||||||
|
index = 16
|
||||||
|
color = "0x{{ .theme.light.palette.base09 }}"
|
||||||
|
|
||||||
|
[[colors.indexed_colors]]
|
||||||
|
index = 17
|
||||||
|
color = "0x{{ .theme.light.palette.base0F }}"
|
||||||
|
|
||||||
|
[[colors.indexed_colors]]
|
||||||
|
index = 18
|
||||||
|
color = "0x{{ .theme.light.palette.base01 }}"
|
||||||
|
|
||||||
|
[[colors.indexed_colors]]
|
||||||
|
index = 19
|
||||||
|
color = "0x{{ .theme.light.palette.base02 }}"
|
||||||
|
|
||||||
|
[[colors.indexed_colors]]
|
||||||
|
index = 20
|
||||||
|
color = "0x{{ .theme.light.palette.base04 }}"
|
||||||
|
|
||||||
|
[[colors.indexed_colors]]
|
||||||
|
index = 21
|
||||||
|
color = "0x{{ .theme.light.palette.base06 }}"
|
||||||
@@ -0,0 +1,196 @@
|
|||||||
|
#!/usr/bin/env fish
|
||||||
|
# tinted-shell (https://github.com/tinted-theming/tinted-shell)
|
||||||
|
# Scheme name: {{ if eq .mode "dark" }}{{ .theme.dark.name }}{{ else }}{{ .theme.light.name }}{{ end }}
|
||||||
|
# Scheme author: {{ if eq .mode "dark" }}{{ .theme.dark.author }}{{ else }}{{ .theme.light.author }}{{ end }}
|
||||||
|
# Template author: Tinted Theming (https://github.com/tinted-theming)
|
||||||
|
|
||||||
|
{{- $theme := .theme.light -}}
|
||||||
|
{{- if eq .mode "dark" }}{{ $theme = .theme.dark }}{{ end -}}
|
||||||
|
{{- define "rgb" -}}{{ . | replaceAllRegex "([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})" "$1/$2/$3" }}{{- end }}
|
||||||
|
set -l color00 "{{ template "rgb" $theme.palette.base00 }}" # Base 00 - Black
|
||||||
|
set -l color01 "{{ template "rgb" $theme.palette.base08 }}" # Base 08 - Red
|
||||||
|
set -l color02 "{{ template "rgb" $theme.palette.base0B }}" # Base 0B - Green
|
||||||
|
set -l color03 "{{ template "rgb" $theme.palette.base0A }}" # Base 0A - Yellow
|
||||||
|
set -l color04 "{{ template "rgb" $theme.palette.base0D }}" # Base 0D - Blue
|
||||||
|
set -l color05 "{{ template "rgb" $theme.palette.base0E }}" # Base 0E - Magenta
|
||||||
|
set -l color06 "{{ template "rgb" $theme.palette.base0C }}" # Base 0C - Cyan
|
||||||
|
set -l color07 "{{ template "rgb" $theme.palette.base05 }}" # Base 05 - White
|
||||||
|
set -l color08 "{{ template "rgb" $theme.palette.base03 }}" # Base 03 - Bright Black
|
||||||
|
set -l color09 "{{ template "rgb" $theme.palette.base12 }}" # Base 12 - Bright Red
|
||||||
|
set -l color10 "{{ template "rgb" $theme.palette.base14 }}" # Base 14 - Bright Green
|
||||||
|
set -l color11 "{{ template "rgb" $theme.palette.base13 }}" # Base 13 - Bright Yellow
|
||||||
|
set -l color12 "{{ template "rgb" $theme.palette.base16 }}" # Base 16 - Bright Blue
|
||||||
|
set -l color13 "{{ template "rgb" $theme.palette.base17 }}" # Base 17 - Bright Magenta
|
||||||
|
set -l color14 "{{ template "rgb" $theme.palette.base15 }}" # Base 15 - Bright Cyan
|
||||||
|
set -l color15 "{{ template "rgb" $theme.palette.base07 }}" # Base 07 - Bright White
|
||||||
|
set -l color16 "{{ template "rgb" $theme.palette.base09 }}" # Base 09
|
||||||
|
set -l color17 "{{ template "rgb" $theme.palette.base0F }}" # Base 0F
|
||||||
|
set -l color18 "{{ template "rgb" $theme.palette.base01 }}" # Base 01
|
||||||
|
set -l color19 "{{ template "rgb" $theme.palette.base02 }}" # Base 02
|
||||||
|
set -l color20 "{{ template "rgb" $theme.palette.base04 }}" # Base 04
|
||||||
|
set -l color21 "{{ template "rgb" $theme.palette.base06 }}" # Base 06
|
||||||
|
set -l color_foreground "{{ template "rgb" $theme.palette.base05 }}" # Base 05
|
||||||
|
set -l color_background "{{ template "rgb" $theme.palette.base00 }}" # Base 00
|
||||||
|
|
||||||
|
if test -z "$TTY"
|
||||||
|
set -gx TTY (tty)
|
||||||
|
end
|
||||||
|
if test -z "$TTY"; or not test -w "$TTY"
|
||||||
|
function put_template; true; end
|
||||||
|
function put_template_var; true; end
|
||||||
|
function put_template_custom; true; end
|
||||||
|
else if set -q TMUX; or string match -q 'tmux*' $TERM
|
||||||
|
# Tell tmux to pass the escape sequences through
|
||||||
|
# (Source: http://permalink.gmane.org/gmane.comp.terminal-emulators.tmux.user/1324)
|
||||||
|
function put_template; printf '\033Ptmux;\033\033]4;%d;rgb:%s\033\033\\\033\\' $argv > "$TTY"; end
|
||||||
|
function put_template_var; printf '\033Ptmux;\033\033]%d;rgb:%s\033\033\\\033\\' $argv > "$TTY"; end
|
||||||
|
function put_template_custom; printf '\033Ptmux;\033\033]%s%s\033\033\\\033\\' $argv > "$TTY"; end
|
||||||
|
else if string match -q 'screen*' $TERM
|
||||||
|
# GNU screen (screen, screen-256color, screen-256color-bce)
|
||||||
|
function put_template; printf '\033P\033]4;%d;rgb:%s\007\033\\' $argv > "$TTY"; end
|
||||||
|
function put_template_var; printf '\033P\033]%d;rgb:%s\007\033\\' $argv > "$TTY"; end
|
||||||
|
function put_template_custom; printf '\033P\033]%s%s\007\033\\' $argv > "$TTY"; end
|
||||||
|
else if string match -q 'linux*' $TERM
|
||||||
|
function put_template; test $argv[1] -lt 16 && printf "\e]P%x%s" $argv[1] (echo $argv[2] | sed 's/\///g') > "$TTY"; end
|
||||||
|
function put_template_var; true; end
|
||||||
|
function put_template_custom; true; end
|
||||||
|
else
|
||||||
|
function put_template; printf '\033]4;%d;rgb:%s\033\\' $argv > "$TTY"; end
|
||||||
|
function put_template_var; printf '\033]%d;rgb:%s\033\\' $argv > "$TTY"; end
|
||||||
|
function put_template_custom; printf '\033]%s%s\033\\' $argv > "$TTY"; end
|
||||||
|
end
|
||||||
|
|
||||||
|
# 16 color space
|
||||||
|
put_template 0 $color00
|
||||||
|
put_template 1 $color01
|
||||||
|
put_template 2 $color02
|
||||||
|
put_template 3 $color03
|
||||||
|
put_template 4 $color04
|
||||||
|
put_template 5 $color05
|
||||||
|
put_template 6 $color06
|
||||||
|
put_template 7 $color07
|
||||||
|
put_template 8 $color08
|
||||||
|
put_template 9 $color09
|
||||||
|
put_template 10 $color10
|
||||||
|
put_template 11 $color11
|
||||||
|
put_template 12 $color12
|
||||||
|
put_template 13 $color13
|
||||||
|
put_template 14 $color14
|
||||||
|
put_template 15 $color15
|
||||||
|
|
||||||
|
# 256 color space
|
||||||
|
put_template 16 $color16
|
||||||
|
put_template 17 $color17
|
||||||
|
put_template 18 $color18
|
||||||
|
put_template 19 $color19
|
||||||
|
put_template 20 $color20
|
||||||
|
put_template 21 $color21
|
||||||
|
|
||||||
|
# foreground / background / cursor color
|
||||||
|
if test -n "$ITERM_SESSION_ID"
|
||||||
|
put_template_custom Pg {{ $theme.palette.base05 }} # foreground
|
||||||
|
put_template_custom Ph {{ $theme.palette.base00 }} # background
|
||||||
|
put_template_custom Pi {{ $theme.palette.base05 }} # bold color
|
||||||
|
put_template_custom Pj {{ $theme.palette.base02 }} # selection color
|
||||||
|
put_template_custom Pk {{ $theme.palette.base05 }} # selected text color
|
||||||
|
put_template_custom Pl {{ $theme.palette.base05 }} # cursor
|
||||||
|
put_template_custom Pm {{ $theme.palette.base00 }} # cursor text
|
||||||
|
else
|
||||||
|
put_template_var 10 $color_foreground
|
||||||
|
if test "$BASE24_SHELL_SET_BACKGROUND" != false
|
||||||
|
put_template_var 11 $color_background
|
||||||
|
if string match -q 'rxvt*' $TERM
|
||||||
|
put_template_var 708 $color_background # internal border (rxvt)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
put_template_custom 12 ";7" # cursor (reverse video)
|
||||||
|
end
|
||||||
|
|
||||||
|
set -U fish_color_normal normal
|
||||||
|
set -U fish_color_command blue
|
||||||
|
set -U fish_color_keyword magenta
|
||||||
|
set -U fish_color_quote green
|
||||||
|
set -U fish_color_redirection brblue
|
||||||
|
set -U fish_color_end normal
|
||||||
|
set -U fish_color_error brred
|
||||||
|
set -U fish_color_param brcyan
|
||||||
|
set -U fish_color_valid_path --underline
|
||||||
|
set -U fish_color_option brcyan --italics
|
||||||
|
set -U fish_color_comment {{ $theme.palette.base03 }}
|
||||||
|
set -U fish_color_selection {{ $theme.palette.base06 }} --background={{ $theme.palette.base02 }}
|
||||||
|
set -U fish_color_operator magenta
|
||||||
|
set -U fish_color_escape {{ $theme.palette.base09 }}
|
||||||
|
set -U fish_color_autosuggestion {{ $theme.palette.base03 }}
|
||||||
|
set -U fish_color_cwd green
|
||||||
|
set -U fish_color_cwd_root red
|
||||||
|
set -U fish_color_user brgreen
|
||||||
|
set -U fish_color_host normal
|
||||||
|
set -U fish_color_host_remote normal
|
||||||
|
set -U fish_color_status red
|
||||||
|
set -U fish_color_cancel -r
|
||||||
|
set -U fish_color_search_match yellow --background={{ $theme.palette.base02 }}
|
||||||
|
set -U fish_color_history_current --underline=curly
|
||||||
|
set -U fish_pager_color_progress {{ $theme.palette.base01 }} --background={{ $theme.palette.base04 }}
|
||||||
|
set -U fish_pager_color_background --background={{ $theme.palette.base00 }}
|
||||||
|
set -U fish_pager_color_prefix --bold --italics
|
||||||
|
set -U fish_pager_color_completion normal
|
||||||
|
set -U fish_pager_color_description {{ $theme.palette.base09 }}
|
||||||
|
set -U fish_pager_color_selected_background --background={{ $theme.palette.base02 }}
|
||||||
|
set -U fish_pager_color_selected_prefix --bold --italics --background={{ $theme.palette.base02 }}
|
||||||
|
set -U fish_pager_color_selected_completion normal
|
||||||
|
set -U fish_pager_color_description {{ $theme.palette.base09 }}
|
||||||
|
|
||||||
|
# clean up
|
||||||
|
set -e color00
|
||||||
|
set -e color01
|
||||||
|
set -e color02
|
||||||
|
set -e color03
|
||||||
|
set -e color04
|
||||||
|
set -e color05
|
||||||
|
set -e color06
|
||||||
|
set -e color07
|
||||||
|
set -e color08
|
||||||
|
set -e color09
|
||||||
|
set -e color10
|
||||||
|
set -e color11
|
||||||
|
set -e color12
|
||||||
|
set -e color13
|
||||||
|
set -e color14
|
||||||
|
set -e color15
|
||||||
|
set -e color16
|
||||||
|
set -e color17
|
||||||
|
set -e color18
|
||||||
|
set -e color19
|
||||||
|
set -e color20
|
||||||
|
set -e color21
|
||||||
|
set -e color_foreground
|
||||||
|
set -e color_background
|
||||||
|
functions -e put_template put_template_var put_template_custom
|
||||||
|
set -l legacy_env (string match -r '^(BASE16|BASE24|TINTED8)_(THEME|COLOR_).*' (set -xn))
|
||||||
|
test -n "$legacy_env"; and set -e $legacy_env
|
||||||
|
set -l legacy_env (string match -r '^(BASE16|BASE24|TINTED8)_THEME' (set -Uxn))
|
||||||
|
test -n "$legacy_env"; and set -Ue $legacy_env
|
||||||
|
set -e legacy_env
|
||||||
|
|
||||||
|
# Set theme
|
||||||
|
set -Ux BASE24_THEME {{ $theme.slug }}
|
||||||
|
|
||||||
|
# Optionally export variables
|
||||||
|
if test -n "$TINTED_SHELL_ENABLE_BASE24_VARS"; or test -n "$BASE24_SHELL_ENABLE_VARS"
|
||||||
|
set -gx BASE24_COLOR_00_HEX "{{ $theme.palette.base00 }}"
|
||||||
|
set -gx BASE24_COLOR_01_HEX "{{ $theme.palette.base01 }}"
|
||||||
|
set -gx BASE24_COLOR_02_HEX "{{ $theme.palette.base02 }}"
|
||||||
|
set -gx BASE24_COLOR_03_HEX "{{ $theme.palette.base03 }}"
|
||||||
|
set -gx BASE24_COLOR_04_HEX "{{ $theme.palette.base04 }}"
|
||||||
|
set -gx BASE24_COLOR_05_HEX "{{ $theme.palette.base05 }}"
|
||||||
|
set -gx BASE24_COLOR_06_HEX "{{ $theme.palette.base06 }}"
|
||||||
|
set -gx BASE24_COLOR_07_HEX "{{ $theme.palette.base07 }}"
|
||||||
|
set -gx BASE24_COLOR_08_HEX "{{ $theme.palette.base08 }}"
|
||||||
|
set -gx BASE24_COLOR_09_HEX "{{ $theme.palette.base09 }}"
|
||||||
|
set -gx BASE24_COLOR_0A_HEX "{{ $theme.palette.base0A }}"
|
||||||
|
set -gx BASE24_COLOR_0B_HEX "{{ $theme.palette.base0B }}"
|
||||||
|
set -gx BASE24_COLOR_0C_HEX "{{ $theme.palette.base0C }}"
|
||||||
|
set -gx BASE24_COLOR_0D_HEX "{{ $theme.palette.base0D }}"
|
||||||
|
set -gx BASE24_COLOR_0E_HEX "{{ $theme.palette.base0E }}"
|
||||||
|
set -gx BASE24_COLOR_0F_HEX "{{ $theme.palette.base0F }}"
|
||||||
|
end
|
||||||
@@ -0,0 +1,33 @@
|
|||||||
|
if status is-interactive
|
||||||
|
# Commands to run in interactive sessions can go here
|
||||||
|
function fish_greeting
|
||||||
|
echo Es ist (set_color yellow)(date +%T)(set_color --reset)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
# PATH
|
||||||
|
fish_add_path -g ~/.local/bin
|
||||||
|
|
||||||
|
# system defaults
|
||||||
|
set -x EDITOR vim
|
||||||
|
|
||||||
|
# ssh-agent
|
||||||
|
set -gx SSH_AUTH_SOCK /home/user/.var/app/com.bitwarden.desktop/data/.bitwarden-ssh-agent.sock
|
||||||
|
|
||||||
|
|
||||||
|
# alias
|
||||||
|
alias vi='vim'
|
||||||
|
alias zed='flatpak run dev.zed.Zed'
|
||||||
|
alias bw='flatpak run --command=bw com.bitwarden.desktop'
|
||||||
|
alias config="zed ~/.local/share/chezmoi/"
|
||||||
|
|
||||||
|
# zoxide init
|
||||||
|
zoxide init fish | source
|
||||||
|
|
||||||
|
# starship init
|
||||||
|
starship init fish | source
|
||||||
|
|
||||||
|
# proper home dir for atomic desktop
|
||||||
|
if test "$PWD" = "/var/home/$USER"
|
||||||
|
cd "$HOME"
|
||||||
|
end
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
function dev-remove
|
||||||
|
distrobox rm --force dev
|
||||||
|
end
|
||||||
@@ -0,0 +1,68 @@
|
|||||||
|
function dev
|
||||||
|
set -l name dev
|
||||||
|
set -l image fedora:44
|
||||||
|
|
||||||
|
set -l packages \
|
||||||
|
git \
|
||||||
|
gcc \
|
||||||
|
gcc-c++ \
|
||||||
|
make \
|
||||||
|
pkg-config \
|
||||||
|
openssl-devel \
|
||||||
|
clang \
|
||||||
|
llvm \
|
||||||
|
cmake \
|
||||||
|
lld \
|
||||||
|
gdb \
|
||||||
|
strace \
|
||||||
|
curl \
|
||||||
|
which \
|
||||||
|
file \
|
||||||
|
jq \
|
||||||
|
zoxide \
|
||||||
|
fzf \
|
||||||
|
eza \
|
||||||
|
ripgrep \
|
||||||
|
du-dust \
|
||||||
|
tldr \
|
||||||
|
cheat \
|
||||||
|
pv \
|
||||||
|
age \
|
||||||
|
libcxx-devel \
|
||||||
|
ninja-build \
|
||||||
|
unzip \
|
||||||
|
libX11-devel \
|
||||||
|
libXcursor-devel \
|
||||||
|
libXi-devel \
|
||||||
|
libXrandr-devel \
|
||||||
|
mesa-libGL-devel \
|
||||||
|
fontconfig-devel \
|
||||||
|
alsa-lib-devel \
|
||||||
|
systemd-devel \
|
||||||
|
libxkbcommon \
|
||||||
|
libxkbcommon-devel \
|
||||||
|
libappindicator-gtk3-devel \
|
||||||
|
librsvg2-devel \
|
||||||
|
libxdo-devel \
|
||||||
|
nodejs24
|
||||||
|
|
||||||
|
if distrobox list --no-color | string match -q "*| $name *"
|
||||||
|
distrobox enter $name
|
||||||
|
return
|
||||||
|
end
|
||||||
|
|
||||||
|
echo "Creating Distrobox container '$name'..."
|
||||||
|
|
||||||
|
distrobox create \
|
||||||
|
--name $name \
|
||||||
|
--image $image --yes \
|
||||||
|
--additional-packages (string join ' ' $packages) \
|
||||||
|
--init-hooks 'bash "$HOME/.scripts/distrobox-dev-init.sh"'
|
||||||
|
|
||||||
|
if test $status -ne 0
|
||||||
|
echo "Failed to create container '$name'." >&2
|
||||||
|
return 1
|
||||||
|
end
|
||||||
|
|
||||||
|
distrobox enter $name --verbose
|
||||||
|
end
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
[user]
|
||||||
|
name = fe5hua
|
||||||
|
email = git@fe5hua.de
|
||||||
|
[init]
|
||||||
|
defaultBranch = main
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,205 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
|
echo "Initializing development environment..."
|
||||||
|
|
||||||
|
export DEV_HOME="$HOME"
|
||||||
|
export DEV_USER="$(basename "$DEV_HOME")"
|
||||||
|
|
||||||
|
# -----------------------------------------------------------------------------
|
||||||
|
# Software directories
|
||||||
|
# -----------------------------------------------------------------------------
|
||||||
|
|
||||||
|
mkdir -p /opt/rustup /opt/cargo /opt/aseprite /opt/dx /opt/npm-global
|
||||||
|
chown -R "$DEV_USER:$DEV_USER" /opt/rustup /opt/cargo /opt/aseprite /opt/dx /opt/npm-global
|
||||||
|
# TODO basically all commamd from here on need to run as $DEV_USER, but scrpt runs as root
|
||||||
|
|
||||||
|
# -----------------------------------------------------------------------------
|
||||||
|
# Fish configuration
|
||||||
|
# -----------------------------------------------------------------------------
|
||||||
|
|
||||||
|
mkdir -p /etc/fish/conf.d
|
||||||
|
mkdir -p /etc/fish/completions
|
||||||
|
|
||||||
|
tee /etc/fish/conf.d/rust.fish >/dev/null <<'EOF'
|
||||||
|
set -gx RUSTUP_HOME /opt/rustup
|
||||||
|
set -gx CARGO_HOME /opt/cargo
|
||||||
|
fish_add_path $CARGO_HOME/bin
|
||||||
|
EOF
|
||||||
|
|
||||||
|
# -----------------------------------------------------------------------------
|
||||||
|
# Rustup
|
||||||
|
# -----------------------------------------------------------------------------
|
||||||
|
|
||||||
|
export RUSTUP_HOME=/opt/rustup
|
||||||
|
export CARGO_HOME=/opt/cargo
|
||||||
|
|
||||||
|
if [[ ! -x /opt/cargo/bin/rustup ]]; then
|
||||||
|
echo "Installing rustup..."
|
||||||
|
|
||||||
|
curl \
|
||||||
|
--proto '=https' \
|
||||||
|
--tlsv1.2 \
|
||||||
|
-sSf \
|
||||||
|
https://sh.rustup.rs \
|
||||||
|
| sh -s -- -y --no-modify-path
|
||||||
|
else
|
||||||
|
echo "rustup is already installed."
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Rust toolchain
|
||||||
|
echo "Installing stable Rust toolchain..."
|
||||||
|
|
||||||
|
/opt/cargo/bin/rustup default nightly
|
||||||
|
|
||||||
|
# Fish completions
|
||||||
|
echo "Installing rustup Fish completion..."
|
||||||
|
|
||||||
|
/opt/cargo/bin/rustup completions fish \
|
||||||
|
| tee /etc/fish/completions/rustup.fish >/dev/null
|
||||||
|
|
||||||
|
|
||||||
|
# Dioxus CLI
|
||||||
|
export DX_INSTALL=/opt/dx
|
||||||
|
|
||||||
|
if [[ ! -x /opt/cargo/bin/dx ]]; then
|
||||||
|
echo "Installing dioxus cli..."
|
||||||
|
|
||||||
|
# TODO needs to run as user, not root
|
||||||
|
curl -sSL https://dioxus.dev/install.sh | bash
|
||||||
|
else
|
||||||
|
echo "dioxus cli is already installed."
|
||||||
|
fi
|
||||||
|
|
||||||
|
# -----------------------------------------------------------------------------
|
||||||
|
# NodeJS and NPM
|
||||||
|
# -----------------------------------------------------------------------------
|
||||||
|
npm config set prefix '/opt/npm-global'
|
||||||
|
|
||||||
|
# -----------------------------------------------------------------------------
|
||||||
|
# Aseprite
|
||||||
|
# -----------------------------------------------------------------------------
|
||||||
|
if [[ -f /opt/aseprite/aseprite.desktop ]]; then
|
||||||
|
echo "Aseprite desktop entry already exists; skipping installation."
|
||||||
|
else
|
||||||
|
if [[ ! -d /opt/aseprite ]]; then
|
||||||
|
echo "Cloning Aseprite..."
|
||||||
|
git clone --recursive https://github.com/aseprite/aseprite.git /opt/aseprite
|
||||||
|
else
|
||||||
|
echo "Aseprite source already exists."
|
||||||
|
fi
|
||||||
|
|
||||||
|
cd /opt/aseprite
|
||||||
|
if [[ ! -x /opt/aseprite/build/bin/aseprite ]]; then
|
||||||
|
git submodule update --init --recursive
|
||||||
|
echo "Building Aseprite..."
|
||||||
|
./build.sh --auto --norun
|
||||||
|
else
|
||||||
|
echo "Aseprite is already built."
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo "Creating Aseprite desktop entry..."
|
||||||
|
cat > /opt/aseprite/aseprite.desktop <<'EOF'
|
||||||
|
[Desktop Entry]
|
||||||
|
Name=Aseprite
|
||||||
|
Comment=Animated sprite editor
|
||||||
|
Exec=/opt/aseprite/build/bin/aseprite %F
|
||||||
|
Icon=/opt/aseprite/build/bin/data/icons/ase.ico
|
||||||
|
Terminal=false
|
||||||
|
Type=Application
|
||||||
|
Categories=Graphics;2DGraphics;
|
||||||
|
EOF
|
||||||
|
fi
|
||||||
|
|
||||||
|
if sudo -u "$DEV_USER" env HOME="$DEV_HOME" distrobox-export --list-apps 2>/dev/null |
|
||||||
|
grep -Fq "aseprite"
|
||||||
|
then
|
||||||
|
echo "Aseprite desktop entry is already exported."
|
||||||
|
else
|
||||||
|
echo "Exporting Aseprite desktop entry..."
|
||||||
|
sudo -u "$DEV_USER" env HOME="$DEV_HOME" distrobox-export --app /opt/aseprite/aseprite.desktop
|
||||||
|
fi
|
||||||
|
|
||||||
|
# -----------------------------------------------------------------------------
|
||||||
|
# Export development tools to the host
|
||||||
|
# -----------------------------------------------------------------------------
|
||||||
|
export PATH="/opt/cargo/bin:$PATH"
|
||||||
|
echo "Exporting development tools..."
|
||||||
|
|
||||||
|
export_bin() {
|
||||||
|
local binary="$1"
|
||||||
|
|
||||||
|
if ! command -v "$binary" >/dev/null 2>&1; then
|
||||||
|
echo " warning: $binary not found"
|
||||||
|
elif sudo -u "$DEV_USER" env HOME="$DEV_HOME" \
|
||||||
|
distrobox-export \
|
||||||
|
--list-binaries \
|
||||||
|
--export-path "$DEV_HOME/.local/bin" 2>/dev/null |
|
||||||
|
awk -F'|' -v binary="$binary" '
|
||||||
|
{
|
||||||
|
name = $1
|
||||||
|
gsub(/^[[:space:]]+|[[:space:]]+$/, "", name)
|
||||||
|
if (name == binary) {
|
||||||
|
found = 1
|
||||||
|
}
|
||||||
|
}
|
||||||
|
END { exit !found }
|
||||||
|
'
|
||||||
|
then
|
||||||
|
echo " $binary is already exported."
|
||||||
|
else
|
||||||
|
echo " exporting $binary"
|
||||||
|
sudo -u "$DEV_USER" \
|
||||||
|
env HOME="$DEV_HOME" \
|
||||||
|
distrobox-export \
|
||||||
|
--bin "$(command -v "$binary")" \
|
||||||
|
--export-path "$DEV_HOME/.local/bin"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
# Rust
|
||||||
|
for binary in \
|
||||||
|
cargo \
|
||||||
|
cargo-clippy \
|
||||||
|
cargo-fmt \
|
||||||
|
cargo-miri \
|
||||||
|
clippy-driver \
|
||||||
|
rls \
|
||||||
|
rust-analyzer \
|
||||||
|
rustc \
|
||||||
|
rustdoc \
|
||||||
|
rustfmt \
|
||||||
|
rust-gdb \
|
||||||
|
rust-gdbgui \
|
||||||
|
rust-lldb \
|
||||||
|
rustup \
|
||||||
|
dx \
|
||||||
|
npm \
|
||||||
|
node
|
||||||
|
do
|
||||||
|
export_bin "$binary"
|
||||||
|
done
|
||||||
|
|
||||||
|
# Native toolchain
|
||||||
|
export_bin clang
|
||||||
|
export_bin clang++
|
||||||
|
export_bin cmake
|
||||||
|
export_bin pkg-config
|
||||||
|
export_bin ninja
|
||||||
|
export_bin lld
|
||||||
|
export_bin ld.lld
|
||||||
|
export_bin gdb
|
||||||
|
export_bin strace
|
||||||
|
|
||||||
|
# -----------------------------------------------------------------------------
|
||||||
|
# Done
|
||||||
|
# -----------------------------------------------------------------------------
|
||||||
|
|
||||||
|
echo
|
||||||
|
echo "Development environment initialized successfully."
|
||||||
|
echo
|
||||||
|
echo "Rust:"
|
||||||
|
/opt/cargo/bin/rustc --version
|
||||||
|
/opt/cargo/bin/cargo --version
|
||||||
|
/opt/cargo/bin/rustup --version
|
||||||
@@ -0,0 +1,69 @@
|
|||||||
|
// Zed settings
|
||||||
|
//
|
||||||
|
// For information on how to configure Zed, see the Zed
|
||||||
|
// documentation: https://zed.dev/docs/configuring-zed
|
||||||
|
//
|
||||||
|
// To see all of Zed's default settings without changing your
|
||||||
|
// custom settings, run `zed: open default settings` from the
|
||||||
|
// command palette (cmd-shift-p / ctrl-shift-p)
|
||||||
|
{
|
||||||
|
"agent_servers": {
|
||||||
|
"github-copilot-cli": {
|
||||||
|
"default_config_options": {
|
||||||
|
"allow_all": "on"
|
||||||
|
},
|
||||||
|
"type": "registry"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"edit_predictions": {
|
||||||
|
"provider": "copilot"
|
||||||
|
},
|
||||||
|
"disable_ai": false,
|
||||||
|
"proxy": "",
|
||||||
|
"agent": {
|
||||||
|
"dock": "right",
|
||||||
|
"favorite_models": [],
|
||||||
|
"model_parameters": []
|
||||||
|
},
|
||||||
|
"collaboration_panel": {
|
||||||
|
"button": false
|
||||||
|
},
|
||||||
|
"git_panel": {
|
||||||
|
"dock": "left",
|
||||||
|
"button": true
|
||||||
|
},
|
||||||
|
"outline_panel": {
|
||||||
|
"button": false
|
||||||
|
},
|
||||||
|
"terminal": {
|
||||||
|
"starts_open": true
|
||||||
|
},
|
||||||
|
"project_panel": {
|
||||||
|
"hide_root": false,
|
||||||
|
"git_status_indicator": false,
|
||||||
|
"bold_folder_labels": true,
|
||||||
|
"dock": "left"
|
||||||
|
},
|
||||||
|
"title_bar": {
|
||||||
|
"show_branch_status_icon": false
|
||||||
|
},
|
||||||
|
"window_decorations": "client",
|
||||||
|
"ui_font_family": "Inter",
|
||||||
|
"buffer_font_family": "JetBrainsMono Nerd Font Mono",
|
||||||
|
"icon_theme": "Zed (Default)",
|
||||||
|
"telemetry": {
|
||||||
|
"diagnostics": false,
|
||||||
|
"metrics": false,
|
||||||
|
"anthropic_retention": false
|
||||||
|
},
|
||||||
|
"session": {
|
||||||
|
"trust_all_worktrees": true
|
||||||
|
},
|
||||||
|
"ui_font_size": 16,
|
||||||
|
"buffer_font_size": 15,
|
||||||
|
"theme": {
|
||||||
|
"mode": "{{ .mode }}",
|
||||||
|
"light": "ReThink Light",
|
||||||
|
"dark": "ReThink Dark"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,379 @@
|
|||||||
|
{
|
||||||
|
"$schema": "https://zed.dev/schema/themes/v0.2.0.json",
|
||||||
|
"name": "{{ .theme.dark.name }} Dark",
|
||||||
|
"author": "Tinted Theming (https://github.com/tinted-theming) and {{ .theme.dark.author }}",
|
||||||
|
"themes": [
|
||||||
|
{
|
||||||
|
"name": "{{ .theme.dark.name }} Dark",
|
||||||
|
"appearance": "{{ .theme.dark.variant }}",
|
||||||
|
"style": {
|
||||||
|
"border": "#{{ .theme.dark.palette.base02 }}ff",
|
||||||
|
"border.variant": "#{{ .theme.dark.palette.base01 }}ff",
|
||||||
|
"border.focused": "#{{ .theme.dark.palette.base0D }}ff",
|
||||||
|
"border.selected": "#{{ .theme.dark.palette.base02 }}ff",
|
||||||
|
"border.transparent": "#00000000",
|
||||||
|
"border.disabled": "#{{ .theme.dark.palette.base03 }}ff",
|
||||||
|
"elevated_surface.background": "#{{ .theme.dark.palette.base01 }}ff",
|
||||||
|
"surface.background": "#{{ .theme.dark.palette.base01 }}ff",
|
||||||
|
"background": "#{{ .theme.dark.palette.base00 }}ff",
|
||||||
|
"element.background": "#{{ .theme.dark.palette.base01 }}ff",
|
||||||
|
"element.hover": "#{{ .theme.dark.palette.base02 }}ff",
|
||||||
|
"element.active": "#{{ .theme.dark.palette.base02 }}ff",
|
||||||
|
"element.selected": "#{{ .theme.dark.palette.base02 }}ff",
|
||||||
|
"element.disabled": "#{{ .theme.dark.palette.base01 }}ff",
|
||||||
|
"drop_target.background": "#{{ .theme.dark.palette.base03 }}80",
|
||||||
|
"ghost_element.background": "#00000000",
|
||||||
|
"ghost_element.hover": "#{{ .theme.dark.palette.base02 }}ff",
|
||||||
|
"ghost_element.active": "#{{ .theme.dark.palette.base02 }}ff",
|
||||||
|
"ghost_element.selected": "#{{ .theme.dark.palette.base02 }}ff",
|
||||||
|
"ghost_element.disabled": "#{{ .theme.dark.palette.base01 }}ff",
|
||||||
|
"text": "#{{ .theme.dark.palette.base05 }}ff",
|
||||||
|
"text.muted": "#{{ .theme.dark.palette.base04 }}ff",
|
||||||
|
"text.placeholder": "#{{ .theme.dark.palette.base03 }}ff",
|
||||||
|
"text.disabled": "#{{ .theme.dark.palette.base03 }}ff",
|
||||||
|
"text.accent": "#{{ .theme.dark.palette.base0D }}ff",
|
||||||
|
"icon": "#{{ .theme.dark.palette.base05 }}ff",
|
||||||
|
"icon.muted": "#{{ .theme.dark.palette.base04 }}ff",
|
||||||
|
"icon.disabled": "#{{ .theme.dark.palette.base03 }}ff",
|
||||||
|
"icon.placeholder": "#{{ .theme.dark.palette.base04 }}ff",
|
||||||
|
"icon.accent": "#{{ .theme.dark.palette.base0D }}ff",
|
||||||
|
"status_bar.background": "#{{ .theme.dark.palette.base10 }}ff",
|
||||||
|
"title_bar.background": "#{{ .theme.dark.palette.base10 }}ff",
|
||||||
|
"title_bar.inactive_background": "#{{ .theme.dark.palette.base11 }}ff",
|
||||||
|
"toolbar.background": "#{{ .theme.dark.palette.base00 }}ff",
|
||||||
|
"tab_bar.background": "#{{ .theme.dark.palette.base01 }}ff",
|
||||||
|
"tab.inactive_background": "#{{ .theme.dark.palette.base01 }}ff",
|
||||||
|
"tab.active_background": "#{{ .theme.dark.palette.base00 }}ff",
|
||||||
|
"search.match_background": "#{{ .theme.dark.palette.base0A }}66",
|
||||||
|
"search.active_match_background": "#{{ .theme.dark.palette.base09 }}66",
|
||||||
|
"panel.background": "#{{ .theme.dark.palette.base01 }}ff",
|
||||||
|
"panel.focused_border": null,
|
||||||
|
"pane.focused_border": null,
|
||||||
|
"scrollbar.thumb.background": "#{{ .theme.dark.palette.base04 }}4c",
|
||||||
|
"scrollbar.thumb.hover_background": "#{{ .theme.dark.palette.base02 }}ff",
|
||||||
|
"scrollbar.thumb.border": "#{{ .theme.dark.palette.base02 }}ff",
|
||||||
|
"scrollbar.track.background": "#00000000",
|
||||||
|
"scrollbar.track.border": "#{{ .theme.dark.palette.base01 }}ff",
|
||||||
|
"editor.foreground": "#{{ .theme.dark.palette.base05 }}ff",
|
||||||
|
"editor.background": "#{{ .theme.dark.palette.base00 }}ff",
|
||||||
|
"editor.gutter.background": "#{{ .theme.dark.palette.base00 }}ff",
|
||||||
|
"editor.subheader.background": "#{{ .theme.dark.palette.base01 }}ff",
|
||||||
|
"editor.active_line.background": "#{{ .theme.dark.palette.base01 }}80",
|
||||||
|
"editor.highlighted_line.background": "#{{ .theme.dark.palette.base01 }}ff",
|
||||||
|
"editor.line_number": "#{{ .theme.dark.palette.base03 }}ff",
|
||||||
|
"editor.active_line_number": "#{{ .theme.dark.palette.base05 }}ff",
|
||||||
|
"editor.hover_line_number": "#{{ .theme.dark.palette.base04 }}ff",
|
||||||
|
"editor.invisible": "#{{ .theme.dark.palette.base03 }}ff",
|
||||||
|
"editor.wrap_guide": "#{{ .theme.dark.palette.base02 }}0d",
|
||||||
|
"editor.active_wrap_guide": "#{{ .theme.dark.palette.base02 }}1a",
|
||||||
|
"editor.document_highlight.read_background": "#{{ .theme.dark.palette.base0D }}1a",
|
||||||
|
"editor.document_highlight.write_background": "#{{ .theme.dark.palette.base02 }}66",
|
||||||
|
"terminal.background": "#{{ .theme.dark.palette.base00 }}ff",
|
||||||
|
"terminal.foreground": "#{{ .theme.dark.palette.base05 }}ff",
|
||||||
|
"terminal.bright_foreground": "#{{ .theme.dark.palette.base07 }}ff",
|
||||||
|
"terminal.dim_foreground": "#{{ .theme.dark.palette.base03 }}ff",
|
||||||
|
"terminal.ansi.black": "#{{ .theme.dark.palette.base00 }}ff",
|
||||||
|
"terminal.ansi.bright_black": "#{{ .theme.dark.palette.base03 }}ff",
|
||||||
|
"terminal.ansi.dim_black": "#{{ .theme.dark.palette.base00 }}ff",
|
||||||
|
"terminal.ansi.red": "#{{ .theme.dark.palette.base08 }}ff",
|
||||||
|
"terminal.ansi.bright_red": "#{{ .theme.dark.palette.base12 }}ff",
|
||||||
|
"terminal.ansi.dim_red": "#{{ .theme.dark.palette.base08 }}bf",
|
||||||
|
"terminal.ansi.green": "#{{ .theme.dark.palette.base0B }}ff",
|
||||||
|
"terminal.ansi.bright_green": "#{{ .theme.dark.palette.base14 }}ff",
|
||||||
|
"terminal.ansi.dim_green": "#{{ .theme.dark.palette.base0B }}bf",
|
||||||
|
"terminal.ansi.yellow": "#{{ .theme.dark.palette.base0A }}ff",
|
||||||
|
"terminal.ansi.bright_yellow": "#{{ .theme.dark.palette.base13 }}ff",
|
||||||
|
"terminal.ansi.dim_yellow": "#{{ .theme.dark.palette.base0A }}bf",
|
||||||
|
"terminal.ansi.blue": "#{{ .theme.dark.palette.base0D }}ff",
|
||||||
|
"terminal.ansi.bright_blue": "#{{ .theme.dark.palette.base16 }}ff",
|
||||||
|
"terminal.ansi.dim_blue": "#{{ .theme.dark.palette.base0D }}bf",
|
||||||
|
"terminal.ansi.magenta": "#{{ .theme.dark.palette.base0E }}ff",
|
||||||
|
"terminal.ansi.bright_magenta": "#{{ .theme.dark.palette.base17 }}ff",
|
||||||
|
"terminal.ansi.dim_magenta": "#{{ .theme.dark.palette.base0E }}bf",
|
||||||
|
"terminal.ansi.cyan": "#{{ .theme.dark.palette.base0C }}ff",
|
||||||
|
"terminal.ansi.bright_cyan": "#{{ .theme.dark.palette.base15 }}ff",
|
||||||
|
"terminal.ansi.dim_cyan": "#{{ .theme.dark.palette.base0C }}bf",
|
||||||
|
"terminal.ansi.white": "#{{ .theme.dark.palette.base05 }}ff",
|
||||||
|
"terminal.ansi.bright_white": "#{{ .theme.dark.palette.base07 }}ff",
|
||||||
|
"terminal.ansi.dim_white": "#{{ .theme.dark.palette.base04 }}ff",
|
||||||
|
"link_text.hover": "#{{ .theme.dark.palette.base0D }}ff",
|
||||||
|
"version_control.added": "#{{ .theme.dark.palette.base0B }}ff",
|
||||||
|
"version_control.modified": "#{{ .theme.dark.palette.base0A }}ff",
|
||||||
|
"version_control.word_added": "#{{ .theme.dark.palette.base0B }}59",
|
||||||
|
"version_control.word_deleted": "#{{ .theme.dark.palette.base08 }}cc",
|
||||||
|
"version_control.deleted": "#{{ .theme.dark.palette.base08 }}ff",
|
||||||
|
"version_control.conflict_marker.ours": "#{{ .theme.dark.palette.base0B }}1a",
|
||||||
|
"version_control.conflict_marker.theirs": "#{{ .theme.dark.palette.base0D }}1a",
|
||||||
|
"conflict": "#{{ .theme.dark.palette.base0A }}ff",
|
||||||
|
"conflict.background": "#{{ .theme.dark.palette.base0A }}1a",
|
||||||
|
"conflict.border": "#{{ .theme.dark.palette.base0A }}80",
|
||||||
|
"created": "#{{ .theme.dark.palette.base0B }}ff",
|
||||||
|
"created.background": "#{{ .theme.dark.palette.base0B }}1a",
|
||||||
|
"created.border": "#{{ .theme.dark.palette.base0B }}80",
|
||||||
|
"deleted": "#{{ .theme.dark.palette.base08 }}ff",
|
||||||
|
"deleted.background": "#{{ .theme.dark.palette.base08 }}1a",
|
||||||
|
"deleted.border": "#{{ .theme.dark.palette.base08 }}80",
|
||||||
|
"error": "#{{ .theme.dark.palette.base08 }}ff",
|
||||||
|
"error.background": "#{{ .theme.dark.palette.base08 }}1a",
|
||||||
|
"error.border": "#{{ .theme.dark.palette.base08 }}80",
|
||||||
|
"hidden": "#{{ .theme.dark.palette.base03 }}ff",
|
||||||
|
"hidden.background": "#{{ .theme.dark.palette.base02 }}1a",
|
||||||
|
"hidden.border": "#{{ .theme.dark.palette.base02 }}ff",
|
||||||
|
"hint": "#{{ .theme.dark.palette.base0C }}ff",
|
||||||
|
"hint.background": "#{{ .theme.dark.palette.base0C }}1a",
|
||||||
|
"hint.border": "#{{ .theme.dark.palette.base0C }}80",
|
||||||
|
"ignored": "#{{ .theme.dark.palette.base03 }}ff",
|
||||||
|
"ignored.background": "#{{ .theme.dark.palette.base02 }}1a",
|
||||||
|
"ignored.border": "#{{ .theme.dark.palette.base02 }}ff",
|
||||||
|
"info": "#{{ .theme.dark.palette.base0D }}ff",
|
||||||
|
"info.background": "#{{ .theme.dark.palette.base0D }}1a",
|
||||||
|
"info.border": "#{{ .theme.dark.palette.base0D }}80",
|
||||||
|
"modified": "#{{ .theme.dark.palette.base0A }}ff",
|
||||||
|
"modified.background": "#{{ .theme.dark.palette.base0A }}1a",
|
||||||
|
"modified.border": "#{{ .theme.dark.palette.base0A }}80",
|
||||||
|
"predictive": "#{{ .theme.dark.palette.base03 }}ff",
|
||||||
|
"predictive.background": "#{{ .theme.dark.palette.base03 }}1a",
|
||||||
|
"predictive.border": "#{{ .theme.dark.palette.base03 }}80",
|
||||||
|
"renamed": "#{{ .theme.dark.palette.base0D }}ff",
|
||||||
|
"renamed.background": "#{{ .theme.dark.palette.base0D }}1a",
|
||||||
|
"renamed.border": "#{{ .theme.dark.palette.base0D }}80",
|
||||||
|
"success": "#{{ .theme.dark.palette.base0B }}ff",
|
||||||
|
"success.background": "#{{ .theme.dark.palette.base0B }}1a",
|
||||||
|
"success.border": "#{{ .theme.dark.palette.base0B }}80",
|
||||||
|
"unreachable": "#{{ .theme.dark.palette.base04 }}ff",
|
||||||
|
"unreachable.background": "#{{ .theme.dark.palette.base03 }}1a",
|
||||||
|
"unreachable.border": "#{{ .theme.dark.palette.base03 }}ff",
|
||||||
|
"warning": "#{{ .theme.dark.palette.base0A }}ff",
|
||||||
|
"warning.background": "#{{ .theme.dark.palette.base0A }}1a",
|
||||||
|
"warning.border": "#{{ .theme.dark.palette.base0A }}80",
|
||||||
|
"players": [
|
||||||
|
{ "cursor": "#{{ .theme.dark.palette.base0D }}ff", "background": "#{{ .theme.dark.palette.base0D }}20", "selection": "#{{ .theme.dark.palette.base0D }}30" },
|
||||||
|
{ "cursor": "#{{ .theme.dark.palette.base0E }}ff", "background": "#{{ .theme.dark.palette.base0E }}20", "selection": "#{{ .theme.dark.palette.base0E }}30" },
|
||||||
|
{ "cursor": "#{{ .theme.dark.palette.base08 }}ff", "background": "#{{ .theme.dark.palette.base08 }}20", "selection": "#{{ .theme.dark.palette.base08 }}30" },
|
||||||
|
{ "cursor": "#{{ .theme.dark.palette.base09 }}ff", "background": "#{{ .theme.dark.palette.base09 }}20", "selection": "#{{ .theme.dark.palette.base09 }}30" },
|
||||||
|
{ "cursor": "#{{ .theme.dark.palette.base0A }}ff", "background": "#{{ .theme.dark.palette.base0A }}20", "selection": "#{{ .theme.dark.palette.base0A }}30" },
|
||||||
|
{ "cursor": "#{{ .theme.dark.palette.base0B }}ff", "background": "#{{ .theme.dark.palette.base0B }}20", "selection": "#{{ .theme.dark.palette.base0B }}30" },
|
||||||
|
{ "cursor": "#{{ .theme.dark.palette.base0C }}ff", "background": "#{{ .theme.dark.palette.base0C }}20", "selection": "#{{ .theme.dark.palette.base0C }}30" },
|
||||||
|
{ "cursor": "#{{ .theme.dark.palette.base0F }}ff", "background": "#{{ .theme.dark.palette.base0F }}20", "selection": "#{{ .theme.dark.palette.base0F }}30" }
|
||||||
|
],
|
||||||
|
"syntax": {
|
||||||
|
"attribute": {
|
||||||
|
"color": "#{{ .theme.dark.palette.base09 }}ff",
|
||||||
|
"font_style": null,
|
||||||
|
"font_weight": null
|
||||||
|
},
|
||||||
|
"boolean": {
|
||||||
|
"color": "#{{ .theme.dark.palette.base09 }}ff",
|
||||||
|
"font_style": null,
|
||||||
|
"font_weight": null
|
||||||
|
},
|
||||||
|
"comment": {
|
||||||
|
"color": "#{{ .theme.dark.palette.base03 }}ff",
|
||||||
|
"font_style": null,
|
||||||
|
"font_weight": null
|
||||||
|
},
|
||||||
|
"comment.doc": {
|
||||||
|
"color": "#{{ .theme.dark.palette.base04 }}ff",
|
||||||
|
"font_style": null,
|
||||||
|
"font_weight": null
|
||||||
|
},
|
||||||
|
"constant": {
|
||||||
|
"color": "#{{ .theme.dark.palette.base09 }}ff",
|
||||||
|
"font_style": null,
|
||||||
|
"font_weight": null
|
||||||
|
},
|
||||||
|
"constructor": {
|
||||||
|
"color": "#{{ .theme.dark.palette.base0D }}ff",
|
||||||
|
"font_style": null,
|
||||||
|
"font_weight": null
|
||||||
|
},
|
||||||
|
"embedded": {
|
||||||
|
"color": "#{{ .theme.dark.palette.base0F }}ff",
|
||||||
|
"font_style": null,
|
||||||
|
"font_weight": null
|
||||||
|
},
|
||||||
|
"emphasis": {
|
||||||
|
"color": "#{{ .theme.dark.palette.base0E }}ff",
|
||||||
|
"font_style": "italic",
|
||||||
|
"font_weight": null
|
||||||
|
},
|
||||||
|
"emphasis.strong": {
|
||||||
|
"color": "#{{ .theme.dark.palette.base0A }}ff",
|
||||||
|
"font_style": null,
|
||||||
|
"font_weight": 700
|
||||||
|
},
|
||||||
|
"enum": {
|
||||||
|
"color": "#{{ .theme.dark.palette.base0C }}ff",
|
||||||
|
"font_style": null,
|
||||||
|
"font_weight": null
|
||||||
|
},
|
||||||
|
"function": {
|
||||||
|
"color": "#{{ .theme.dark.palette.base0D }}ff",
|
||||||
|
"font_style": null,
|
||||||
|
"font_weight": null
|
||||||
|
},
|
||||||
|
"hint": {
|
||||||
|
"color": "#{{ .theme.dark.palette.base03 }}ff",
|
||||||
|
"font_style": null,
|
||||||
|
"font_weight": null
|
||||||
|
},
|
||||||
|
"keyword": {
|
||||||
|
"color": "#{{ .theme.dark.palette.base0E }}ff",
|
||||||
|
"font_style": null,
|
||||||
|
"font_weight": null
|
||||||
|
},
|
||||||
|
"label": {
|
||||||
|
"color": "#{{ .theme.dark.palette.base08 }}ff",
|
||||||
|
"font_style": null,
|
||||||
|
"font_weight": null
|
||||||
|
},
|
||||||
|
"link_text": {
|
||||||
|
"color": "#{{ .theme.dark.palette.base08 }}ff",
|
||||||
|
"font_style": "normal",
|
||||||
|
"font_weight": null
|
||||||
|
},
|
||||||
|
"link_uri": {
|
||||||
|
"color": "#{{ .theme.dark.palette.base09 }}ff",
|
||||||
|
"font_style": null,
|
||||||
|
"font_weight": null
|
||||||
|
},
|
||||||
|
"namespace": {
|
||||||
|
"color": "#{{ .theme.dark.palette.base0A }}ff",
|
||||||
|
"font_style": null,
|
||||||
|
"font_weight": null
|
||||||
|
},
|
||||||
|
"number": {
|
||||||
|
"color": "#{{ .theme.dark.palette.base09 }}ff",
|
||||||
|
"font_style": null,
|
||||||
|
"font_weight": null
|
||||||
|
},
|
||||||
|
"operator": {
|
||||||
|
"color": "#{{ .theme.dark.palette.base05 }}ff",
|
||||||
|
"font_style": null,
|
||||||
|
"font_weight": null
|
||||||
|
},
|
||||||
|
"predictive": {
|
||||||
|
"color": "#{{ .theme.dark.palette.base03 }}ff",
|
||||||
|
"font_style": "italic",
|
||||||
|
"font_weight": null
|
||||||
|
},
|
||||||
|
"preproc": {
|
||||||
|
"color": "#{{ .theme.dark.palette.base0F }}ff",
|
||||||
|
"font_style": null,
|
||||||
|
"font_weight": null
|
||||||
|
},
|
||||||
|
"primary": {
|
||||||
|
"color": "#{{ .theme.dark.palette.base05 }}ff",
|
||||||
|
"font_style": null,
|
||||||
|
"font_weight": null
|
||||||
|
},
|
||||||
|
"property": {
|
||||||
|
"color": "#{{ .theme.dark.palette.base08 }}ff",
|
||||||
|
"font_style": null,
|
||||||
|
"font_weight": null
|
||||||
|
},
|
||||||
|
"punctuation": {
|
||||||
|
"color": "#{{ .theme.dark.palette.base05 }}ff",
|
||||||
|
"font_style": null,
|
||||||
|
"font_weight": null
|
||||||
|
},
|
||||||
|
"punctuation.bracket": {
|
||||||
|
"color": "#{{ .theme.dark.palette.base05 }}ff",
|
||||||
|
"font_style": null,
|
||||||
|
"font_weight": null
|
||||||
|
},
|
||||||
|
"punctuation.delimiter": {
|
||||||
|
"color": "#{{ .theme.dark.palette.base05 }}ff",
|
||||||
|
"font_style": null,
|
||||||
|
"font_weight": null
|
||||||
|
},
|
||||||
|
"punctuation.list_marker": {
|
||||||
|
"color": "#{{ .theme.dark.palette.base08 }}ff",
|
||||||
|
"font_style": null,
|
||||||
|
"font_weight": null
|
||||||
|
},
|
||||||
|
"punctuation.markup": {
|
||||||
|
"color": "#{{ .theme.dark.palette.base08 }}ff",
|
||||||
|
"font_style": null,
|
||||||
|
"font_weight": null
|
||||||
|
},
|
||||||
|
"punctuation.special": {
|
||||||
|
"color": "#{{ .theme.dark.palette.base0F }}ff",
|
||||||
|
"font_style": null,
|
||||||
|
"font_weight": null
|
||||||
|
},
|
||||||
|
"selector": {
|
||||||
|
"color": "#{{ .theme.dark.palette.base0E }}ff",
|
||||||
|
"font_style": null,
|
||||||
|
"font_weight": null
|
||||||
|
},
|
||||||
|
"selector.pseudo": {
|
||||||
|
"color": "#{{ .theme.dark.palette.base0C }}ff",
|
||||||
|
"font_style": null,
|
||||||
|
"font_weight": null
|
||||||
|
},
|
||||||
|
"string": {
|
||||||
|
"color": "#{{ .theme.dark.palette.base0B }}ff",
|
||||||
|
"font_style": null,
|
||||||
|
"font_weight": null
|
||||||
|
},
|
||||||
|
"string.escape": {
|
||||||
|
"color": "#{{ .theme.dark.palette.base0C }}ff",
|
||||||
|
"font_style": null,
|
||||||
|
"font_weight": null
|
||||||
|
},
|
||||||
|
"string.regex": {
|
||||||
|
"color": "#{{ .theme.dark.palette.base0C }}ff",
|
||||||
|
"font_style": null,
|
||||||
|
"font_weight": null
|
||||||
|
},
|
||||||
|
"string.special": {
|
||||||
|
"color": "#{{ .theme.dark.palette.base0C }}ff",
|
||||||
|
"font_style": null,
|
||||||
|
"font_weight": null
|
||||||
|
},
|
||||||
|
"string.special.symbol": {
|
||||||
|
"color": "#{{ .theme.dark.palette.base0B }}ff",
|
||||||
|
"font_style": null,
|
||||||
|
"font_weight": null
|
||||||
|
},
|
||||||
|
"tag": {
|
||||||
|
"color": "#{{ .theme.dark.palette.base08 }}ff",
|
||||||
|
"font_style": null,
|
||||||
|
"font_weight": null
|
||||||
|
},
|
||||||
|
"text.literal": {
|
||||||
|
"color": "#{{ .theme.dark.palette.base0B }}ff",
|
||||||
|
"font_style": null,
|
||||||
|
"font_weight": null
|
||||||
|
},
|
||||||
|
"title": {
|
||||||
|
"color": "#{{ .theme.dark.palette.base0D }}ff",
|
||||||
|
"font_style": null,
|
||||||
|
"font_weight": 700
|
||||||
|
},
|
||||||
|
"type": {
|
||||||
|
"color": "#{{ .theme.dark.palette.base0A }}ff",
|
||||||
|
"font_style": null,
|
||||||
|
"font_weight": null
|
||||||
|
},
|
||||||
|
"variable": {
|
||||||
|
"color": "#{{ .theme.dark.palette.base08 }}ff",
|
||||||
|
"font_style": null,
|
||||||
|
"font_weight": null
|
||||||
|
},
|
||||||
|
"variable.special": {
|
||||||
|
"color": "#{{ .theme.dark.palette.base09 }}ff",
|
||||||
|
"font_style": null,
|
||||||
|
"font_weight": null
|
||||||
|
},
|
||||||
|
"variant": {
|
||||||
|
"color": "#{{ .theme.dark.palette.base0D }}ff",
|
||||||
|
"font_style": null,
|
||||||
|
"font_weight": null
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -0,0 +1,379 @@
|
|||||||
|
{
|
||||||
|
"$schema": "https://zed.dev/schema/themes/v0.2.0.json",
|
||||||
|
"name": "{{ .theme.light.name }} Light",
|
||||||
|
"author": "Tinted Theming (https://github.com/tinted-theming) and {{ .theme.light.author }}",
|
||||||
|
"themes": [
|
||||||
|
{
|
||||||
|
"name": "{{ .theme.light.name }} Light",
|
||||||
|
"appearance": "{{ .theme.light.variant }}",
|
||||||
|
"style": {
|
||||||
|
"border": "#{{ .theme.light.palette.base02 }}ff",
|
||||||
|
"border.variant": "#{{ .theme.light.palette.base01 }}ff",
|
||||||
|
"border.focused": "#{{ .theme.light.palette.base0D }}ff",
|
||||||
|
"border.selected": "#{{ .theme.light.palette.base02 }}ff",
|
||||||
|
"border.transparent": "#00000000",
|
||||||
|
"border.disabled": "#{{ .theme.light.palette.base03 }}ff",
|
||||||
|
"elevated_surface.background": "#{{ .theme.light.palette.base01 }}ff",
|
||||||
|
"surface.background": "#{{ .theme.light.palette.base01 }}ff",
|
||||||
|
"background": "#{{ .theme.light.palette.base00 }}ff",
|
||||||
|
"element.background": "#{{ .theme.light.palette.base01 }}ff",
|
||||||
|
"element.hover": "#{{ .theme.light.palette.base02 }}ff",
|
||||||
|
"element.active": "#{{ .theme.light.palette.base02 }}ff",
|
||||||
|
"element.selected": "#{{ .theme.light.palette.base02 }}ff",
|
||||||
|
"element.disabled": "#{{ .theme.light.palette.base01 }}ff",
|
||||||
|
"drop_target.background": "#{{ .theme.light.palette.base03 }}80",
|
||||||
|
"ghost_element.background": "#00000000",
|
||||||
|
"ghost_element.hover": "#{{ .theme.light.palette.base02 }}ff",
|
||||||
|
"ghost_element.active": "#{{ .theme.light.palette.base02 }}ff",
|
||||||
|
"ghost_element.selected": "#{{ .theme.light.palette.base02 }}ff",
|
||||||
|
"ghost_element.disabled": "#{{ .theme.light.palette.base01 }}ff",
|
||||||
|
"text": "#{{ .theme.light.palette.base05 }}ff",
|
||||||
|
"text.muted": "#{{ .theme.light.palette.base04 }}ff",
|
||||||
|
"text.placeholder": "#{{ .theme.light.palette.base03 }}ff",
|
||||||
|
"text.disabled": "#{{ .theme.light.palette.base03 }}ff",
|
||||||
|
"text.accent": "#{{ .theme.light.palette.base0D }}ff",
|
||||||
|
"icon": "#{{ .theme.light.palette.base05 }}ff",
|
||||||
|
"icon.muted": "#{{ .theme.light.palette.base04 }}ff",
|
||||||
|
"icon.disabled": "#{{ .theme.light.palette.base03 }}ff",
|
||||||
|
"icon.placeholder": "#{{ .theme.light.palette.base04 }}ff",
|
||||||
|
"icon.accent": "#{{ .theme.light.palette.base0D }}ff",
|
||||||
|
"status_bar.background": "#{{ .theme.light.palette.base10 }}ff",
|
||||||
|
"title_bar.background": "#{{ .theme.light.palette.base10 }}ff",
|
||||||
|
"title_bar.inactive_background": "#{{ .theme.light.palette.base11 }}ff",
|
||||||
|
"toolbar.background": "#{{ .theme.light.palette.base00 }}ff",
|
||||||
|
"tab_bar.background": "#{{ .theme.light.palette.base01 }}ff",
|
||||||
|
"tab.inactive_background": "#{{ .theme.light.palette.base01 }}ff",
|
||||||
|
"tab.active_background": "#{{ .theme.light.palette.base00 }}ff",
|
||||||
|
"search.match_background": "#{{ .theme.light.palette.base0A }}66",
|
||||||
|
"search.active_match_background": "#{{ .theme.light.palette.base09 }}66",
|
||||||
|
"panel.background": "#{{ .theme.light.palette.base01 }}ff",
|
||||||
|
"panel.focused_border": null,
|
||||||
|
"pane.focused_border": null,
|
||||||
|
"scrollbar.thumb.background": "#{{ .theme.light.palette.base04 }}4c",
|
||||||
|
"scrollbar.thumb.hover_background": "#{{ .theme.light.palette.base02 }}ff",
|
||||||
|
"scrollbar.thumb.border": "#{{ .theme.light.palette.base02 }}ff",
|
||||||
|
"scrollbar.track.background": "#00000000",
|
||||||
|
"scrollbar.track.border": "#{{ .theme.light.palette.base01 }}ff",
|
||||||
|
"editor.foreground": "#{{ .theme.light.palette.base05 }}ff",
|
||||||
|
"editor.background": "#{{ .theme.light.palette.base00 }}ff",
|
||||||
|
"editor.gutter.background": "#{{ .theme.light.palette.base00 }}ff",
|
||||||
|
"editor.subheader.background": "#{{ .theme.light.palette.base01 }}ff",
|
||||||
|
"editor.active_line.background": "#{{ .theme.light.palette.base01 }}80",
|
||||||
|
"editor.highlighted_line.background": "#{{ .theme.light.palette.base01 }}ff",
|
||||||
|
"editor.line_number": "#{{ .theme.light.palette.base03 }}ff",
|
||||||
|
"editor.active_line_number": "#{{ .theme.light.palette.base05 }}ff",
|
||||||
|
"editor.hover_line_number": "#{{ .theme.light.palette.base04 }}ff",
|
||||||
|
"editor.invisible": "#{{ .theme.light.palette.base03 }}ff",
|
||||||
|
"editor.wrap_guide": "#{{ .theme.light.palette.base02 }}0d",
|
||||||
|
"editor.active_wrap_guide": "#{{ .theme.light.palette.base02 }}1a",
|
||||||
|
"editor.document_highlight.read_background": "#{{ .theme.light.palette.base0D }}1a",
|
||||||
|
"editor.document_highlight.write_background": "#{{ .theme.light.palette.base02 }}66",
|
||||||
|
"terminal.background": "#{{ .theme.light.palette.base00 }}ff",
|
||||||
|
"terminal.foreground": "#{{ .theme.light.palette.base05 }}ff",
|
||||||
|
"terminal.bright_foreground": "#{{ .theme.light.palette.base07 }}ff",
|
||||||
|
"terminal.dim_foreground": "#{{ .theme.light.palette.base03 }}ff",
|
||||||
|
"terminal.ansi.black": "#{{ .theme.light.palette.base00 }}ff",
|
||||||
|
"terminal.ansi.bright_black": "#{{ .theme.light.palette.base03 }}ff",
|
||||||
|
"terminal.ansi.dim_black": "#{{ .theme.light.palette.base00 }}ff",
|
||||||
|
"terminal.ansi.red": "#{{ .theme.light.palette.base08 }}ff",
|
||||||
|
"terminal.ansi.bright_red": "#{{ .theme.light.palette.base12 }}ff",
|
||||||
|
"terminal.ansi.dim_red": "#{{ .theme.light.palette.base08 }}bf",
|
||||||
|
"terminal.ansi.green": "#{{ .theme.light.palette.base0B }}ff",
|
||||||
|
"terminal.ansi.bright_green": "#{{ .theme.light.palette.base14 }}ff",
|
||||||
|
"terminal.ansi.dim_green": "#{{ .theme.light.palette.base0B }}bf",
|
||||||
|
"terminal.ansi.yellow": "#{{ .theme.light.palette.base0A }}ff",
|
||||||
|
"terminal.ansi.bright_yellow": "#{{ .theme.light.palette.base13 }}ff",
|
||||||
|
"terminal.ansi.dim_yellow": "#{{ .theme.light.palette.base0A }}bf",
|
||||||
|
"terminal.ansi.blue": "#{{ .theme.light.palette.base0D }}ff",
|
||||||
|
"terminal.ansi.bright_blue": "#{{ .theme.light.palette.base16 }}ff",
|
||||||
|
"terminal.ansi.dim_blue": "#{{ .theme.light.palette.base0D }}bf",
|
||||||
|
"terminal.ansi.magenta": "#{{ .theme.light.palette.base0E }}ff",
|
||||||
|
"terminal.ansi.bright_magenta": "#{{ .theme.light.palette.base17 }}ff",
|
||||||
|
"terminal.ansi.dim_magenta": "#{{ .theme.light.palette.base0E }}bf",
|
||||||
|
"terminal.ansi.cyan": "#{{ .theme.light.palette.base0C }}ff",
|
||||||
|
"terminal.ansi.bright_cyan": "#{{ .theme.light.palette.base15 }}ff",
|
||||||
|
"terminal.ansi.dim_cyan": "#{{ .theme.light.palette.base0C }}bf",
|
||||||
|
"terminal.ansi.white": "#{{ .theme.light.palette.base05 }}ff",
|
||||||
|
"terminal.ansi.bright_white": "#{{ .theme.light.palette.base07 }}ff",
|
||||||
|
"terminal.ansi.dim_white": "#{{ .theme.light.palette.base04 }}ff",
|
||||||
|
"link_text.hover": "#{{ .theme.light.palette.base0D }}ff",
|
||||||
|
"version_control.added": "#{{ .theme.light.palette.base0B }}ff",
|
||||||
|
"version_control.modified": "#{{ .theme.light.palette.base0A }}ff",
|
||||||
|
"version_control.word_added": "#{{ .theme.light.palette.base0B }}59",
|
||||||
|
"version_control.word_deleted": "#{{ .theme.light.palette.base08 }}cc",
|
||||||
|
"version_control.deleted": "#{{ .theme.light.palette.base08 }}ff",
|
||||||
|
"version_control.conflict_marker.ours": "#{{ .theme.light.palette.base0B }}1a",
|
||||||
|
"version_control.conflict_marker.theirs": "#{{ .theme.light.palette.base0D }}1a",
|
||||||
|
"conflict": "#{{ .theme.light.palette.base0A }}ff",
|
||||||
|
"conflict.background": "#{{ .theme.light.palette.base0A }}1a",
|
||||||
|
"conflict.border": "#{{ .theme.light.palette.base0A }}80",
|
||||||
|
"created": "#{{ .theme.light.palette.base0B }}ff",
|
||||||
|
"created.background": "#{{ .theme.light.palette.base0B }}1a",
|
||||||
|
"created.border": "#{{ .theme.light.palette.base0B }}80",
|
||||||
|
"deleted": "#{{ .theme.light.palette.base08 }}ff",
|
||||||
|
"deleted.background": "#{{ .theme.light.palette.base08 }}1a",
|
||||||
|
"deleted.border": "#{{ .theme.light.palette.base08 }}80",
|
||||||
|
"error": "#{{ .theme.light.palette.base08 }}ff",
|
||||||
|
"error.background": "#{{ .theme.light.palette.base08 }}1a",
|
||||||
|
"error.border": "#{{ .theme.light.palette.base08 }}80",
|
||||||
|
"hidden": "#{{ .theme.light.palette.base03 }}ff",
|
||||||
|
"hidden.background": "#{{ .theme.light.palette.base02 }}1a",
|
||||||
|
"hidden.border": "#{{ .theme.light.palette.base02 }}ff",
|
||||||
|
"hint": "#{{ .theme.light.palette.base0C }}ff",
|
||||||
|
"hint.background": "#{{ .theme.light.palette.base0C }}1a",
|
||||||
|
"hint.border": "#{{ .theme.light.palette.base0C }}80",
|
||||||
|
"ignored": "#{{ .theme.light.palette.base03 }}ff",
|
||||||
|
"ignored.background": "#{{ .theme.light.palette.base02 }}1a",
|
||||||
|
"ignored.border": "#{{ .theme.light.palette.base02 }}ff",
|
||||||
|
"info": "#{{ .theme.light.palette.base0D }}ff",
|
||||||
|
"info.background": "#{{ .theme.light.palette.base0D }}1a",
|
||||||
|
"info.border": "#{{ .theme.light.palette.base0D }}80",
|
||||||
|
"modified": "#{{ .theme.light.palette.base0A }}ff",
|
||||||
|
"modified.background": "#{{ .theme.light.palette.base0A }}1a",
|
||||||
|
"modified.border": "#{{ .theme.light.palette.base0A }}80",
|
||||||
|
"predictive": "#{{ .theme.light.palette.base03 }}ff",
|
||||||
|
"predictive.background": "#{{ .theme.light.palette.base03 }}1a",
|
||||||
|
"predictive.border": "#{{ .theme.light.palette.base03 }}80",
|
||||||
|
"renamed": "#{{ .theme.light.palette.base0D }}ff",
|
||||||
|
"renamed.background": "#{{ .theme.light.palette.base0D }}1a",
|
||||||
|
"renamed.border": "#{{ .theme.light.palette.base0D }}80",
|
||||||
|
"success": "#{{ .theme.light.palette.base0B }}ff",
|
||||||
|
"success.background": "#{{ .theme.light.palette.base0B }}1a",
|
||||||
|
"success.border": "#{{ .theme.light.palette.base0B }}80",
|
||||||
|
"unreachable": "#{{ .theme.light.palette.base04 }}ff",
|
||||||
|
"unreachable.background": "#{{ .theme.light.palette.base03 }}1a",
|
||||||
|
"unreachable.border": "#{{ .theme.light.palette.base03 }}ff",
|
||||||
|
"warning": "#{{ .theme.light.palette.base0A }}ff",
|
||||||
|
"warning.background": "#{{ .theme.light.palette.base0A }}1a",
|
||||||
|
"warning.border": "#{{ .theme.light.palette.base0A }}80",
|
||||||
|
"players": [
|
||||||
|
{ "cursor": "#{{ .theme.light.palette.base0D }}ff", "background": "#{{ .theme.light.palette.base0D }}20", "selection": "#{{ .theme.light.palette.base0D }}30" },
|
||||||
|
{ "cursor": "#{{ .theme.light.palette.base0E }}ff", "background": "#{{ .theme.light.palette.base0E }}20", "selection": "#{{ .theme.light.palette.base0E }}30" },
|
||||||
|
{ "cursor": "#{{ .theme.light.palette.base08 }}ff", "background": "#{{ .theme.light.palette.base08 }}20", "selection": "#{{ .theme.light.palette.base08 }}30" },
|
||||||
|
{ "cursor": "#{{ .theme.light.palette.base09 }}ff", "background": "#{{ .theme.light.palette.base09 }}20", "selection": "#{{ .theme.light.palette.base09 }}30" },
|
||||||
|
{ "cursor": "#{{ .theme.light.palette.base0A }}ff", "background": "#{{ .theme.light.palette.base0A }}20", "selection": "#{{ .theme.light.palette.base0A }}30" },
|
||||||
|
{ "cursor": "#{{ .theme.light.palette.base0B }}ff", "background": "#{{ .theme.light.palette.base0B }}20", "selection": "#{{ .theme.light.palette.base0B }}30" },
|
||||||
|
{ "cursor": "#{{ .theme.light.palette.base0C }}ff", "background": "#{{ .theme.light.palette.base0C }}20", "selection": "#{{ .theme.light.palette.base0C }}30" },
|
||||||
|
{ "cursor": "#{{ .theme.light.palette.base0F }}ff", "background": "#{{ .theme.light.palette.base0F }}20", "selection": "#{{ .theme.light.palette.base0F }}30" }
|
||||||
|
],
|
||||||
|
"syntax": {
|
||||||
|
"attribute": {
|
||||||
|
"color": "#{{ .theme.light.palette.base09 }}ff",
|
||||||
|
"font_style": null,
|
||||||
|
"font_weight": null
|
||||||
|
},
|
||||||
|
"boolean": {
|
||||||
|
"color": "#{{ .theme.light.palette.base09 }}ff",
|
||||||
|
"font_style": null,
|
||||||
|
"font_weight": null
|
||||||
|
},
|
||||||
|
"comment": {
|
||||||
|
"color": "#{{ .theme.light.palette.base03 }}ff",
|
||||||
|
"font_style": null,
|
||||||
|
"font_weight": null
|
||||||
|
},
|
||||||
|
"comment.doc": {
|
||||||
|
"color": "#{{ .theme.light.palette.base04 }}ff",
|
||||||
|
"font_style": null,
|
||||||
|
"font_weight": null
|
||||||
|
},
|
||||||
|
"constant": {
|
||||||
|
"color": "#{{ .theme.light.palette.base09 }}ff",
|
||||||
|
"font_style": null,
|
||||||
|
"font_weight": null
|
||||||
|
},
|
||||||
|
"constructor": {
|
||||||
|
"color": "#{{ .theme.light.palette.base0D }}ff",
|
||||||
|
"font_style": null,
|
||||||
|
"font_weight": null
|
||||||
|
},
|
||||||
|
"embedded": {
|
||||||
|
"color": "#{{ .theme.light.palette.base0F }}ff",
|
||||||
|
"font_style": null,
|
||||||
|
"font_weight": null
|
||||||
|
},
|
||||||
|
"emphasis": {
|
||||||
|
"color": "#{{ .theme.light.palette.base0E }}ff",
|
||||||
|
"font_style": "italic",
|
||||||
|
"font_weight": null
|
||||||
|
},
|
||||||
|
"emphasis.strong": {
|
||||||
|
"color": "#{{ .theme.light.palette.base0A }}ff",
|
||||||
|
"font_style": null,
|
||||||
|
"font_weight": 700
|
||||||
|
},
|
||||||
|
"enum": {
|
||||||
|
"color": "#{{ .theme.light.palette.base0C }}ff",
|
||||||
|
"font_style": null,
|
||||||
|
"font_weight": null
|
||||||
|
},
|
||||||
|
"function": {
|
||||||
|
"color": "#{{ .theme.light.palette.base0D }}ff",
|
||||||
|
"font_style": null,
|
||||||
|
"font_weight": null
|
||||||
|
},
|
||||||
|
"hint": {
|
||||||
|
"color": "#{{ .theme.light.palette.base03 }}ff",
|
||||||
|
"font_style": null,
|
||||||
|
"font_weight": null
|
||||||
|
},
|
||||||
|
"keyword": {
|
||||||
|
"color": "#{{ .theme.light.palette.base0E }}ff",
|
||||||
|
"font_style": null,
|
||||||
|
"font_weight": null
|
||||||
|
},
|
||||||
|
"label": {
|
||||||
|
"color": "#{{ .theme.light.palette.base08 }}ff",
|
||||||
|
"font_style": null,
|
||||||
|
"font_weight": null
|
||||||
|
},
|
||||||
|
"link_text": {
|
||||||
|
"color": "#{{ .theme.light.palette.base08 }}ff",
|
||||||
|
"font_style": "normal",
|
||||||
|
"font_weight": null
|
||||||
|
},
|
||||||
|
"link_uri": {
|
||||||
|
"color": "#{{ .theme.light.palette.base09 }}ff",
|
||||||
|
"font_style": null,
|
||||||
|
"font_weight": null
|
||||||
|
},
|
||||||
|
"namespace": {
|
||||||
|
"color": "#{{ .theme.light.palette.base0A }}ff",
|
||||||
|
"font_style": null,
|
||||||
|
"font_weight": null
|
||||||
|
},
|
||||||
|
"number": {
|
||||||
|
"color": "#{{ .theme.light.palette.base09 }}ff",
|
||||||
|
"font_style": null,
|
||||||
|
"font_weight": null
|
||||||
|
},
|
||||||
|
"operator": {
|
||||||
|
"color": "#{{ .theme.light.palette.base05 }}ff",
|
||||||
|
"font_style": null,
|
||||||
|
"font_weight": null
|
||||||
|
},
|
||||||
|
"predictive": {
|
||||||
|
"color": "#{{ .theme.light.palette.base03 }}ff",
|
||||||
|
"font_style": "italic",
|
||||||
|
"font_weight": null
|
||||||
|
},
|
||||||
|
"preproc": {
|
||||||
|
"color": "#{{ .theme.light.palette.base0F }}ff",
|
||||||
|
"font_style": null,
|
||||||
|
"font_weight": null
|
||||||
|
},
|
||||||
|
"primary": {
|
||||||
|
"color": "#{{ .theme.light.palette.base05 }}ff",
|
||||||
|
"font_style": null,
|
||||||
|
"font_weight": null
|
||||||
|
},
|
||||||
|
"property": {
|
||||||
|
"color": "#{{ .theme.light.palette.base08 }}ff",
|
||||||
|
"font_style": null,
|
||||||
|
"font_weight": null
|
||||||
|
},
|
||||||
|
"punctuation": {
|
||||||
|
"color": "#{{ .theme.light.palette.base05 }}ff",
|
||||||
|
"font_style": null,
|
||||||
|
"font_weight": null
|
||||||
|
},
|
||||||
|
"punctuation.bracket": {
|
||||||
|
"color": "#{{ .theme.light.palette.base05 }}ff",
|
||||||
|
"font_style": null,
|
||||||
|
"font_weight": null
|
||||||
|
},
|
||||||
|
"punctuation.delimiter": {
|
||||||
|
"color": "#{{ .theme.light.palette.base05 }}ff",
|
||||||
|
"font_style": null,
|
||||||
|
"font_weight": null
|
||||||
|
},
|
||||||
|
"punctuation.list_marker": {
|
||||||
|
"color": "#{{ .theme.light.palette.base08 }}ff",
|
||||||
|
"font_style": null,
|
||||||
|
"font_weight": null
|
||||||
|
},
|
||||||
|
"punctuation.markup": {
|
||||||
|
"color": "#{{ .theme.light.palette.base08 }}ff",
|
||||||
|
"font_style": null,
|
||||||
|
"font_weight": null
|
||||||
|
},
|
||||||
|
"punctuation.special": {
|
||||||
|
"color": "#{{ .theme.light.palette.base0F }}ff",
|
||||||
|
"font_style": null,
|
||||||
|
"font_weight": null
|
||||||
|
},
|
||||||
|
"selector": {
|
||||||
|
"color": "#{{ .theme.light.palette.base0E }}ff",
|
||||||
|
"font_style": null,
|
||||||
|
"font_weight": null
|
||||||
|
},
|
||||||
|
"selector.pseudo": {
|
||||||
|
"color": "#{{ .theme.light.palette.base0C }}ff",
|
||||||
|
"font_style": null,
|
||||||
|
"font_weight": null
|
||||||
|
},
|
||||||
|
"string": {
|
||||||
|
"color": "#{{ .theme.light.palette.base0B }}ff",
|
||||||
|
"font_style": null,
|
||||||
|
"font_weight": null
|
||||||
|
},
|
||||||
|
"string.escape": {
|
||||||
|
"color": "#{{ .theme.light.palette.base0C }}ff",
|
||||||
|
"font_style": null,
|
||||||
|
"font_weight": null
|
||||||
|
},
|
||||||
|
"string.regex": {
|
||||||
|
"color": "#{{ .theme.light.palette.base0C }}ff",
|
||||||
|
"font_style": null,
|
||||||
|
"font_weight": null
|
||||||
|
},
|
||||||
|
"string.special": {
|
||||||
|
"color": "#{{ .theme.light.palette.base0C }}ff",
|
||||||
|
"font_style": null,
|
||||||
|
"font_weight": null
|
||||||
|
},
|
||||||
|
"string.special.symbol": {
|
||||||
|
"color": "#{{ .theme.light.palette.base0B }}ff",
|
||||||
|
"font_style": null,
|
||||||
|
"font_weight": null
|
||||||
|
},
|
||||||
|
"tag": {
|
||||||
|
"color": "#{{ .theme.light.palette.base08 }}ff",
|
||||||
|
"font_style": null,
|
||||||
|
"font_weight": null
|
||||||
|
},
|
||||||
|
"text.literal": {
|
||||||
|
"color": "#{{ .theme.light.palette.base0B }}ff",
|
||||||
|
"font_style": null,
|
||||||
|
"font_weight": null
|
||||||
|
},
|
||||||
|
"title": {
|
||||||
|
"color": "#{{ .theme.light.palette.base0D }}ff",
|
||||||
|
"font_style": null,
|
||||||
|
"font_weight": 700
|
||||||
|
},
|
||||||
|
"type": {
|
||||||
|
"color": "#{{ .theme.light.palette.base0A }}ff",
|
||||||
|
"font_style": null,
|
||||||
|
"font_weight": null
|
||||||
|
},
|
||||||
|
"variable": {
|
||||||
|
"color": "#{{ .theme.light.palette.base08 }}ff",
|
||||||
|
"font_style": null,
|
||||||
|
"font_weight": null
|
||||||
|
},
|
||||||
|
"variable.special": {
|
||||||
|
"color": "#{{ .theme.light.palette.base09 }}ff",
|
||||||
|
"font_style": null,
|
||||||
|
"font_weight": null
|
||||||
|
},
|
||||||
|
"variant": {
|
||||||
|
"color": "#{{ .theme.light.palette.base0D }}ff",
|
||||||
|
"font_style": null,
|
||||||
|
"font_weight": null
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -0,0 +1,53 @@
|
|||||||
|
defaultPref("browser.contentblocking.category", "strict");
|
||||||
|
defaultPref("browser.ctrlTab.sortByRecentlyUsed", true);
|
||||||
|
defaultPref("browser.dom.window.dump.enabled", false);
|
||||||
|
defaultPref("browser.link.open_newwindow.override.external", 7);
|
||||||
|
defaultPref("browser.newtabpage.enabled", false);
|
||||||
|
defaultPref("browser.region.update.enabled", false);
|
||||||
|
defaultPref("browser.safebrowsing.downloads.remote.block_potentially_unwanted", false);
|
||||||
|
defaultPref("browser.safebrowsing.downloads.remote.block_uncommon", false);
|
||||||
|
defaultPref("browser.safebrowsing.downloads.remote.enabled", false);
|
||||||
|
defaultPref("browser.startup.homepage", "chrome://browser/content/blanktab.html");
|
||||||
|
defaultPref("browser.startup.page", 3);
|
||||||
|
defaultPref("browser.tabs.dragDrop.createGroup.enabled", false);
|
||||||
|
defaultPref("browser.tabs.hoverPreview.showThumbnails", false);
|
||||||
|
defaultPref("browser.tabs.inTitlebar", 1);
|
||||||
|
defaultPref("browser.tabs.warnOnClose", true);
|
||||||
|
defaultPref("browser.toolbars.bookmarks.visibility", "never");
|
||||||
|
defaultPref("browser.translations.enable", false);
|
||||||
|
defaultPref("browser.translations.neverTranslateLanguages", "en");
|
||||||
|
defaultPref("clipboard.autocopy", false);
|
||||||
|
defaultPref("devtools.console.stdout.chrome", false);
|
||||||
|
defaultPref("devtools.debugger.remote-enabled", false);
|
||||||
|
defaultPref("dom.forms.autocomplete.formautofill", true);
|
||||||
|
defaultPref("dom.private-attribution.submission.enabled", false);
|
||||||
|
defaultPref("extensions.pictureinpicture.enable_picture_in_picture_overrides", true);
|
||||||
|
defaultPref("intl.regional_prefs.use_os_locales", true);
|
||||||
|
defaultPref("layout.spellcheckDefault", 0);
|
||||||
|
defaultPref("librewolf.webgl.prompt.hide", false);
|
||||||
|
defaultPref("media.eme.enabled", true);
|
||||||
|
defaultPref("media.videocontrols.picture-in-picture.video-toggle.enabled", false);
|
||||||
|
defaultPref("middlemouse.paste", false);
|
||||||
|
defaultPref("network.captive-portal-service.enabled", false);
|
||||||
|
defaultPref("network.connectivity-service.enabled", false);
|
||||||
|
defaultPref("network.http.http3.enable_0rtt", false);
|
||||||
|
defaultPref("network.http.referer.disallowCrossSiteRelaxingDefault.top_navigation", true);
|
||||||
|
defaultPref("network.prefetch-next", false);
|
||||||
|
defaultPref("privacy.annotate_channels.strict_list.enabled", true);
|
||||||
|
defaultPref("privacy.bounceTrackingProtection.mode", 1);
|
||||||
|
defaultPref("privacy.fingerprintingProtection", true);
|
||||||
|
defaultPref("privacy.query_stripping.enabled", true);
|
||||||
|
defaultPref("privacy.query_stripping.enabled.pbmode", true);
|
||||||
|
defaultPref("privacy.sanitize.sanitizeOnShutdown", false);
|
||||||
|
defaultPref("privacy.spoof_english", 1);
|
||||||
|
defaultPref("privacy.trackingprotection.consentmanager.skip.pbmode.enabled", false);
|
||||||
|
defaultPref("privacy.trackingprotection.emailtracking.enabled", true);
|
||||||
|
defaultPref("privacy.trackingprotection.enabled", true);
|
||||||
|
defaultPref("privacy.trackingprotection.socialtracking.enabled", true);
|
||||||
|
defaultPref("privacy.userContext.enabled", false);
|
||||||
|
defaultPref("security.tls.enable_0rtt_data", false);
|
||||||
|
defaultPref("sidebar.main.tools", "history,bookmarks");
|
||||||
|
defaultPref("sidebar.revamp", true);
|
||||||
|
defaultPref("sidebar.verticalTabs", true);
|
||||||
|
defaultPref("signon.management.page.breach-alerts.enabled", false);
|
||||||
|
defaultPref("toolkit.legacyUserProfileCustomizations.stylesheets", true);
|
||||||
Reference in New Issue
Block a user