catppuccin/samples/scss.scss

20 lines
346 B
SCSS
Raw Normal View History

2023-09-22 00:22:30 +00:00
@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);
}