src/assets/scss/atoms/_a_label.scss
/** ======================================
* Atom : Label
* ======================================= */
.a-label {
display: block;
font-weight: $font-weight-bold;
color: $clr-0;
&:not(:last-child) {
margin-bottom: 1rem;
}
&.label {
cursor: pointer;
}
&[required] {
&::after {
content: " *";
}
}
}
.a-label--error {
color: $clr-error;
}