resources/assets/sass/elements/_label.scss
@import "@sassmixins/text-color";
.dark .label {
@include text-color(label-text-color-dark, 'colors.gray.200');
}
.label {
@apply block text-sm font-normal my-2 whitespace-nowrap;
@include text-color(label-text-color, 'colors.gray.800');
&.bigger {
@apply text-lg;
}
}
.dark p {
&.description {
@include text-color(description-text-color-dark, 'colors.gray.200');
}
}
p {
&.description {
@include text-color(description-text-color, 'colors.gray.800');
@apply text-sm;
}
}