@rcnr/theme 2.0.0 → 2.0.2
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/index.css +8 -7
- package/package.json +2 -1
package/index.css
CHANGED
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
/* @rcnr/theme
|
|
2
|
-
RCNR Brand Foundation — tokens, grid, components, scrollbars
|
|
1
|
+
/* @rcnr/theme v2.1.0
|
|
2
|
+
RCNR Brand Foundation — tokens, grid, components, scrollbars, shared React components
|
|
3
3
|
|
|
4
4
|
Usage (Tailwind 4):
|
|
5
5
|
@import "tailwindcss";
|
|
6
6
|
@import "@rcnr/theme";
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
8
|
+
The @source directive below tells Tailwind 4 to scan the dist/ folder for
|
|
9
|
+
class names used by the shared React components (RCNRHeader, RCNRSubNav,
|
|
10
|
+
RCNRFooter, RCNRMountainLogo). Without this, classes like "hidden md:inline"
|
|
11
|
+
and "bg-brand/15" that only appear in the compiled JS won't be included in
|
|
12
|
+
the consumer's CSS output.
|
|
13
13
|
*/
|
|
14
|
+
@source "./dist";
|
|
14
15
|
|
|
15
16
|
/* --- Tailwind 4 theme tokens ---
|
|
16
17
|
Generates utility classes: bg-brand, text-surface, bg-midnight, etc.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rcnr/theme",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.2",
|
|
4
4
|
"description": "RCNR design system: CSS tokens, shared React components (header, footer, subnav), glass cards, buttons, grid",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
"style": "index.css",
|
|
9
9
|
"exports": {
|
|
10
10
|
".": {
|
|
11
|
+
"style": "./index.css",
|
|
11
12
|
"types": "./dist/index.d.ts",
|
|
12
13
|
"import": "./dist/index.mjs",
|
|
13
14
|
"require": "./dist/index.js"
|