mirror of
https://github.com/catppuccin/catppuccin
synced 2024-11-24 20:43:05 +00:00
20 lines
346 B
SCSS
20 lines
346 B
SCSS
|
@use "sass:color";
|
||
|
|
||
|
$primary-color: hotpink;
|
||
|
|
||
|
@mixin border-radius($radius) {
|
||
|
-webkit-border-radius: $radius;
|
||
|
-moz-border-radius: $radius;
|
||
|
border-radius: $radius;
|
||
|
}
|
||
|
|
||
|
.my-element {
|
||
|
color: #{color.change($primary-color, $alpha: 0.1)};
|
||
|
width: 100%;
|
||
|
overflow: hidden;
|
||
|
}
|
||
|
|
||
|
.my-other-element {
|
||
|
@include border-radius(5px);
|
||
|
}
|