We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7483fbe commit a3a5b37Copy full SHA for a3a5b37
2 files changed
app/assets/main.css
@@ -155,6 +155,14 @@
155
}
156
157
158
+/* Keep icon masks visible when Windows forced colors overrides theme tokens. */
159
+@media (forced-colors: active) {
160
+ :where([class^='i-'], [class*=' i-']) {
161
+ forced-color-adjust: none;
162
+ color: CanvasText;
163
+ }
164
+}
165
+
166
html {
167
-webkit-font-smoothing: antialiased;
168
-moz-osx-font-smoothing: grayscale;
uno.config.ts
@@ -22,7 +22,8 @@ export default defineConfig({
22
presetWind4(),
23
presetIcons({
24
extraProperties: {
25
- display: 'inline-block',
+ 'display': 'inline-block',
26
+ 'forced-colors-adjust': 'preserve-parent-color',
27
},
28
warn: true,
29
scale: 1.2,
0 commit comments