mirror of
https://github.com/picocss/pico.git
synced 2025-04-22 17:36:15 -04:00
chore: replace @import
with @use
This commit is contained in:
parent
a6f0d0ca74
commit
51a68ce0fc
39 changed files with 1197 additions and 1659 deletions
|
@ -1,3 +1,5 @@
|
|||
@use "../settings";
|
||||
|
||||
/**
|
||||
* Button
|
||||
*/
|
||||
|
@ -61,7 +63,7 @@ input[type="reset"],
|
|||
text-align: center;
|
||||
cursor: pointer;
|
||||
|
||||
@if $enable-transitions {
|
||||
@if settings.$enable-transitions {
|
||||
transition: background-color var(--transition), border-color var(--transition),
|
||||
color var(--transition), box-shadow var(--transition);
|
||||
}
|
||||
|
@ -80,7 +82,7 @@ input[type="reset"],
|
|||
}
|
||||
|
||||
// .secondary, .contrast & .outline
|
||||
@if $enable-classes {
|
||||
@if settings.$enable-classes {
|
||||
// Secondary
|
||||
:is(button, input[type="submit"], input[type="button"], [role="button"]).secondary,
|
||||
input[type="reset"] {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue