Merge branch 'dev' into pr/141

This commit is contained in:
Lucas Larroche 2022-03-06 15:10:20 +07:00
commit ad534987fc
16 changed files with 78 additions and 71 deletions

View file

@ -4,11 +4,11 @@
// Reboot based on :
// - normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css
// - sanitize.css v12.0.1 | CC0 1.0 Universal | github.com/csstools/sanitize.css
// - sanitize.css v13.0.0 | CC0 1.0 Universal | github.com/csstools/sanitize.css
//
// 1. Change the font styles in all browsers
// 2. Remove the margin in Firefox and Safari
// 2. Remove the margin on controls in Safari
// 3. Show the overflow in Edge
button {
margin: 0; // 2
@ -17,7 +17,7 @@ button {
text-transform: none; // 1
}
// Correct the inability to style clickable types in iOS and Safari
// Correct the inability to style buttons in iOS and Safari
button,
[type="button"],
[type="reset"],
@ -83,7 +83,7 @@ input[type="reset"],
// .secondary, .contrast & .outline
@if $enable-classes {
// Secondary
:is(button, input[type="submit"], input[type="button"], [role="button"]).secondary,
input[type="reset"] {
@ -152,8 +152,7 @@ input[type="reset"],
--color: var(--contrast-hover);
}
}
}
}
@else {
// Secondary button without .class
input[type="reset"] {