Skip to content

Conversation

pettinarip
Copy link
Member

Remove unused vars from theme and format semantic-tokens.css file

Copy link

netlify bot commented Sep 1, 2025

Deploy Preview for ethereumorg ready!

Name Link
🔨 Latest commit cd36e4a
🔍 Latest deploy log https://app.netlify.com/projects/ethereumorg/deploys/68b5b44618cd67000886da2b
😎 Deploy Preview https://deploy-preview-16166--ethereumorg.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
7 paths audited
Performance: 45 (🔴 down 10 from production)
Accessibility: 96 (🟢 up 1 from production)
Best Practices: 92 (🔴 down 8 from production)
SEO: 100 (no change from production)
PWA: 59 (no change from production)
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

Comment on lines +95 to +113
--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%
Copy link
Member

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

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.

2 participants