mirror of
https://github.com/picocss/pico.git
synced 2025-04-23 01:46:14 -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";
|
||||
|
||||
/**
|
||||
* Accordion (<details>)
|
||||
*/
|
||||
|
@ -17,7 +19,7 @@ details {
|
|||
color: var(--accordion-close-summary-color);
|
||||
}
|
||||
|
||||
@if $enable-transitions {
|
||||
@if settings.$enable-transitions {
|
||||
transition: color var(--transition);
|
||||
}
|
||||
|
||||
|
@ -48,7 +50,7 @@ details {
|
|||
background-repeat: no-repeat;
|
||||
content: "";
|
||||
|
||||
@if $enable-transitions {
|
||||
@if settings.$enable-transitions {
|
||||
transition: transform var(--transition);
|
||||
}
|
||||
}
|
||||
|
@ -72,7 +74,7 @@ details {
|
|||
background-image: var(--icon-chevron-button);
|
||||
}
|
||||
|
||||
@if $enable-classes {
|
||||
@if settings.$enable-classes {
|
||||
// .contrast
|
||||
&:not(.outline).contrast {
|
||||
// Marker
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue