summaryrefslogtreecommitdiff
path: root/packages/cli/src/ui/themes
AgeCommit message (Collapse)Author
2025-06-11Allow themes to update gradient colors (#914)Miguel Solorio
2025-06-06Fix build break due to changes to theme. (#796)Jacob Richman
2025-06-06feat(cli): respect the NO_COLOR env variable (#772)Jacob Richman
2025-06-05Allow themes to theme the UI (#769)Miguel Solorio
2025-06-04Update light themes (#726)Miguel Solorio
2025-05-31Update default & ANSI theme names (#637)Miguel Solorio
2025-05-09feat: Improve theme not found handlingTaylor Mullen
Modify to return a boolean instead of throwing an error when a theme is not found. Update CLI startup and hook to handle the boolean return value for more graceful error handling.
2025-05-08UI Polish for theme selector (#294)Miguel Solorio
2025-05-02Use parameter properties where possible. (#242)Jacob Richman
2025-05-01Save settings to ~/.gemini/settings.json and optionally ↵Jacob Richman
/your/workspace/.gemini/settings.json (#237)
2025-04-24Switch Ansi theme to use regular colors to improve readability. (#154)Jacob Richman
2025-04-24Add an ansi theme. (#152)Jacob Richman
Add the gradient used by the ascii art logo to theme.
2025-04-23Make ui/colors refelect the current theme.jacob314
2025-04-22Add theming support.Taylor Mullen
- Added a number of common themes to our support matrix: - AtomOneDark - Dracula - VS - GitHub - GoogleCode - XCode - ... Admittedly these all were randomly picked, we could probably curate these better... - Added a new `ThemeDialog` UI that can be accessed via `/theme`. It shows your currentlyt available themes and allows you to change them freely. It does **not**: - Save the theme between sessions - Allow you to hit escape - Show a preview prior to selection. - These themes are from reacts highlight js library. Fixes https://b.corp.google.com/issues/412797985
2025-04-22Colorize code blocks.Taylor Mullen
- This changeset uses lowlight.js to parse the code in codeblocks to derive an AST, it then translates that into CSS themes that are widely known via highlight.js (things that GitHub use), finally I translate those css.color attributes into Ink colors and effectivel do <Text color={the color}>the text</Text>. - To do this I needed to build color mappings from css -> Ink - I introduced a new `Theme` type that will be used to represent many different color themes. It also enabled the color mappings to be seamless. - Added a theme manager that only has one theme for now (VS2015). The theme works very well with our colorization. - Some other bits was removal of borders around our codeblocks since they now have richer rendering. - Most complex bits of code in this PR is in the `CodeColorizer.tsx` Fixes https://b.corp.google.com/issues/412433479