Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: new scrollbar style and fix some bug in dark mode #332

Merged
merged 4 commits into from
Apr 13, 2023

Conversation

Innei
Copy link
Member

@Innei Innei commented Apr 13, 2023

WHAT

🤖 Generated by Copilot at f8209b4

This pull request adds a new feature to allow users to customize the theme color of the xLog app, and enhances the scrollbar styling with the theme color. It introduces a new CSS variable --theme-color in src/css/variables.css and applies it to the webkit scrollbar in src/css/tailwind.css.

🤖 Generated by Copilot at f8209b4

The xLog app has a new feature
To change its main color with a switcher
It uses --theme-color
And adjusts to the user
And the webkit scrollbar gets a makeover

WHY

Fix #330

HOW

🤖 Generated by Copilot at f8209b4

  • Add custom styles for the webkit scrollbar using theme color variables (link)
  • Define a new CSS variable --theme-color that can be dynamically changed by the theme switcher script or the system settings (link, link)

Signed-off-by: Innei <tukon479@gmail.com>
@vercel
Copy link

vercel bot commented Apr 13, 2023

@Innei is attempting to deploy a commit to the RSS3 Team on Vercel.

A member of the Team first needs to authorize it.

@Innei
Copy link
Member Author

Innei commented Apr 13, 2023

image

@zsakvo
Copy link
Member

zsakvo commented Apr 13, 2023

I think we need to consider Firefox as well.

Signed-off-by: Innei <tukon479@gmail.com>
Signed-off-by: Innei <tukon479@gmail.com>
Signed-off-by: Innei <tukon479@gmail.com>
@Innei Innei changed the title feat: new scrollbar style feat: new scrollbar style and fix some bug in dark mode Apr 13, 2023
@Innei Innei requested review from DIYgod and zsakvo April 13, 2023 16:09
@DIYgod DIYgod merged commit 8534716 into Crossbell-Box:dev Apr 13, 2023
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.

Dark mode scrollbar style
3 participants