Implement accent-color instead svg? #1824
-
DucumentationSupport status in popular serviceNow works with:
Note:As fallback can by used CSS @supports (accent-color: var(--checkbox-checked-ink)) {
/* for only Firefox 92+, Chrome 93+, Opera 79+ */
.checkbox > input[type="checkbox"] {
accent-color: var(--checkbox-checked-ink);
opacity: 1
}
.checkbox > input[type="checkbox"] + svg {
display: none
}
} |
Beta Was this translation helpful? Give feedback.
Answered by
gorhill
Nov 17, 2021
Replies: 1 comment
-
uBO does not use the visuals of native checkboxes because they look too different across browsers and OSes, the accent-color property wouldn't solve this. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
u-RraaLL
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
uBO does not use the visuals of native checkboxes because they look too different across browsers and OSes, the accent-color property wouldn't solve this.