1
1
mirror of https://github.com/primer/css.git synced 2024-12-12 10:47:14 +03:00

Remove .input-dark

This commit is contained in:
simurai 2021-03-08 14:13:31 +09:00
parent 65bb96f624
commit 08de943079

View File

@ -68,28 +68,6 @@ textarea.form-control {
&:focus { background-color: var(--color-input-bg); }
}
// Inputs to be used against dark backgrounds.
// TODO: Deprecate
.input-dark {
color: var(--color-text-white);
// stylelint-disable-next-line primer/colors
background-color: var(--color-fade-white-15);
border-color: transparent;
box-shadow: none;
&::placeholder {
color: inherit;
opacity: 0.6; // inceases contrast ratio to 4.52
}
&.focus,
&:focus {
// stylelint-disable-next-line primer/borders
border-color: var(--color-fade-black-30);
box-shadow: var(--color-state-focus-shadow);
}
}
// Custom styling for HTML5 validation bubbles (WebKit only)
::placeholder {
color: var(--color-text-placeholder);