@gridkitjs/theme-tailwind 0.10.0 → 0.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/styles.css +17 -4
package/package.json
CHANGED
package/src/styles.css
CHANGED
|
@@ -35,7 +35,12 @@
|
|
|
35
35
|
--gridkit-hover-line-dark: oklch(0.75 0.09 255);
|
|
36
36
|
--gridkit-fg-light: oklch(0.21 0.01 250);
|
|
37
37
|
--gridkit-fg-dark: oklch(0.97 0.003 250);
|
|
38
|
-
|
|
38
|
+
/*
|
|
39
|
+
* Secondary text sits on `surface-muted` and `selected` too (a group row
|
|
40
|
+
* and its hover), so each `fg-muted` keeps WCAG AA's 4.5:1 against those
|
|
41
|
+
* as well as against `surface`.
|
|
42
|
+
*/
|
|
43
|
+
--gridkit-fg-muted-light: oklch(0.5 0.015 250);
|
|
39
44
|
--gridkit-fg-muted-dark: oklch(0.7 0.015 250);
|
|
40
45
|
--gridkit-accent-light: oklch(0.6 0.17 255);
|
|
41
46
|
--gridkit-accent-dark: oklch(0.7 0.15 255);
|
|
@@ -1213,7 +1218,7 @@
|
|
|
1213
1218
|
transform: scaleX(-1);
|
|
1214
1219
|
}
|
|
1215
1220
|
|
|
1216
|
-
.grid-pager-button:hover:not(
|
|
1221
|
+
.grid-pager-button:hover:not([aria-disabled="true"]) {
|
|
1217
1222
|
background-color: var(--gridkit-surface-muted);
|
|
1218
1223
|
}
|
|
1219
1224
|
|
|
@@ -1223,14 +1228,22 @@
|
|
|
1223
1228
|
outline-offset: -2px;
|
|
1224
1229
|
}
|
|
1225
1230
|
|
|
1226
|
-
.grid-pager-button
|
|
1231
|
+
.grid-pager-button[aria-disabled="true"] {
|
|
1227
1232
|
color: var(--gridkit-fg-muted);
|
|
1228
1233
|
cursor: default;
|
|
1234
|
+
}
|
|
1235
|
+
|
|
1236
|
+
/*
|
|
1237
|
+
* The icon fades rather than the whole button: a disabled arrow keeps
|
|
1238
|
+
* focus once it has paged to the end, and its focus ring should not fade
|
|
1239
|
+
* with it.
|
|
1240
|
+
*/
|
|
1241
|
+
.grid-pager-button[aria-disabled="true"] svg {
|
|
1229
1242
|
opacity: 0.45;
|
|
1230
1243
|
}
|
|
1231
1244
|
|
|
1232
1245
|
.grid-pager-button[aria-current="page"],
|
|
1233
|
-
.grid-pager-button[aria-current="page"]:hover
|
|
1246
|
+
.grid-pager-button[aria-current="page"]:hover {
|
|
1234
1247
|
z-index: 1;
|
|
1235
1248
|
color: var(--gridkit-accent);
|
|
1236
1249
|
background-color: var(--gridkit-selected);
|