@goldlabelapps/theme 1.0.1 → 3.2.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/dist/context/ConfigContext.js +6 -6
- package/dist/design-system/components/DesignSystemProvider/DesignSystemProvider.d.ts +2 -0
- package/dist/design-system/components/DesignSystemProvider/DesignSystemProvider.js +29 -0
- package/dist/design-system/components/DesignSystemProvider/types.d.ts +1 -0
- package/dist/design-system/components/DesignSystemProvider/types.js +1 -0
- package/dist/design-system/components/brand/Logo/Logo.d.ts +2 -0
- package/dist/design-system/components/brand/Logo/Logo.js +35 -0
- package/dist/design-system/components/brand/Logo/types.d.ts +1 -0
- package/dist/design-system/components/brand/Logo/types.js +1 -0
- package/dist/design-system/components/buttons/Button/Button.d.ts +2 -0
- package/dist/design-system/components/buttons/Button/Button.js +135 -0
- package/dist/design-system/components/buttons/Button/types.d.ts +1 -0
- package/dist/design-system/components/buttons/Button/types.js +1 -0
- package/dist/design-system/components/buttons/IconButton/IconButton.d.ts +2 -0
- package/dist/design-system/components/buttons/IconButton/IconButton.js +129 -0
- package/dist/design-system/components/buttons/IconButton/types.d.ts +1 -0
- package/dist/design-system/components/buttons/IconButton/types.js +1 -0
- package/dist/design-system/components/feedback/Alert/Alert.d.ts +2 -0
- package/dist/design-system/components/feedback/Alert/Alert.js +12 -0
- package/dist/design-system/components/feedback/Alert/types.d.ts +1 -0
- package/dist/design-system/components/feedback/Alert/types.js +1 -0
- package/dist/design-system/components/feedback/Card/Card.d.ts +2 -0
- package/dist/design-system/components/feedback/Card/Card.js +46 -0
- package/dist/design-system/components/feedback/Card/types.d.ts +1 -0
- package/dist/design-system/components/feedback/Card/types.js +1 -0
- package/dist/design-system/components/feedback/Field/Field.d.ts +2 -0
- package/dist/design-system/components/feedback/Field/Field.js +6 -0
- package/dist/design-system/components/feedback/Field/types.d.ts +1 -0
- package/dist/design-system/components/feedback/Field/types.js +1 -0
- package/dist/design-system/components/feedback/index.d.ts +6 -0
- package/dist/design-system/components/feedback/index.js +3 -0
- package/dist/design-system/components/headings/Heading/Heading.d.ts +3 -0
- package/dist/design-system/components/headings/Heading/Heading.js +66 -0
- package/dist/design-system/components/headings/Heading/types.d.ts +1 -0
- package/dist/design-system/components/headings/Heading/types.js +1 -0
- package/dist/design-system/components/icons/Icon/Icon.d.ts +10 -0
- package/dist/design-system/components/icons/Icon/Icon.js +421 -0
- package/dist/design-system/components/icons/Icon/types.d.ts +7 -0
- package/dist/design-system/components/icons/Icon/types.js +1 -0
- package/dist/design-system/components/icons/SVGIcons/BlokeyIcon.d.ts +2 -0
- package/dist/design-system/components/icons/SVGIcons/BlokeyIcon.js +7 -0
- package/dist/design-system/components/icons/SVGIcons/ChromeIcon.d.ts +2 -0
- package/dist/design-system/components/icons/SVGIcons/ChromeIcon.js +7 -0
- package/dist/design-system/components/icons/SVGIcons/DesktopIcon.d.ts +2 -0
- package/dist/design-system/components/icons/SVGIcons/DesktopIcon.js +7 -0
- package/dist/design-system/components/icons/SVGIcons/EdgeIcon.d.ts +2 -0
- package/dist/design-system/components/icons/SVGIcons/EdgeIcon.js +7 -0
- package/dist/design-system/components/icons/SVGIcons/FallmanagerIcon.d.ts +2 -0
- package/dist/design-system/components/icons/SVGIcons/FallmanagerIcon.js +8 -0
- package/dist/design-system/components/icons/SVGIcons/FirefoxIcon.d.ts +2 -0
- package/dist/design-system/components/icons/SVGIcons/FirefoxIcon.js +7 -0
- package/dist/design-system/components/icons/SVGIcons/FlickrIcon.d.ts +2 -0
- package/dist/design-system/components/icons/SVGIcons/FlickrIcon.js +9 -0
- package/dist/design-system/components/icons/SVGIcons/GatsbyIcon.d.ts +2 -0
- package/dist/design-system/components/icons/SVGIcons/GatsbyIcon.js +8 -0
- package/dist/design-system/components/icons/SVGIcons/GoldenticketIcon.d.ts +2 -0
- package/dist/design-system/components/icons/SVGIcons/GoldenticketIcon.js +7 -0
- package/dist/design-system/components/icons/SVGIcons/GoldlabelOutlined.d.ts +2 -0
- package/dist/design-system/components/icons/SVGIcons/GoldlabelOutlined.js +7 -0
- package/dist/design-system/components/icons/SVGIcons/GraphqlIcon.d.ts +2 -0
- package/dist/design-system/components/icons/SVGIcons/GraphqlIcon.js +7 -0
- package/dist/design-system/components/icons/SVGIcons/IphoneIcon.d.ts +2 -0
- package/dist/design-system/components/icons/SVGIcons/IphoneIcon.js +7 -0
- package/dist/design-system/components/icons/SVGIcons/LinuxIcon.d.ts +2 -0
- package/dist/design-system/components/icons/SVGIcons/LinuxIcon.js +7 -0
- package/dist/design-system/components/icons/SVGIcons/MacIcon.d.ts +2 -0
- package/dist/design-system/components/icons/SVGIcons/MacIcon.js +7 -0
- package/dist/design-system/components/icons/SVGIcons/MacromediaIcon.d.ts +3 -0
- package/dist/design-system/components/icons/SVGIcons/MacromediaIcon.js +8 -0
- package/dist/design-system/components/icons/SVGIcons/OliverIcon.d.ts +2 -0
- package/dist/design-system/components/icons/SVGIcons/OliverIcon.js +5 -0
- package/dist/design-system/components/icons/SVGIcons/OpenAIIcon.d.ts +2 -0
- package/dist/design-system/components/icons/SVGIcons/OpenAIIcon.js +6 -0
- package/dist/design-system/components/icons/SVGIcons/PingpongballIcon.d.ts +2 -0
- package/dist/design-system/components/icons/SVGIcons/PingpongballIcon.js +8 -0
- package/dist/design-system/components/icons/SVGIcons/SafariIcon.d.ts +2 -0
- package/dist/design-system/components/icons/SVGIcons/SafariIcon.js +7 -0
- package/dist/design-system/components/icons/SVGIcons/WindowsIcon.d.ts +2 -0
- package/dist/design-system/components/icons/SVGIcons/WindowsIcon.js +7 -0
- package/dist/design-system/components/icons/SVGIcons/WordpressIcon.d.ts +2 -0
- package/dist/design-system/components/icons/SVGIcons/WordpressIcon.js +7 -0
- package/dist/design-system/components/icons/SVGIcons/XboxIcon.d.ts +2 -0
- package/dist/design-system/components/icons/SVGIcons/XboxIcon.js +7 -0
- package/dist/design-system/components/icons/index.d.ts +2 -0
- package/dist/design-system/components/icons/index.js +1 -0
- package/dist/design-system/components/images/FeaturedImage/FeaturedImage.d.ts +2 -0
- package/dist/design-system/components/images/FeaturedImage/FeaturedImage.js +67 -0
- package/dist/design-system/components/images/FeaturedImage/types.d.ts +1 -0
- package/dist/design-system/components/images/FeaturedImage/types.js +1 -0
- package/dist/design-system/components/layout/AppShell/AppShell.d.ts +2 -0
- package/dist/design-system/components/layout/AppShell/AppShell.js +6 -0
- package/dist/design-system/components/layout/AppShell/types.d.ts +1 -0
- package/dist/design-system/components/layout/AppShell/types.js +1 -0
- package/dist/design-system/components/layout/Footer/Footer.d.ts +2 -0
- package/dist/design-system/components/layout/Footer/Footer.js +106 -0
- package/dist/design-system/components/layout/Footer/types.d.ts +1 -0
- package/dist/design-system/components/layout/Footer/types.js +1 -0
- package/dist/design-system/components/layout/Header/Header.d.ts +2 -0
- package/dist/design-system/components/layout/Header/Header.js +6 -0
- package/dist/design-system/components/layout/Header/types.d.ts +1 -0
- package/dist/design-system/components/layout/Header/types.js +1 -0
- package/dist/design-system/components/layout/Main/Main.d.ts +2 -0
- package/dist/design-system/components/layout/Main/Main.js +4 -0
- package/dist/design-system/components/layout/Main/types.d.ts +1 -0
- package/dist/design-system/components/layout/Main/types.js +1 -0
- package/dist/design-system/components/layout/MenuDrawer/MenuDrawer.d.ts +2 -0
- package/dist/design-system/components/layout/MenuDrawer/MenuDrawer.js +31 -0
- package/dist/design-system/components/layout/MenuDrawer/types.d.ts +1 -0
- package/dist/design-system/components/layout/MenuDrawer/types.js +1 -0
- package/dist/design-system/components/layout/PageSection/PageSection.d.ts +2 -0
- package/dist/design-system/components/layout/PageSection/PageSection.js +6 -0
- package/dist/design-system/components/layout/PageSection/types.d.ts +1 -0
- package/dist/design-system/components/layout/PageSection/types.js +1 -0
- package/dist/design-system/components/layout/SectionTitle/SectionTitle.d.ts +2 -0
- package/dist/design-system/components/layout/SectionTitle/SectionTitle.js +6 -0
- package/dist/design-system/components/layout/SectionTitle/types.d.ts +1 -0
- package/dist/design-system/components/layout/SectionTitle/types.js +1 -0
- package/dist/design-system/components/layout/index.d.ts +7 -0
- package/dist/design-system/components/layout/index.js +7 -0
- package/dist/design-system/components/lists/List/List.d.ts +2 -0
- package/dist/design-system/components/lists/List/List.js +6 -0
- package/dist/design-system/components/lists/List/types.d.ts +2 -0
- package/dist/design-system/components/lists/List/types.js +1 -0
- package/dist/design-system/components/lists/ListItem/ListItem.d.ts +2 -0
- package/dist/design-system/components/lists/ListItem/ListItem.js +6 -0
- package/dist/design-system/components/lists/ListItem/types.d.ts +2 -0
- package/dist/design-system/components/lists/ListItem/types.js +1 -0
- package/dist/design-system/components/lists/ListItemButton/ListItemButton.d.ts +2 -0
- package/dist/design-system/components/lists/ListItemButton/ListItemButton.js +6 -0
- package/dist/design-system/components/lists/ListItemButton/types.d.ts +2 -0
- package/dist/design-system/components/lists/ListItemButton/types.js +1 -0
- package/dist/design-system/components/lists/ListItemText/ListItemText.d.ts +2 -0
- package/dist/design-system/components/lists/ListItemText/ListItemText.js +6 -0
- package/dist/design-system/components/lists/ListItemText/types.d.ts +2 -0
- package/dist/design-system/components/lists/ListItemText/types.js +1 -0
- package/dist/design-system/components/lists/ListSubheader/ListSubheader.d.ts +2 -0
- package/dist/design-system/components/lists/ListSubheader/ListSubheader.js +6 -0
- package/dist/design-system/components/lists/ListSubheader/types.d.ts +2 -0
- package/dist/design-system/components/lists/ListSubheader/types.js +1 -0
- package/dist/design-system/components/navigation/Breadcrumb/Breadcrumb.d.ts +2 -0
- package/dist/design-system/components/navigation/Breadcrumb/Breadcrumb.js +18 -0
- package/dist/design-system/components/navigation/Breadcrumb/types.d.ts +1 -0
- package/dist/design-system/components/navigation/Breadcrumb/types.js +1 -0
- package/dist/design-system/components/navigation/Share/Share.d.ts +3 -0
- package/dist/design-system/components/navigation/Share/Share.js +156 -0
- package/dist/design-system/components/navigation/Share/types.d.ts +1 -0
- package/dist/design-system/components/navigation/Share/types.js +1 -0
- package/dist/design-system/components/navigation/SiteNav/SiteNav.d.ts +3 -0
- package/dist/design-system/components/navigation/SiteNav/SiteNav.js +82 -0
- package/dist/design-system/components/navigation/SiteNav/types.d.ts +1 -0
- package/dist/design-system/components/navigation/SiteNav/types.js +1 -0
- package/dist/design-system/components/nxStyle.d.ts +129 -0
- package/dist/design-system/components/nxStyle.js +89 -0
- package/dist/design-system/components/responsive/Viewport/Viewport.d.ts +4 -0
- package/dist/design-system/components/responsive/Viewport/Viewport.js +32 -0
- package/dist/design-system/components/responsive/Viewport/types.d.ts +1 -0
- package/dist/design-system/components/responsive/Viewport/types.js +1 -0
- package/dist/design-system/components/surfaces/Swatch/Swatch.d.ts +2 -0
- package/dist/design-system/components/surfaces/Swatch/Swatch.js +19 -0
- package/dist/design-system/components/surfaces/Swatch/types.d.ts +1 -0
- package/dist/design-system/components/surfaces/Swatch/types.js +1 -0
- package/dist/design-system/components/surfaces/SwatchGroup/SwatchGroup.d.ts +2 -0
- package/dist/design-system/components/surfaces/SwatchGroup/SwatchGroup.js +12 -0
- package/dist/design-system/components/surfaces/SwatchGroup/types.d.ts +1 -0
- package/dist/design-system/components/surfaces/SwatchGroup/types.js +1 -0
- package/dist/design-system/index.d.ts +23 -0
- package/dist/design-system/index.js +22 -0
- package/dist/index.d.ts +25 -0
- package/dist/index.js +21 -0
- package/dist/styles/site-layout.css +354 -0
- package/dist/styles/theme.d.ts +3 -0
- package/dist/styles/theme.js +120 -0
- package/dist/styles/tokens.css +109 -0
- package/package.json +19 -1
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
color-scheme: light;
|
|
3
|
+
--nx-ink: #1e1c34;
|
|
4
|
+
--nx-ink-logo: #201e39;
|
|
5
|
+
--nx-dusty: #2f2a56;
|
|
6
|
+
--nx-body: #2a2748;
|
|
7
|
+
--nx-sign: #47436d;
|
|
8
|
+
--nx-ash: #5f5a86;
|
|
9
|
+
--nx-muted: #7672a0;
|
|
10
|
+
--nx-fog: #8c88b6;
|
|
11
|
+
--nx-parchment: #ffffff;
|
|
12
|
+
--nx-paper: #ffffff;
|
|
13
|
+
--nx-oat: #d9d6f2;
|
|
14
|
+
--nx-clay: #4a46b8;
|
|
15
|
+
--nx-line: rgba(30, 28, 52, 0.14);
|
|
16
|
+
--nx-line-soft: rgba(30, 28, 52, 0.08);
|
|
17
|
+
--nx-glass: rgba(255, 255, 255, 0.42);
|
|
18
|
+
--nx-glass-hi: rgba(255, 255, 255, 0.5);
|
|
19
|
+
--nx-tile: rgba(255, 255, 255, 0.72);
|
|
20
|
+
--nx-scrim: rgba(23, 22, 34, 0.93);
|
|
21
|
+
--nx-shadow-card: 0 12px 40px rgba(30, 28, 52, 0.14);
|
|
22
|
+
--nx-shadow-card-hover: 0 28px 66px rgba(30, 28, 52, 0.22);
|
|
23
|
+
--nx-shadow-glass: 0 26px 60px -12px rgba(30, 28, 52, 0.22), 0 2px 6px rgba(30, 28, 52, 0.08);
|
|
24
|
+
--nx-shadow-button: 0 12px 30px rgba(30, 28, 52, 0.24);
|
|
25
|
+
--nx-shadow-button-hi: 0 18px 40px rgba(30, 28, 52, 0.32);
|
|
26
|
+
--nx-shadow-float: 0 40px 80px rgba(30, 28, 52, 0.32);
|
|
27
|
+
--nx-shadow-pop: 0 16px 48px rgba(30, 28, 52, 0.24);
|
|
28
|
+
--nx-radius-sm: 3px;
|
|
29
|
+
--nx-radius-md: 3px;
|
|
30
|
+
--nx-radius-lg: 3px;
|
|
31
|
+
--nx-radius-xl: 3px;
|
|
32
|
+
--nx-radius-2xl: 3px;
|
|
33
|
+
--nx-radius-phone: 3px;
|
|
34
|
+
--nx-radius-pill: 3px;
|
|
35
|
+
--font-serif: "Times New Roman", Times, serif;
|
|
36
|
+
--font-sans: "Avenir Next", "Helvetica Neue", "Segoe UI", sans-serif;
|
|
37
|
+
--font-title: "Avenir Next", "Helvetica Neue", "Segoe UI", sans-serif;
|
|
38
|
+
--font-mono: "SFMono-Regular", ui-monospace, monospace;
|
|
39
|
+
--type-display: clamp(3.75rem, 18.75vw, 7.75rem);
|
|
40
|
+
--type-h1: clamp(2.875rem, 6.5vw, 4.625rem);
|
|
41
|
+
--type-h2: clamp(2.5rem, 5.75vw, 4.125rem);
|
|
42
|
+
--type-h3: clamp(1.625rem, 3.125vw, 2.0625rem);
|
|
43
|
+
--type-h5: 1.475rem;
|
|
44
|
+
--type-h6: 1.3rem;
|
|
45
|
+
--type-quote: 1.45rem;
|
|
46
|
+
--type-lede: 1.475rem;
|
|
47
|
+
--type-body: 1.25rem;
|
|
48
|
+
--type-small: 1.15rem;
|
|
49
|
+
--type-fine: 1rem;
|
|
50
|
+
--type-heading: 0.875rem;
|
|
51
|
+
--type-label: 0.825rem;
|
|
52
|
+
--type-micro: 0.7rem;
|
|
53
|
+
--weight-regular: 400;
|
|
54
|
+
--weight-medium: 500;
|
|
55
|
+
--weight-semibold: 600;
|
|
56
|
+
--weight-bold: 700;
|
|
57
|
+
--leading-tight: 1.05;
|
|
58
|
+
--leading-snug: 1.15;
|
|
59
|
+
--leading-body: 1.6;
|
|
60
|
+
--track-display: -0.02em;
|
|
61
|
+
--track-heading: 0.22em;
|
|
62
|
+
--track-label: 0.12em;
|
|
63
|
+
--track-button: 0.1em;
|
|
64
|
+
--track-tight: 0.05em;
|
|
65
|
+
--space-1: 4px;
|
|
66
|
+
--space-2: 8px;
|
|
67
|
+
--space-3: 12px;
|
|
68
|
+
--space-4: 16px;
|
|
69
|
+
--space-5: 22px;
|
|
70
|
+
--space-6: 26px;
|
|
71
|
+
--space-7: 34px;
|
|
72
|
+
--space-8: 46px;
|
|
73
|
+
--space-10: 70px;
|
|
74
|
+
--space-12: 108px;
|
|
75
|
+
--space-section-mobile: 60px;
|
|
76
|
+
--maxw-prose: 680px;
|
|
77
|
+
--maxw-page: 1080px;
|
|
78
|
+
--blur-panel: blur(26px) saturate(115%);
|
|
79
|
+
--blur-bar: blur(10px);
|
|
80
|
+
--blur-chip: blur(6px);
|
|
81
|
+
--ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
|
|
82
|
+
--ease-spring: cubic-bezier(0.16, 0.84, 0.3, 1);
|
|
83
|
+
--dur-fast: 0.2s;
|
|
84
|
+
--dur-mid: 0.4s;
|
|
85
|
+
--dur-reveal: 0.9s;
|
|
86
|
+
--text-body: var(--nx-body);
|
|
87
|
+
--text-strong: var(--nx-ink);
|
|
88
|
+
--text-muted: var(--nx-muted);
|
|
89
|
+
--text-subtle: var(--nx-sign);
|
|
90
|
+
--text-accent: var(--nx-clay);
|
|
91
|
+
--text-on-ink: var(--nx-parchment);
|
|
92
|
+
--text-on-ink-dim: var(--nx-oat);
|
|
93
|
+
--surface-page: var(--nx-parchment);
|
|
94
|
+
--surface-paper: var(--nx-paper);
|
|
95
|
+
--surface-card: var(--nx-tile);
|
|
96
|
+
--surface-glass: var(--nx-glass);
|
|
97
|
+
--surface-ink: var(--nx-ink);
|
|
98
|
+
--surface-input: rgba(255, 255, 255, 0.92);
|
|
99
|
+
--surface-input-hover: #f0eeff;
|
|
100
|
+
--surface-input-focus: #ffffff;
|
|
101
|
+
--surface-input-disabled: #dddaf4;
|
|
102
|
+
--accent-clay: var(--nx-clay);
|
|
103
|
+
--border-hairline: var(--nx-line);
|
|
104
|
+
--border-faint: var(--nx-line-soft);
|
|
105
|
+
--border-input: rgba(30, 28, 52, 0.28);
|
|
106
|
+
--border-input-hover: rgba(30, 28, 52, 0.42);
|
|
107
|
+
--border-input-focus: var(--nx-clay);
|
|
108
|
+
--focus-ring: var(--nx-clay);
|
|
109
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@goldlabelapps/theme",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.2.0",
|
|
4
4
|
"description": "NX° theme tokens, UI primitives, and layout showcase blocks",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -26,6 +26,16 @@
|
|
|
26
26
|
"import": "./dist/styles/globals.css",
|
|
27
27
|
"require": "./dist/styles/globals.css",
|
|
28
28
|
"default": "./dist/styles/globals.css"
|
|
29
|
+
},
|
|
30
|
+
"./site-layout.css": {
|
|
31
|
+
"import": "./dist/styles/site-layout.css",
|
|
32
|
+
"require": "./dist/styles/site-layout.css",
|
|
33
|
+
"default": "./dist/styles/site-layout.css"
|
|
34
|
+
},
|
|
35
|
+
"./tokens.css": {
|
|
36
|
+
"import": "./dist/styles/tokens.css",
|
|
37
|
+
"require": "./dist/styles/tokens.css",
|
|
38
|
+
"default": "./dist/styles/tokens.css"
|
|
29
39
|
}
|
|
30
40
|
},
|
|
31
41
|
"files": [
|
|
@@ -39,6 +49,8 @@
|
|
|
39
49
|
"clean": "rm -rf dist"
|
|
40
50
|
},
|
|
41
51
|
"peerDependencies": {
|
|
52
|
+
"@mui/icons-material": ">=7.0.0",
|
|
53
|
+
"@mui/material": ">=7.0.0",
|
|
42
54
|
"next": ">=15.0.0",
|
|
43
55
|
"react": ">=18.0.0",
|
|
44
56
|
"react-dom": ">=18.0.0"
|
|
@@ -52,10 +64,16 @@
|
|
|
52
64
|
"tailwind-merge": "^3.6.0"
|
|
53
65
|
},
|
|
54
66
|
"devDependencies": {
|
|
67
|
+
"@emotion/react": "^11.14.0",
|
|
68
|
+
"@emotion/styled": "^11.14.0",
|
|
69
|
+
"@mui/icons-material": "^7.3.7",
|
|
70
|
+
"@mui/material": "^7.3.2",
|
|
71
|
+
"@testing-library/react": "^16.3.0",
|
|
55
72
|
"@types/canvas-confetti": "^1.9.0",
|
|
56
73
|
"@types/node": "^20",
|
|
57
74
|
"@types/react": "^19",
|
|
58
75
|
"@types/react-dom": "^19",
|
|
76
|
+
"jsdom": "^26.1.0",
|
|
59
77
|
"next": "16.3.2",
|
|
60
78
|
"react": "19.2.8",
|
|
61
79
|
"react-dom": "19.2.8",
|