Skip to content

feat: update color variables and improve styling in index.css#63

Merged
mroxso merged 1 commit into
mainfrom
feature/caffeine_colors
Mar 4, 2026
Merged

feat: update color variables and improve styling in index.css#63
mroxso merged 1 commit into
mainfrom
feature/caffeine_colors

Conversation

@mroxso

@mroxso mroxso commented Mar 4, 2026

Copy link
Copy Markdown
Owner

This pull request makes significant updates to the application's base styling in src/index.css, focusing on modernizing the color palette, typography, and shadow system for both light and dark themes. It also introduces improved usage of Tailwind's layering and utility features for more consistent styling across the app.

Theme and Palette Updates:

  • Overhauled the color variables for both light and dark themes, shifting from blue/purple-centric hues to a more neutral and warm palette. This affects background, foreground, card, popover, primary, secondary, accent, and chart colors, making the UI feel less cold and more inviting.
  • Updated the shadow system to use more subtle, modern values and changed the color model from HSL to OKLCH for improved visual consistency and accessibility.

Typography and Utility Improvements:

  • Replaced legacy font stacks with system-based, cross-platform font families for --font-sans, --font-serif, and --font-mono, enhancing readability and performance.
  • Added Tailwind's base, components, and utilities inside a custom @layer base block, ensuring better layering and easier overrides for global styles.
  • Applied global utility classes to all elements and the body for consistent border and background

@mroxso mroxso self-assigned this Mar 4, 2026
@mroxso mroxso merged commit e3020fb into main Mar 4, 2026
1 check passed
@mroxso mroxso deleted the feature/caffeine_colors branch March 4, 2026 18:11
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.

1 participant