mirror of
https://github.com/go-gitea/gitea.git
synced 2026-08-22 02:10:51 +00:00
enhance(ui): forced colors mode enhancements (#38991)
Improve various UI elements while in [forced color mode](https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/At-rules/@media/forced-colors).
This commit is contained in:
@@ -305,3 +305,10 @@ it can also be rendered as flex by adding flex-related classes (the general ".it
|
||||
filter: grayscale(0.5);
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
@media (forced-colors: active) {
|
||||
.ui.label {
|
||||
outline: 1px solid CanvasText;
|
||||
outline-offset: -1px;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user