mirror of
https://github.com/basecamp/omarchy.git
synced 2026-02-17 15:25:37 +00:00
Use theme config templates with singular color definition (#4053)
* Attempt to templaterize the theme specific files * Cleanup * Slim down * Combine render into -set * Pull out the dynamic template rendering again, but simpler * Fix vars * Variables are lowercase * Better presentation * Fix missing colors * Provide stripped values too * Fix colors for regular hex format * Bring back explicit btop themes They're too involved to derive from a basic color set * Make an atomic swap of the theme directories * No longer used by walker to cancel * Explain why * Remove redundant const * Consistent const naming * No longe have $THEMES_DIR * Correct the blue * Set opencode colors too * Fix colors for readability * Move the templates together with the others in default * Split user themes and default themes * Fix paths * Look for both user themes and default themes Plus speed things up * Migrate to the new setup where default themes live inside omarchy * Explicitly store the name of the current theme * Cleanup * No longer need omarchy-theme-next since themes are now fully rendered, not symlinks * Get current theme name from the new theme.name file * Look for user background images in dedicated directory * Need yq for toml * Need yq to parse colors.toml * Look for backgrounds matching the new theme.name We no longer have symlinks * Migrate existing user backgrounds to the new proper location * Install user backgrounds in the correct path * Fix quoting * Just rely on the system theme for opencode and get ready for USRSIG2 being available to live reload * Fix template generation for rgb colors
This commit is contained in:
committed by
GitHub
parent
de2757466b
commit
4a07b94cb6
26
themes/tokyo-night/colors.toml
Normal file
26
themes/tokyo-night/colors.toml
Normal file
@@ -0,0 +1,26 @@
|
||||
accent = "#7aa2f7"
|
||||
active_border_color = "#7aa2f7"
|
||||
active_tab_background = "#7aa2f7"
|
||||
|
||||
cursor = "#c0caf5"
|
||||
foreground = "#a9b1d6"
|
||||
background = "#1a1b26"
|
||||
selection_foreground = "#c0caf5"
|
||||
selection_background = "#7aa2f7"
|
||||
|
||||
color0 = "#32344a"
|
||||
color1 = "#f7768e"
|
||||
color2 = "#9ece6a"
|
||||
color3 = "#e0af68"
|
||||
color4 = "#7aa2f7"
|
||||
color5 = "#ad8ee6"
|
||||
color6 = "#449dab"
|
||||
color7 = "#787c99"
|
||||
color8 = "#444b6a"
|
||||
color9 = "#ff7a93"
|
||||
color10 = "#b9f27c"
|
||||
color11 = "#ff9e64"
|
||||
color12 = "#7da6ff"
|
||||
color13 = "#bb9af7"
|
||||
color14 = "#0db9d7"
|
||||
color15 = "#acb0d0"
|
||||
Reference in New Issue
Block a user