Bug Description
NativeShareButton.tsx uses hardcoded Tailwind color classes instead
of the CSS variable theme system used throughout the rest of the codebase.
This breaks dark mode consistency and visual cohesion.
Location
File: src/components/NativeShareButton.tsx
className={`... bg-blue-600 hover:bg-blue-700
focus:ring-blue-500 focus:ring-offset-gray-900 ...`}
Why This Is a Bug
Every other interactive component in this codebase uses CSS variables
for theming — for example:
bg-[var(--accent)] instead of bg-blue-600
hover:bg-[var(--accent-hover)] instead of hover:bg-blue-700
border-[var(--border)] instead of hardcoded colors
NativeShareButton is the only component using raw Tailwind color
classes. This means:
- The button does not respond to theme changes (light/dark mode)
- The blue color clashes with the rest of the UI which uses no blue
focus:ring-offset-gray-900 hardcodes a dark background assumption
Expected Behavior
The button should use CSS variables consistent with the rest of the UI:
bg-[var(--accent)] for background
hover:bg-[var(--accent-hover)] for hover state
focus:ring-[var(--accent)] for focus ring
- Remove
focus:ring-offset-gray-900
Actual Behavior
The share button renders with a hardcoded blue color that does not
match the app theme and does not adapt to light or dark mode.
Browser and OS Info
- OS: Windows 11
- Browser: Chrome
- Version: Latest
I would like to work on this under GSSoC'26.
/assign
GitHub: github.com/mallya-m
Bug Description
NativeShareButton.tsxuses hardcoded Tailwind color classes insteadof the CSS variable theme system used throughout the rest of the codebase.
This breaks dark mode consistency and visual cohesion.
Location
File:
src/components/NativeShareButton.tsxWhy This Is a Bug
Every other interactive component in this codebase uses CSS variables
for theming — for example:
bg-[var(--accent)]instead ofbg-blue-600hover:bg-[var(--accent-hover)]instead ofhover:bg-blue-700border-[var(--border)]instead of hardcoded colorsNativeShareButtonis the only component using raw Tailwind colorclasses. This means:
focus:ring-offset-gray-900hardcodes a dark background assumptionExpected Behavior
The button should use CSS variables consistent with the rest of the UI:
bg-[var(--accent)]for backgroundhover:bg-[var(--accent-hover)]for hover statefocus:ring-[var(--accent)]for focus ringfocus:ring-offset-gray-900Actual Behavior
The share button renders with a hardcoded blue color that does not
match the app theme and does not adapt to light or dark mode.
Browser and OS Info
I would like to work on this under GSSoC'26.
/assign
GitHub: github.com/mallya-m