@gridkitjs/theme-tailwind 0.0.0-dev-20261108090029 → 0.0.0-dev-20261108090704
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 +23 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gridkitjs/theme-tailwind",
|
|
3
|
-
"version": "0.0.0-dev-
|
|
3
|
+
"version": "0.0.0-dev-20261108090704",
|
|
4
4
|
"description": "Tailwind v4 theme for GridKit — palette tokens, dark mode and grid styles.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Blagoja Blazhevski",
|
package/src/styles.css
CHANGED
|
@@ -305,6 +305,29 @@
|
|
|
305
305
|
*/
|
|
306
306
|
|
|
307
307
|
@layer base {
|
|
308
|
+
/*
|
|
309
|
+
* What the rules below take for granted from Tailwind's Preflight, set on
|
|
310
|
+
* the grid's root and on what it renders into `document.body`, so they
|
|
311
|
+
* draw the same in an app without Preflight, and in theme-css's plain
|
|
312
|
+
* CSS. `:where()` keeps each at no specificity, as Preflight's are.
|
|
313
|
+
*/
|
|
314
|
+
:where(.gridkit-data-grid-viewport, .drag-ghost, .gridkit-overlay),
|
|
315
|
+
:where(.gridkit-data-grid-viewport, .drag-ghost, .gridkit-overlay) *,
|
|
316
|
+
:where(.gridkit-data-grid-viewport, .drag-ghost, .gridkit-overlay) ::before,
|
|
317
|
+
:where(.gridkit-data-grid-viewport, .drag-ghost, .gridkit-overlay) ::after {
|
|
318
|
+
box-sizing: border-box;
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
:where(.gridkit-data-grid-viewport, .gridkit-overlay) :where(button, input) {
|
|
322
|
+
font: inherit;
|
|
323
|
+
letter-spacing: inherit;
|
|
324
|
+
color: inherit;
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
:where(.gridkit-data-grid-viewport, .gridkit-overlay) :where(svg) {
|
|
328
|
+
vertical-align: middle;
|
|
329
|
+
}
|
|
330
|
+
|
|
308
331
|
/*
|
|
309
332
|
* The table is exactly as wide as its columns, so anything wider than the
|
|
310
333
|
* space available scrolls here rather than squashing the columns. Scrolls
|