-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Clean up theme #16166
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
base: dev
Are you sure you want to change the base?
Clean up theme #16166
Conversation
✅ Deploy Preview for ethereumorg ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
--card-gradient: linear-gradient( | ||
123deg, | ||
rgba(255, 255, 255, 0.2) 58.99%, | ||
rgba(174, 110, 203, 0.13) 104.04% | ||
); | ||
--card-gradient-secondary: linear-gradient( | ||
95deg, | ||
rgba(211, 145, 242, 0.12) 0%, | ||
rgba(159, 43, 212, 0.12) 102.78% | ||
); | ||
--card-gradient-secondary-hover: linear-gradient( | ||
95deg, | ||
rgba(211, 145, 242, 0.2) 0%, | ||
rgba(159, 43, 212, 0.2) 102.78% | ||
); | ||
--ten-year-gradient: linear-gradient( | ||
100deg, | ||
#f6c9ea 55.38%, | ||
#c7a9f1 110.54% |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Per in-file comment:
/**
/* Gradients (radial, conic, or linear over 3 stops)
/* For linear-gradient up to 3 stops, use Tailwind classes
/* https://tailwindcss.com/docs/background-image#linear-gradients
*/
Noting that these could be simple tailwind classes instead, though if we want to nit-pick on non-standard angles (123deg, 95deg, 100deg), that would have to wait for tailwind v4, where we could do bg-linear-123
as an example.
Otherwise we could standardize the angles with something like:
bg-gradient-to-br from-white/20 from-[59%] to-[rgb(174,110,203)]/[0.13] to-[104%]
in situ
or
--card-gradient: @apply bg-gradient-to-br from-white/20 from-[59%] to-[rgb(174,110,203)]/[0.13] to-[104%];
@pettinarip Not sure if you have a preference... not a huge deal, but given we're using tailwind I try to stick to classes where possible
Remove unused vars from theme and format
semantic-tokens.css
file