Make input placeholder themable
This commit is contained in:
parent
d7911e9486
commit
752d6cb987
|
@ -97,6 +97,7 @@ $spacers: (
|
|||
--body-text: 0, 0, 0;
|
||||
--muted-text: 108, 117, 125;
|
||||
--input-text: 0, 0, 0;
|
||||
--input-placeholder: 108, 117, 125;
|
||||
|
||||
--turbolinks-progress-color: #a58adc; // --primary lightened by 25%
|
||||
}
|
||||
|
|
|
@ -9,10 +9,14 @@
|
|||
border-color: var(--primary);
|
||||
box-shadow: .5px 0 0 0.1rem var(--primary);
|
||||
}
|
||||
|
||||
&::placeholder {
|
||||
color: RGB(var(--input-placeholder));
|
||||
}
|
||||
}
|
||||
|
||||
.input-group-text {
|
||||
color: RGB(var(--body-text));
|
||||
background-color: var(--raised-accent);
|
||||
border: 0;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue