@frontlit/preview 0.1.0-alpha.6 → 0.1.0-alpha.7

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.
Files changed (2) hide show
  1. package/client/preview.css +12 -0
  2. package/package.json +2 -2
@@ -1,3 +1,15 @@
1
+ /* Match apps/sites/app/globals.css: borders take the theme's border colour.
2
+ * Tailwind 4 defaults border-color to currentColor, so without this every
3
+ * card, divider and header border renders in the text colour. Being in the
4
+ * base layer, it still loses to utilities such as border-primary. */
5
+ @layer base {
6
+ *,
7
+ ::before,
8
+ ::after {
9
+ border-color: var(--border);
10
+ }
11
+ }
12
+
1
13
  html,
2
14
  body,
3
15
  #root {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@frontlit/preview",
3
- "version": "0.1.0-alpha.6",
3
+ "version": "0.1.0-alpha.7",
4
4
  "description": "Local, file-watching previews for FrontLit page JSON",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -31,7 +31,7 @@
31
31
  "check-types": "node --check cli.mjs && node --check server.mjs && node --check site.mjs"
32
32
  },
33
33
  "dependencies": {
34
- "@frontlit/page-builder": "0.1.0-alpha.8",
34
+ "@frontlit/page-builder": "0.1.0-alpha.9",
35
35
  "react": "19.2.8",
36
36
  "react-dom": "19.2.8",
37
37
  "vite": "^7.3.6"