Implement a new color system inspired from base24#4541
Open
bjarneo wants to merge 8 commits intobasecamp:devfrom
Open
Implement a new color system inspired from base24#4541bjarneo wants to merge 8 commits intobasecamp:devfrom
bjarneo wants to merge 8 commits intobasecamp:devfrom
Conversation
Include fallback for themes that are not updated to base24 colors
bjarneo
commented
Feb 7, 2026
Comment on lines
+85
to
+93
| # Graph gradient colors (spectrum shades from background to foreground) | ||
| theme[gradient_color_0]="{{ bg }}" | ||
| theme[gradient_color_1]="{{ lighter_bg }}" | ||
| theme[gradient_color_2]="{{ selection }}" | ||
| theme[gradient_color_3]="{{ muted }}" | ||
| theme[gradient_color_4]="{{ dark_fg }}" | ||
| theme[gradient_color_5]="{{ fg }}" | ||
| theme[gradient_color_6]="{{ light_fg }}" | ||
| theme[gradient_color_7]="{{ bright_fg }}" |
Contributor
Author
There was a problem hiding this comment.
Go through all of these one more time. Selection should probably not be part of the gradients.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implement a new color system with inspiration from base24 (can't edit the title)
The goal of this PR is to provide users with more color options when theming their application.
This implementation is more or less base24, however, the base24 naming convention is hard to follow, so I renamed the colors to a sane naming convention.
This PR will also move btop theming to a template file. It will also break the current setup for others who have changed to the colors.toml, so if this is going into the core, I can either write a mapping from the current colors.toml to the new one, or a script to convert to this system.
To do: Verify the colors for all the themes
The previous closed PRs:
#4526
#4538
Based on this post, https://discord.com/channels/1390012484194275541/1399365674832232448/1469128896166494289
and a discussion regarding the btop colors before the colors.toml launch.
Color Reference
Mapping between Omarchy color names and Base24 identifiers.
Shade ramp
bglighter_bgselectionmuteddark_fgfglight_fgbright_fgAccent colors
redyelloworangegreencyanbluepurplebrownExtended colors
dark_bgdarker_bgbright_redbright_yellowbright_greenbright_cyanbright_bluebright_purpleSemantic keys
These are set independently per theme and are not part of the Base24 spec:
backgroundforegroundaccentcursorselection_backgroundselection_foregroundDemo of Ayu Mirage
A test using base24 color scheme of Ayu Mirage, converted into the Omarchy colors