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: add custom color theme support #35

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jatindotdev
Copy link

@jatindotdev jatindotdev commented Nov 21, 2024

Hey @fvrests,

I've been using Lavender as my new tab page for a while now. I love the Rosé Pine theme colors and changed my themes, including Google Chrome, to match. However, Lavender still works well for me, but they don't really match. I like the minimalist nature of Lavender, so I thought I should contribute a custom color feature to it. The default colors are pretty cool, by the way!

For custom theme, I have added a utility which does the job of deciding whether the color is darker or lighter.

----- Copilot Generated Description -----

This pull request introduces a new custom color theme feature. The most important changes include the addition of a custom color theme, updates to the options menu to support the new theme, and utility functions to handle color processing.

Screen.Recording.2024-11-22.at.2.51.08.AM.mp4

Custom Color Theme Feature:

Options Menu Updates:

  • src/components/options.vue: Integrated the custom color theme into the options menu, including input handling and theme selection.

Utility Functions:

  • src/utils/helpers.ts: Added utility functions hexToRgb and isColorDark to process and determine color brightness.

These changes collectively enable users to customize the theme color and ensure the application handles color selection and theme application effectively.

Copy link

vercel bot commented Nov 21, 2024

@jatindotdev is attempting to deploy a commit to the fvrests 's projects Team on Vercel.

A member of the Team first needs to authorize it.

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