This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@use "sass:string"; | |
@function replace($str, $s1, $s2) { | |
$n: string.index($str, $s1); | |
@return string.slice($str, 1, $n - 1) + $s2 + string.slice($str, $n + string.length($s1)); | |
} | |
@mixin variants($variants...) { | |
@each $variant in $variants { | |
@if $variant == core { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@use "sass:string"; | |
@function replace($str, $s1, $s2) { | |
$n: string.index($str, $s1); | |
@return string.slice($str, 1, $n - 1) + $s2 + string.slice($str, $n + string.length($s1)); | |
} | |
@mixin variants($variants...) { | |
@each $variant in $variants { | |
@if $variant == core { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@use "sass:string"; | |
@mixin variants($variants...) { | |
@each $variant in $variants { | |
@if $variant == core { | |
@content; | |
} @else if $variant == hover { | |
@at-root { | |
.hover\:#{string.slice("" + &, 2)}:hover { | |
@content; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@use "sass:string"; | |
@mixin variants($variants...) { | |
@each $variant in $variants { | |
@if $variant == hover { | |
@at-root { | |
.hover\:#{string.slice("" + &, 2)}:hover { | |
@content; | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*! duomo | MIT License | https://github.com/zaydek/duomo */ | |
/* purgecss start ignore */ | |
/*! modern-normalize v1.0.0 | MIT License | https://github.com/sindresorhus/modern-normalize */ | |
/* | |
Document | |
======== | |
*/ | |
/** | |
Use a better box model (opinionated). | |
*/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@function thing($str) { | |
@return $str; | |
} | |
@at-root { | |
.a { | |
top: thing(cap(8)); | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@function thing($str) { | |
@return $str; | |
} | |
@at-root { | |
.a { | |
top: thing(cap(8)); | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@function thing($str) { | |
@return $str; | |
} | |
@at-root { | |
.a { | |
top: thing(cap(8)); | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@use "sass:list"; | |
@use "sass:meta"; | |
@function no-op($selector) { | |
@return ".#{$selector}"; | |
} | |
@function hover($selector) { | |
@return ".hover\\:#{$selector}:hover"; | |
} | |
@function focus($selector) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@use "sass:list"; | |
@use "sass:meta"; | |
@function no-op($selector) { | |
@return ".#{$selector}"; | |
} | |
@function hover($selector) { | |
@return ".hover\\:#{$selector}:hover"; | |
} | |
@function focus($selector) { |