mirror of
https://github.com/picocss/pico.git
synced 2025-04-25 02:36:15 -04:00
fix SASS Deprecation Warning
> Sass's behavior for declarations that appear after nested rules will be changing to match the behavior specified by CSS in an upcoming version. To keep the existing behavior, move the declaration above the nested rule. To opt into the new behavior, wrap the declaration in `& {}`. > More info: https://sass-lang.com/d/mixed-decls
This commit is contained in:
parent
6dc6489e69
commit
05af0130eb
1 changed files with 10 additions and 8 deletions
|
@ -35,16 +35,18 @@
|
|||
}
|
||||
}
|
||||
|
||||
// Borders
|
||||
#{$css-var-prefix}border-radius: 0.25rem;
|
||||
#{$css-var-prefix}border-width: 0.0625rem;
|
||||
#{$css-var-prefix}outline-width: 0.125rem;
|
||||
& {
|
||||
// Borders
|
||||
#{$css-var-prefix}border-radius: 0.25rem;
|
||||
#{$css-var-prefix}border-width: 0.0625rem;
|
||||
#{$css-var-prefix}outline-width: 0.125rem;
|
||||
|
||||
// Transitions
|
||||
#{$css-var-prefix}transition: 0.2s ease-in-out;
|
||||
// Transitions
|
||||
#{$css-var-prefix}transition: 0.2s ease-in-out;
|
||||
|
||||
// Spacings
|
||||
#{$css-var-prefix}spacing: 1rem;
|
||||
// Spacings
|
||||
#{$css-var-prefix}spacing: 1rem;
|
||||
}
|
||||
|
||||
// Spacings for typography elements
|
||||
@if map.get($modules, "content/typography") {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue