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

Buttons: Adding CSS var #1426

Merged
merged 5 commits into from
Oct 13, 2022
Merged

Buttons: Adding CSS var #1426

merged 5 commits into from
Oct 13, 2022

Conversation

louismaximepiton
Copy link
Member

@louismaximepiton louismaximepiton commented Jul 28, 2022

One question remains: Do we need to use button-variant in .btn-no-outline and .btn-social ?
I did it the other way (writting down all the variables) because from what I've seen, it lightens the bundle but I'm open minded on every argument.

It can be reviewed commit by commit if prefered and/or can be splited in different PRs.

@netlify
Copy link

netlify bot commented Jul 28, 2022

Deploy Preview for boosted ready!

Name Link
🔨 Latest commit 549b397
🔍 Latest deploy log https://app.netlify.com/sites/boosted/deploys/6347b8df861d6f0009d0af45
😎 Deploy Preview https://deploy-preview-1426--boosted.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@louismaximepiton louismaximepiton marked this pull request as ready for review July 28, 2022 12:35
scss/_buttons.scss Show resolved Hide resolved
scss/_buttons.scss Show resolved Hide resolved
scss/_buttons.scss Show resolved Hide resolved
@isabellechanclou
Copy link
Member

isabellechanclou commented Aug 18, 2022

1st commit : No need of CSS vars for $link-decoration and $link-hover-decoration?

@louismaximepiton
Copy link
Member Author

1st commit : No need of CSS vars for $link-decoration and $link-hover-decoration?

It was done this way in order to be closer to Bs !

Copy link
Member

@julien-deramond julien-deramond left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a comment regarding an apparently useless CSS var redefinition. Haven't looked at all the CSS vars redefinitions in details but there's no regressions so that's good to me.

scss/_buttons.scss Outdated Show resolved Hide resolved
@sonarcloud
Copy link

sonarcloud bot commented Oct 13, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@julien-deramond julien-deramond merged commit 20f1e5f into main Oct 13, 2022
@julien-deramond julien-deramond deleted the main-lmp-buttons-css-var branch October 13, 2022 07:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants