Skip to content

Give the desktop app Curity's look - #37

Merged
urre merged 2 commits into
mainfrom
claude/curity-theme
Oct 26, 2026
Merged

urre merged 2 commits into
mainfrom
claude/curity-theme

Conversation

@urre

@urre urre commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

Uses the colors and font of Curity's 2026 styleguide in the desktop app. Only the theme changes; no behavior does.

Changes

  • Palette: primary is rebuilt around Curity purple #7B4FD4 (fills) and lilac #C9A8FF (links, focus). Grays are tinted towards Curity's navy, ending in midnight #130E2B. The steel-blue text and divider colors, from the retired 2023 palette, are replaced.
  • Font: Google Sans is bundled (SIL Open Font License, desktop/src/Theme/fonts/OFL.txt) and used for all text.
  • Dark mode: the background is navy #0D0B1A with Curity's purple glow from the top right. The toolbar is transparent so the glow shows through, and cards use the translucent purple gradient with a lilac border.
  • Buttons and navigation: primary buttons and the selected sidebar item are a #7B4FD4 fill with white text in both modes. Focus rings are lilac instead of Chakra's blue.
  • Logos: the Curity logo is white in dark mode and navy in light mode instead of purple. The DevPod mark uses Curity purple.
  • Tabs: unselected settings tabs are transparent in dark mode instead of black.

Light mode is kept. The app still follows the system color scheme.

Screenshots

devpod-curity-theme-light devpod-curity-theme-dark

Testing

  • yarn types:check, yarn lint:ci and yarn format:check pass.
  • Checked the UI in Chrome against the Vite dev server, in dark and light mode, on the Workspaces, Providers and Settings pages and in the welcome modal. The Tauri app wasn't built, since there was no Rust toolchain.

🤖 Generated with Claude Code

Use the colors and font of Curity's 2026 styleguide in the desktop app:

- Primary is rebuilt around Curity purple #7B4FD4 (fills) and lilac
  #C9A8FF (links, focus), and the grays are tinted towards Curity's navy,
  ending in midnight #130E2B. The steel blue text and divider colors from
  the retired 2023 palette are replaced.
- Google Sans (SIL Open Font License) is bundled and used for all text.
- In dark mode the background is navy #0D0B1A with Curity's purple glow
  from the top right, the toolbar is transparent so the glow shows, and
  cards use the translucent purple gradient with a lilac border.
- Primary buttons and the selected sidebar item are a #7B4FD4 fill with
  white text in both modes, and focus rings are lilac instead of blue.
- The Curity logo is white in dark mode and navy in light mode instead of
  purple, and the DevPod mark uses Curity purple.
- Unselected settings tabs are transparent in dark mode instead of black.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@urre
urre requested a review from renatoathaydes October 26, 2026 14:08

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Font-license packaging, incomplete font and focus styling, and reduced light-mode contrast remain unresolved.

5 open issues
What changed in this PR

Updates the desktop app’s shared theme to Curity’s 2026 visual style, preserving light mode and system color-scheme selection.

Changes:

  • Replaces the palette and adds dark-mode gradients, updated navigation styling, and focus colors.
  • Bundles Google Sans and configures it for headings and body text.
  • Updates logo colors and documents the visual refresh.
File Description
desktop/​src/​Theme/​theme.ts Updates palette, typography, links, and focus shadow.
desktop/​src/​Theme/​tabs.ts Adjusts dark-mode tab backgrounds.
desktop/​src/​Theme/​fonts/​OFL.txt Adds the font license text.
desktop/​src/​Theme/​fonts.css Defines four bundled Google Sans weights.
desktop/​src/​Theme/​card.ts Adds translucent dark-mode card styling.
desktop/​src/​Theme/​button.ts Updates primary button colors.
desktop/​src/​main.tsx Loads the font stylesheet.
desktop/​src/​icons/​DevpodWordmark.tsx Recolors the DevPod mark.
desktop/​src/​components/​Layout/​Sidebar.tsx Updates selected navigation colors.
desktop/​src/​components/​CurityBadge.tsx Adapts the Curity logo to color mode.
desktop/​src/​App/​OSSApp.tsx Adds the dark background glow and transparent toolbar.
CHANGELOG.md Records the desktop theme refresh.

Review effort: Balanced

Comment thread desktop/public/fonts/OFL.txt Resolved
Comment thread desktop/src/Theme/theme.ts Resolved
Comment thread desktop/src/Theme/theme.ts Resolved
Comment thread desktop/src/Theme/theme.ts Outdated
secondary: "#465E75",
tertiary: "#5C7997",
secondary: "#645E82",
tertiary: "#837D9E",

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in 69f2550: text.tertiary is now a semantic token, gray.600 in light mode (6.06:1 against white) and gray.400 in dark mode.

Comment thread desktop/src/main.tsx Resolved
- Ship the Google Sans license with the app: the fonts and OFL.txt now
  live in desktop/public/fonts, which Vite copies into the bundle as is,
  and OFL.txt starts with the fonts' copyright notice.
- Load the fonts from the ThemeProvider so the update window uses them
  too.
- Use a darker purple for focus rings in light mode, where lilac had
  1.99:1 contrast against white, and apply it to inputs, selects and
  textareas, which still had Chakra's blue focus border.
- Make text.tertiary gray.600 in light mode and gray.400 in dark mode
  so it meets WCAG AA contrast.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@urre
urre merged commit aaa43d0 into main Oct 26, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants