-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed
sass/dart-sass
#1926Description
.input {
--self-background: var(--input-background);
--self-forecolor: var(--input-forecolor);
background: var(--self-background);
color: var(--self-forecolor);
padding: var(--input-padding);
transition: all 0.2s;
border-radius: var(--input-border-radius);
outline: none;
border: none;
&:focus {
--self-background: var(--input-hover-background);
--self-forecolor: var(--input-hover-forecolor);
}
&::placeholder {
color: invert(var(--self-forecolor));
}
}That might be a misunderstanding of mine since I am just learning SASS. But seems like, CSS invert and SASS invert are conflicting.
Here is a workaround I found:
&::placeholder {
color: #{"invert(var(--self-forecolor))"};
}Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
