This commit is contained in:
Никита Круглицкий
2025-06-22 23:07:17 +06:00
parent 692edc978d
commit 1e70e7c45e
53 changed files with 758 additions and 218 deletions

View File

@@ -8,4 +8,4 @@
@media (min-width: 481px) {
@content;
}
}
}

View File

@@ -1,18 +1,15 @@
@use "sass:meta";
@use "sass:list";
@use "sass:string";
@use 'sass:meta';
@use 'sass:list';
@use 'sass:string';
@mixin element-variant(
$namespace,
$variant: '',
$map: ()
) {
@mixin element-variant($namespace, $variant: '', $map: ()) {
@if meta.type-of($map) == 'map' {
$withDarkVariant: false;
$variantPrefix: if(string.length($variant) > 0, '-' + $variant, '');
@at-root {
:root, .light-theme {
:root,
.light-theme {
@each $property, $value in $map {
@if meta.type-of($value) == 'list' {
@if $withDarkVariant == false and list.length($value) > 1 {

View File

@@ -1,3 +1,3 @@
@forward "element-variant";
@forward "typography";
@forward "adaptive";
@forward 'element-variant';
@forward 'typography';
@forward 'adaptive';