Skip to content

Add GitHub star banner and theme preference functionality - #3

Merged
Danilqa merged 1 commit into
mainfrom
ask-for-stars
Jan 25, 2026
Merged

Add GitHub star banner and theme preference functionality#3
Danilqa merged 1 commit into
mainfrom
ask-for-stars

Conversation

@Danilqa

@Danilqa Danilqa commented Jan 25, 2026

Copy link
Copy Markdown
Owner

Note

Adds theme customization and a small promotional banner, plus minor UI polish.

  • Implements system/light/dark theme preference with localStorage persistence and system color-scheme detection; applies via Radix Theme appearance
  • New dropdown in header with Radix icons (SunIcon, MoonIcon, DesktopIcon, CheckIcon) to switch themes
  • Adds GitHub star banner with new styles; body background now uses var(--color-background)
  • Replaces emoji section headers with Radix icons and chevron in InvoiceForm; minor layout tweaks
  • Adds @radix-ui/react-icons dependency

Written by Cursor Bugbot for commit c64435b. This will update automatically on new commits. Configure here.

@Danilqa
Danilqa merged commit fac0215 into main Jan 25, 2026
2 checks passed

@cursor cursor Bot 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.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

Comment thread src/App.css
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
background-color: #f8fafc;
background-color: var(--color-background);

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

CSS variable undefined at body element scope

Medium Severity

The body element's background-color now uses var(--color-background), but this CSS variable is scoped to the Radix Theme component, which is a descendant of body. Since CSS variables cascade down to children but not up to parents, --color-background is undefined at the body level. This causes the body background to use the browser default instead of the theme color, breaking the dark mode background and regressing from the previous hardcoded #f8fafc value.

Fix in Cursor Fix in Web

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