Closed
Conversation
Add a new purple dark theme variant with violet accents. The theme uses the same dark base (zinc backgrounds, dark mode) but replaces sky/blue primary and active accent colors with violet. Changes: - New site/src/theme/purple/ directory with all theme files (mui, roles, branding, experimental, monaco, index) - Register purple theme in site/src/theme/index.ts - ThemeProvider maps purple to 'dark' CSS class for Tailwind compat - Add Purple option to appearance settings form with preview badge - Theme preview shows violet accents to differentiate from dark
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Add a new purple dark theme variant with violet accents.
What
New
purpletheme option in the appearance settings. It's a dark-mode theme that replaces sky/blue primary and active accent colors with violet throughout the UI.Changes
site/src/theme/purple/directory — complete theme withmui.ts,roles.ts,branding.ts,experimental.ts,monaco.ts, andindex.tssite/src/theme/index.ts— register the purple themesite/src/contexts/ThemeProvider.tsx— mappurpleto thedarkCSS class for Tailwind compatibility, and clean up the class on unmountAppearanceForm.tsx— add Purple option with a Preview badge and purple-accented theme previewDesign decisions
featureStagealso uses violet to match the theme accent<PreviewBadge />since this is a new experimental theme