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

consistent colorscheme in tailwind config #142

Open
sparrowsl opened this issue Nov 21, 2024 · 0 comments
Open

consistent colorscheme in tailwind config #142

sparrowsl opened this issue Nov 21, 2024 · 0 comments

Comments

@sparrowsl
Copy link
Collaborator

sparrowsl commented Nov 21, 2024

as per the figma UI in #133 there are already specific colors to be used (~4 type of lime-green-ish)

but after inspecting the site I see bg-[#d1ea9a]/90 for the header in explore and bg-cyan-950 for the navigation
with a fixed color scheme inside the tailwind config we could get:

// ...
colors: {
    "brand-lime": #d1ea9a
    // other colors
}
// ...

now in the source code we could just reference the text-brand-lime/bg-brand-lime with some modifiers like bg-brand-lime/90 so now we only need to change one specific color and all other places will change with the update.

Or we just use the ones from tailwind,

@sparrowsl sparrowsl changed the title consistent color scheme in tailwind config consistent colorscheme in tailwind config Dec 30, 2024
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

No branches or pull requests

1 participant