sass-site/source/assets/sass/components/_playground.scss

27 lines
604 B
SCSS
Raw Normal View History

2023-06-02 16:53:32 +02:00
@use 'sass:color';
2023-05-31 18:10:09 +02:00
@use '../breakpoints';
2023-06-02 16:53:32 +02:00
@use '../config/color/brand';
2023-05-31 18:10:09 +02:00
// Use h2 sizes for condensed header
.sl-r-banner-playground h1 {
@include breakpoints.sl-breakpoint--medium {
--h1-size: var(--sl-font-size--xx-large);
}
@include breakpoints.sl-breakpoint--large {
--h1-size: var(--sl-font-size--xxx-large);
}
}
2023-06-02 16:53:32 +02:00
.playground-wrapper {
display: flex;
gap: var(--sl-gutter);
> div {
// Duplicated from fun fact- should this be defined elsewhere?
border: var(--sl-border--small) solid
color.adjust(brand.$sl-color--patina, $lightness: 32%);
flex: 50%;
}
}