snaha / diete.design

https://diete.design
MIT License
0 stars 0 forks source link

feat: light overlay button #127

Closed agazso closed 6 months ago

agazso commented 6 months ago

Added light overlay button variant along with light color calculations. Also fixed the dark overlay transparency. Removed all the unnecessary borders from buttons.

vercel[bot] commented 6 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
diete-design ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 10, 2024 5:01pm
agazso commented 6 months ago

LGTM. I thought removing the border will make the button size inconsistent, but it works fine.

Yeah, to avoid sizing issues the border is not removed, just the color is changed it to transparent.

vojtechsimetka commented 6 months ago

Yeah but my understanding was that the border is outside of the background color but that is not the case. With transparent border, the element background color is shown instead. You learn new things every day :)