@graphty/compact-mantine 0.8.18 → 0.8.19
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/README.md +8 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +52 -13
- package/dist/index.d.ts +52 -13
- package/dist/index.js +2067 -1973
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -113,6 +113,14 @@ border at rest so that a column of them reads as a list of values rather than a
|
|
|
113
113
|
grid of boxes. Keyboard focus still paints a visible ring; a mouse click does
|
|
114
114
|
not, so the surface stays quiet under the pointer.
|
|
115
115
|
|
|
116
|
+
The accent -- a filled `Button`, a checked box -- passes WCAG AA in both
|
|
117
|
+
schemes: the theme sets `primaryShade: {light: 8, dark: 5}` and
|
|
118
|
+
`autoContrast: true`, so the fill stands at least 3:1 off the panel and the text
|
|
119
|
+
on it at least 4.5:1 (white in the light scheme, black in the dark one). Set
|
|
120
|
+
your own `primaryColor` or `primaryShade` and you get yours instead. The one
|
|
121
|
+
exception is a checked `Switch`: Mantine always paints its thumb white, so its
|
|
122
|
+
track stays the darker light-scheme shade in both schemes.
|
|
123
|
+
|
|
116
124
|
### Components the theme restyles
|
|
117
125
|
|
|
118
126
|
Pass no `size` prop and these render compact. Pass a size token and they step
|