Skip to content
This repository was archived by the owner on Apr 25, 2025. It is now read-only.

fix: theme black and white colors #8

Merged
merged 1 commit into from
Feb 18, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion root/usr/lib/wsl/oobe.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ systemctl enable chronyd.service
# https://wiki.archlinux.org/title/Pacman/Package_signing#Initializing_the_keyring
pacman-key --init
pacman-key --populate archlinux
pacman -S --noconfirm --needed archlinux-keyring
pacman -Sy --noconfirm --needed archlinux-keyring

DEFAULT_UID='1000'

Expand Down
8 changes: 4 additions & 4 deletions terminal-profile/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,22 +67,22 @@ class Scheme {
this.background = hexFromArgb(scheme.surface);
this.selectionBackground = hexFromArgb(scheme.surfaceVariant);
this.foreground = hexFromArgb(scheme.onSurface);
this.black = Scheme.findColor(theme.customColors, ColorName.black, isDark);
this.black = hexFromArgb(theme.palettes.neutral.tone(5));
this.red = Scheme.findColor(theme.customColors, ColorName.red, isDark);
this.green = Scheme.findColor(theme.customColors, ColorName.green, isDark);
this.yellow = Scheme.findColor(theme.customColors, ColorName.yellow, isDark);
this.blue = Scheme.findColor(theme.customColors, ColorName.blue, isDark);
this.purple = Scheme.findColor(theme.customColors, ColorName.purple, isDark);
this.cyan = Scheme.findColor(theme.customColors, ColorName.cyan, isDark);
this.white = Scheme.findColor(theme.customColors, ColorName.white, isDark);
this.brightBlack = Scheme.findColor(theme.customColors, ColorName.brightBlack, isDark);
this.white = hexFromArgb(theme.palettes.neutral.tone(80));
this.brightBlack = hexFromArgb(theme.palettes.neutral.tone(20));
this.brightRed = Scheme.findColor(theme.customColors, ColorName.brightRed, isDark);
this.brightGreen = Scheme.findColor(theme.customColors, ColorName.brightGreen, isDark);
this.brightYellow = Scheme.findColor(theme.customColors, ColorName.brightYellow, isDark);
this.brightBlue = Scheme.findColor(theme.customColors, ColorName.brightBlue, isDark);
this.brightPurple = Scheme.findColor(theme.customColors, ColorName.brightPurple, isDark);
this.brightCyan = Scheme.findColor(theme.customColors, ColorName.brightCyan, isDark);
this.brightWhite = Scheme.findColor(theme.customColors, ColorName.brightWhite, isDark);
this.brightWhite = hexFromArgb(theme.palettes.neutral.tone(95));
}

/**
Expand Down