@molecule/app-theme-css-variables-liquid-glass 1.0.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/LICENSE ADDED
@@ -0,0 +1,115 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work.
38
+
39
+ "Derivative Works" shall mean any work, whether in Source or Object
40
+ form, that is based on (or derived from) the Work and for which the
41
+ editorial revisions, annotations, elaborations, or other modifications
42
+ represent, as a whole, an original work of authorship.
43
+
44
+ "Contribution" shall mean any work of authorship, including the
45
+ original version of the Work and any modifications or additions
46
+ to that Work, that is intentionally submitted to the Licensor for
47
+ inclusion in the Work by the copyright owner or by an individual or
48
+ Legal Entity authorized to submit on behalf of the copyright owner.
49
+
50
+ "Contributor" shall mean Licensor and any individual or Legal Entity
51
+ on behalf of whom a Contribution has been received by the Licensor and
52
+ subsequently incorporated within the Work.
53
+
54
+ 2. Grant of Copyright License. Subject to the terms and conditions of
55
+ this License, each Contributor hereby grants to You a perpetual,
56
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
57
+ copyright license to reproduce, prepare Derivative Works of,
58
+ publicly display, publicly perform, sublicense, and distribute the
59
+ Work and such Derivative Works in Source or Object form.
60
+
61
+ 3. Grant of Patent License. Subject to the terms and conditions of
62
+ this License, each Contributor hereby grants to You a perpetual,
63
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
64
+ patent license to make, have made, use, offer to sell, sell, import,
65
+ and otherwise transfer the Work.
66
+
67
+ 4. Redistribution. You may reproduce and distribute copies of the
68
+ Work or Derivative Works thereof in any medium, with or without
69
+ modifications, and in Source or Object form, provided that You
70
+ meet the following conditions:
71
+
72
+ (a) You must give any other recipients of the Work or
73
+ Derivative Works a copy of this License; and
74
+
75
+ (b) You must cause any modified files to carry prominent notices
76
+ stating that You changed the files; and
77
+
78
+ (c) You must retain, in the Source form of any Derivative Works
79
+ that You distribute, all copyright, patent, trademark, and
80
+ attribution notices from the Source form of the Work,
81
+ excluding those notices that do not pertain to any part of
82
+ the Derivative Works; and
83
+
84
+ (d) If the Work includes a "NOTICE" text file as part of its
85
+ distribution, then any Derivative Works that You distribute must
86
+ include a readable copy of the attribution notices contained
87
+ within such NOTICE file.
88
+
89
+ 5. Submission of Contributions.
90
+
91
+ 6. Trademarks. This License does not grant permission to use the trade
92
+ names, trademarks, service marks, or product names of the Licensor.
93
+
94
+ 7. Disclaimer of Warranty. Unless required by applicable law or
95
+ agreed to in writing, Licensor provides the Work on an "AS IS" BASIS,
96
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND.
97
+
98
+ 8. Limitation of Liability. In no event and under no legal theory shall
99
+ any Contributor be liable to You for damages.
100
+
101
+ 9. Accepting Warranty or Additional Liability.
102
+
103
+ Copyright 2026 Molecule Dev, Inc.
104
+
105
+ Licensed under the Apache License, Version 2.0 (the "License");
106
+ you may not use this file except in compliance with the License.
107
+ You may obtain a copy of the License at
108
+
109
+ http://www.apache.org/licenses/LICENSE-2.0
110
+
111
+ Unless required by applicable law or agreed to in writing, software
112
+ distributed under the License is distributed on an "AS IS" BASIS,
113
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
114
+ See the License for the specific language governing permissions and
115
+ limitations under the License.
@@ -0,0 +1,38 @@
1
+ /**
2
+ * Liquid glass theme preset for molecule.dev.
3
+ *
4
+ * Provides translucent, frosted-glass-inspired light and dark themes
5
+ * designed to pair with backdrop-filter blur effects. Uses the standard
6
+ * CSS custom properties provider from `@molecule/app-theme-css-variables`.
7
+ *
8
+ * @example
9
+ * ```typescript
10
+ * import { createCSSVariablesThemeProvider, lightTheme, darkTheme } from '@molecule/app-theme-css-variables-liquid-glass'
11
+ * import { setProvider } from '@molecule/app-theme'
12
+ *
13
+ * const provider = createCSSVariablesThemeProvider({
14
+ * themes: [lightTheme, darkTheme],
15
+ * defaultTheme: 'dark',
16
+ * persistKey: 'molecule-theme',
17
+ * })
18
+ *
19
+ * setProvider(provider)
20
+ * ```
21
+ *
22
+ * @remarks
23
+ * - The frosted BLUR comes from the ClassMap, not from these themes: pair with
24
+ * `@molecule/app-ui-tailwind-glass` (`setClassMap(classMap)`), which layers
25
+ * `backdrop-filter` onto surface components. These themes alone give
26
+ * translucent colors with no blur.
27
+ * - Same precedence trap as the base bond: template-based apps ship
28
+ * `app/src/theme.css` whose `--color-*` variables SHADOW these theme colors —
29
+ * when `theme.css` defines colors, wiring this preset changes nothing visible;
30
+ * port the glass palette into `theme.css` instead (see
31
+ * `@molecule/app-theme-css-variables` remarks for the full mechanism).
32
+ *
33
+ * @module
34
+ */
35
+ export * from './provider.js';
36
+ export * from './themes.js';
37
+ export * from './types.js';
38
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AAEH,cAAc,eAAe,CAAA;AAC7B,cAAc,aAAa,CAAA;AAC3B,cAAc,YAAY,CAAA"}
package/dist/index.js ADDED
@@ -0,0 +1,38 @@
1
+ /**
2
+ * Liquid glass theme preset for molecule.dev.
3
+ *
4
+ * Provides translucent, frosted-glass-inspired light and dark themes
5
+ * designed to pair with backdrop-filter blur effects. Uses the standard
6
+ * CSS custom properties provider from `@molecule/app-theme-css-variables`.
7
+ *
8
+ * @example
9
+ * ```typescript
10
+ * import { createCSSVariablesThemeProvider, lightTheme, darkTheme } from '@molecule/app-theme-css-variables-liquid-glass'
11
+ * import { setProvider } from '@molecule/app-theme'
12
+ *
13
+ * const provider = createCSSVariablesThemeProvider({
14
+ * themes: [lightTheme, darkTheme],
15
+ * defaultTheme: 'dark',
16
+ * persistKey: 'molecule-theme',
17
+ * })
18
+ *
19
+ * setProvider(provider)
20
+ * ```
21
+ *
22
+ * @remarks
23
+ * - The frosted BLUR comes from the ClassMap, not from these themes: pair with
24
+ * `@molecule/app-ui-tailwind-glass` (`setClassMap(classMap)`), which layers
25
+ * `backdrop-filter` onto surface components. These themes alone give
26
+ * translucent colors with no blur.
27
+ * - Same precedence trap as the base bond: template-based apps ship
28
+ * `app/src/theme.css` whose `--color-*` variables SHADOW these theme colors —
29
+ * when `theme.css` defines colors, wiring this preset changes nothing visible;
30
+ * port the glass palette into `theme.css` instead (see
31
+ * `@molecule/app-theme-css-variables` remarks for the full mechanism).
32
+ *
33
+ * @module
34
+ */
35
+ export * from './provider.js';
36
+ export * from './themes.js';
37
+ export * from './types.js';
38
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AAEH,cAAc,eAAe,CAAA;AAC7B,cAAc,aAAa,CAAA;AAC3B,cAAc,YAAY,CAAA"}
@@ -0,0 +1,12 @@
1
+ /**
2
+ * CSS variables theme provider for liquid glass themes.
3
+ *
4
+ * Re-exports the factory function from the base CSS variables provider.
5
+ * The liquid glass preset only changes the theme color palette, not the
6
+ * provider mechanism.
7
+ *
8
+ * @module
9
+ */
10
+ export type { CSSVariablesThemeConfig, ThemeStorageAdapter, } from '@molecule/app-theme-css-variables';
11
+ export { createCSSVariablesThemeProvider } from '@molecule/app-theme-css-variables';
12
+ //# sourceMappingURL=provider.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"provider.d.ts","sourceRoot":"","sources":["../src/provider.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,YAAY,EACV,uBAAuB,EACvB,mBAAmB,GACpB,MAAM,mCAAmC,CAAA;AAC1C,OAAO,EAAE,+BAA+B,EAAE,MAAM,mCAAmC,CAAA"}
@@ -0,0 +1,11 @@
1
+ /**
2
+ * CSS variables theme provider for liquid glass themes.
3
+ *
4
+ * Re-exports the factory function from the base CSS variables provider.
5
+ * The liquid glass preset only changes the theme color palette, not the
6
+ * provider mechanism.
7
+ *
8
+ * @module
9
+ */
10
+ export { createCSSVariablesThemeProvider } from '@molecule/app-theme-css-variables';
11
+ //# sourceMappingURL=provider.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"provider.js","sourceRoot":"","sources":["../src/provider.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAMH,OAAO,EAAE,+BAA+B,EAAE,MAAM,mCAAmC,CAAA"}
@@ -0,0 +1,22 @@
1
+ /**
2
+ * Liquid glass light and dark theme definitions.
3
+ *
4
+ * Surfaces use translucent rgba values designed to pair with
5
+ * backdrop-filter blur effects for a frosted glass appearance.
6
+ *
7
+ * @module
8
+ */
9
+ import type { Theme } from '@molecule/app-theme';
10
+ /**
11
+ * Liquid glass light theme.
12
+ *
13
+ * Translucent white surfaces over blurred backgrounds.
14
+ */
15
+ export declare const lightTheme: Theme;
16
+ /**
17
+ * Liquid glass dark theme.
18
+ *
19
+ * Translucent dark surfaces over blurred backgrounds.
20
+ */
21
+ export declare const darkTheme: Theme;
22
+ //# sourceMappingURL=themes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"themes.d.ts","sourceRoot":"","sources":["../src/themes.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAA;AAEhD;;;;GAIG;AACH,eAAO,MAAM,UAAU,EAAE,KAsHxB,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,SAAS,EAAE,KAsHvB,CAAA"}
package/dist/themes.js ADDED
@@ -0,0 +1,247 @@
1
+ /**
2
+ * Liquid glass light and dark theme definitions.
3
+ *
4
+ * Surfaces use translucent rgba values designed to pair with
5
+ * backdrop-filter blur effects for a frosted glass appearance.
6
+ *
7
+ * @module
8
+ */
9
+ /**
10
+ * Liquid glass light theme.
11
+ *
12
+ * Translucent white surfaces over blurred backgrounds.
13
+ */
14
+ export const lightTheme = {
15
+ name: 'light',
16
+ mode: 'light',
17
+ colors: {
18
+ background: '#f0f0f0',
19
+ backgroundSecondary: '#e8e8e8',
20
+ backgroundTertiary: '#e0e0e0',
21
+ surface: 'rgba(255, 255, 255, 0.55)',
22
+ surfaceSecondary: 'rgba(255, 255, 255, 0.35)',
23
+ inputBackground: 'rgba(255, 255, 255, 0.7)',
24
+ text: '#1a1a1a',
25
+ textSecondary: '#555555',
26
+ textTertiary: '#777777',
27
+ textInverse: '#ffffff',
28
+ primary: '#0071e3',
29
+ primaryLight: '#3d9aff',
30
+ primaryDark: '#0058b0',
31
+ secondary: '#6e6e73',
32
+ secondaryLight: '#8e8e93',
33
+ secondaryDark: '#48484a',
34
+ success: '#34c759',
35
+ successLight: 'rgba(52, 199, 89, 0.15)',
36
+ warning: '#ff9f0a',
37
+ warningLight: 'rgba(255, 159, 10, 0.15)',
38
+ error: '#ff3b30',
39
+ errorLight: 'rgba(255, 59, 48, 0.15)',
40
+ info: '#5ac8fa',
41
+ infoLight: 'rgba(90, 200, 250, 0.15)',
42
+ border: 'rgba(0, 0, 0, 0.12)',
43
+ borderSecondary: 'rgba(0, 0, 0, 0.08)',
44
+ borderFocus: '#0071e3',
45
+ overlay: 'rgba(0, 0, 0, 0.3)',
46
+ shadow: 'rgba(0, 0, 0, 0.08)',
47
+ },
48
+ breakpoints: {
49
+ mobileS: '320px',
50
+ mobileM: '375px',
51
+ mobileL: '425px',
52
+ tablet: '768px',
53
+ laptop: '1024px',
54
+ laptopL: '1440px',
55
+ desktop: '2560px',
56
+ },
57
+ spacing: {
58
+ xs: '4px',
59
+ sm: '8px',
60
+ md: '16px',
61
+ lg: '24px',
62
+ xl: '32px',
63
+ xxl: '48px',
64
+ xxxl: '64px',
65
+ },
66
+ typography: {
67
+ fontFamily: {
68
+ sans: '-apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif',
69
+ serif: 'Georgia, "Times New Roman", Times, serif',
70
+ mono: '"SF Mono", SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace',
71
+ },
72
+ fontSize: {
73
+ xs: '0.75rem',
74
+ sm: '0.875rem',
75
+ base: '1rem',
76
+ lg: '1.125rem',
77
+ xl: '1.25rem',
78
+ '2xl': '1.5rem',
79
+ '3xl': '1.875rem',
80
+ '4xl': '2.25rem',
81
+ '5xl': '3rem',
82
+ },
83
+ fontWeight: {
84
+ light: 300,
85
+ normal: 400,
86
+ medium: 500,
87
+ semibold: 600,
88
+ bold: 700,
89
+ },
90
+ lineHeight: {
91
+ tight: 1.25,
92
+ normal: 1.5,
93
+ relaxed: 1.75,
94
+ },
95
+ },
96
+ borderRadius: {
97
+ none: '0',
98
+ sm: '8px',
99
+ md: '12px',
100
+ lg: '16px',
101
+ xl: '22px',
102
+ full: '9999px',
103
+ },
104
+ shadows: {
105
+ none: 'none',
106
+ sm: '0 1px 3px rgba(0, 0, 0, 0.06)',
107
+ md: '0 4px 12px rgba(0, 0, 0, 0.08)',
108
+ lg: '0 8px 24px rgba(0, 0, 0, 0.1)',
109
+ xl: '0 16px 40px rgba(0, 0, 0, 0.12)',
110
+ },
111
+ transitions: {
112
+ fast: '150ms ease',
113
+ normal: '300ms ease',
114
+ slow: '500ms ease',
115
+ },
116
+ zIndex: {
117
+ hide: -1,
118
+ base: 0,
119
+ dropdown: 1000,
120
+ sticky: 1100,
121
+ fixed: 1200,
122
+ modal: 1300,
123
+ popover: 1400,
124
+ tooltip: 1500,
125
+ toast: 1600,
126
+ },
127
+ };
128
+ /**
129
+ * Liquid glass dark theme.
130
+ *
131
+ * Translucent dark surfaces over blurred backgrounds.
132
+ */
133
+ export const darkTheme = {
134
+ name: 'dark',
135
+ mode: 'dark',
136
+ colors: {
137
+ background: '#0a0a0a',
138
+ backgroundSecondary: '#111111',
139
+ backgroundTertiary: '#1a1a1a',
140
+ surface: 'rgba(40, 40, 40, 0.55)',
141
+ surfaceSecondary: 'rgba(50, 50, 50, 0.4)',
142
+ inputBackground: 'rgba(30, 30, 30, 0.7)',
143
+ text: '#f5f5f7',
144
+ textSecondary: '#a1a1a6',
145
+ textTertiary: '#6e6e73',
146
+ textInverse: '#1d1d1f',
147
+ primary: '#0a84ff',
148
+ primaryLight: '#409cff',
149
+ primaryDark: '#0064d2',
150
+ secondary: '#8e8e93',
151
+ secondaryLight: '#aeaeb2',
152
+ secondaryDark: '#636366',
153
+ success: '#30d158',
154
+ successLight: 'rgba(48, 209, 88, 0.2)',
155
+ warning: '#ffd60a',
156
+ warningLight: 'rgba(255, 214, 10, 0.2)',
157
+ error: '#ff453a',
158
+ errorLight: 'rgba(255, 69, 58, 0.2)',
159
+ info: '#64d2ff',
160
+ infoLight: 'rgba(100, 210, 255, 0.2)',
161
+ border: 'rgba(255, 255, 255, 0.12)',
162
+ borderSecondary: 'rgba(255, 255, 255, 0.08)',
163
+ borderFocus: '#0a84ff',
164
+ overlay: 'rgba(0, 0, 0, 0.5)',
165
+ shadow: 'rgba(0, 0, 0, 0.3)',
166
+ },
167
+ breakpoints: {
168
+ mobileS: '320px',
169
+ mobileM: '375px',
170
+ mobileL: '425px',
171
+ tablet: '768px',
172
+ laptop: '1024px',
173
+ laptopL: '1440px',
174
+ desktop: '2560px',
175
+ },
176
+ spacing: {
177
+ xs: '4px',
178
+ sm: '8px',
179
+ md: '16px',
180
+ lg: '24px',
181
+ xl: '32px',
182
+ xxl: '48px',
183
+ xxxl: '64px',
184
+ },
185
+ typography: {
186
+ fontFamily: {
187
+ sans: '-apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif',
188
+ serif: 'Georgia, "Times New Roman", Times, serif',
189
+ mono: '"SF Mono", SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace',
190
+ },
191
+ fontSize: {
192
+ xs: '0.75rem',
193
+ sm: '0.875rem',
194
+ base: '1rem',
195
+ lg: '1.125rem',
196
+ xl: '1.25rem',
197
+ '2xl': '1.5rem',
198
+ '3xl': '1.875rem',
199
+ '4xl': '2.25rem',
200
+ '5xl': '3rem',
201
+ },
202
+ fontWeight: {
203
+ light: 300,
204
+ normal: 400,
205
+ medium: 500,
206
+ semibold: 600,
207
+ bold: 700,
208
+ },
209
+ lineHeight: {
210
+ tight: 1.25,
211
+ normal: 1.5,
212
+ relaxed: 1.75,
213
+ },
214
+ },
215
+ borderRadius: {
216
+ none: '0',
217
+ sm: '8px',
218
+ md: '12px',
219
+ lg: '16px',
220
+ xl: '22px',
221
+ full: '9999px',
222
+ },
223
+ shadows: {
224
+ none: 'none',
225
+ sm: '0 1px 3px rgba(0, 0, 0, 0.15)',
226
+ md: '0 4px 12px rgba(0, 0, 0, 0.2)',
227
+ lg: '0 8px 24px rgba(0, 0, 0, 0.25)',
228
+ xl: '0 16px 40px rgba(0, 0, 0, 0.3)',
229
+ },
230
+ transitions: {
231
+ fast: '150ms ease',
232
+ normal: '300ms ease',
233
+ slow: '500ms ease',
234
+ },
235
+ zIndex: {
236
+ hide: -1,
237
+ base: 0,
238
+ dropdown: 1000,
239
+ sticky: 1100,
240
+ fixed: 1200,
241
+ modal: 1300,
242
+ popover: 1400,
243
+ tooltip: 1500,
244
+ toast: 1600,
245
+ },
246
+ };
247
+ //# sourceMappingURL=themes.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"themes.js","sourceRoot":"","sources":["../src/themes.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAIH;;;;GAIG;AACH,MAAM,CAAC,MAAM,UAAU,GAAU;IAC/B,IAAI,EAAE,OAAO;IACb,IAAI,EAAE,OAAO;IACb,MAAM,EAAE;QACN,UAAU,EAAE,SAAS;QACrB,mBAAmB,EAAE,SAAS;QAC9B,kBAAkB,EAAE,SAAS;QAC7B,OAAO,EAAE,2BAA2B;QACpC,gBAAgB,EAAE,2BAA2B;QAC7C,eAAe,EAAE,0BAA0B;QAE3C,IAAI,EAAE,SAAS;QACf,aAAa,EAAE,SAAS;QACxB,YAAY,EAAE,SAAS;QACvB,WAAW,EAAE,SAAS;QAEtB,OAAO,EAAE,SAAS;QAClB,YAAY,EAAE,SAAS;QACvB,WAAW,EAAE,SAAS;QACtB,SAAS,EAAE,SAAS;QACpB,cAAc,EAAE,SAAS;QACzB,aAAa,EAAE,SAAS;QAExB,OAAO,EAAE,SAAS;QAClB,YAAY,EAAE,yBAAyB;QACvC,OAAO,EAAE,SAAS;QAClB,YAAY,EAAE,0BAA0B;QACxC,KAAK,EAAE,SAAS;QAChB,UAAU,EAAE,yBAAyB;QACrC,IAAI,EAAE,SAAS;QACf,SAAS,EAAE,0BAA0B;QAErC,MAAM,EAAE,qBAAqB;QAC7B,eAAe,EAAE,qBAAqB;QACtC,WAAW,EAAE,SAAS;QAEtB,OAAO,EAAE,oBAAoB;QAC7B,MAAM,EAAE,qBAAqB;K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AAE,EAAE,gCAAgC;QACpC,EAAE,EAAE,gCAAgC;KACrC;IACD,WAAW,EAAE;QACX,IAAI,EAAE,YAAY;QAClB,MAAM,EAAE,YAAY;QACpB,IAAI,EAAE,YAAY;KACnB;IACD,MAAM,EAAE;QACN,IAAI,EAAE,CAAC,CAAC;QACR,IAAI,EAAE,CAAC;QACP,QAAQ,EAAE,IAAI;QACd,MAAM,EAAE,IAAI;QACZ,KAAK,EAAE,IAAI;QACX,KAAK,EAAE,IAAI;QACX,OAAO,EAAE,IAAI;QACb,OAAO,EAAE,IAAI;QACb,KAAK,EAAE,IAAI;KACZ;CACF,CAAA"}
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Types for the liquid glass theme preset.
3
+ *
4
+ * Re-exports config types from the base CSS variables provider.
5
+ *
6
+ * @module
7
+ */
8
+ export type { CSSVariablesThemeConfig, ThemeStorageAdapter, } from '@molecule/app-theme-css-variables';
9
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,YAAY,EACV,uBAAuB,EACvB,mBAAmB,GACpB,MAAM,mCAAmC,CAAA"}
package/dist/types.js ADDED
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Types for the liquid glass theme preset.
3
+ *
4
+ * Re-exports config types from the base CSS variables provider.
5
+ *
6
+ * @module
7
+ */
8
+ export {};
9
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG"}
package/package.json ADDED
@@ -0,0 +1,50 @@
1
+ {
2
+ "name": "@molecule/app-theme-css-variables-liquid-glass",
3
+ "version": "1.0.0",
4
+ "description": "Liquid glass theme preset with translucent surfaces for molecule.dev",
5
+ "type": "module",
6
+ "main": "dist/index.js",
7
+ "types": "dist/index.d.ts",
8
+ "scripts": {
9
+ "build": "tsc",
10
+ "test": "vitest run",
11
+ "test:watch": "vitest"
12
+ },
13
+ "exports": {
14
+ ".": {
15
+ "types": "./dist/index.d.ts",
16
+ "import": "./dist/index.js"
17
+ }
18
+ },
19
+ "files": [
20
+ "dist"
21
+ ],
22
+ "keywords": [
23
+ "molecule",
24
+ "theme",
25
+ "css-variables",
26
+ "liquid-glass",
27
+ "frosted-glass",
28
+ "translucent"
29
+ ],
30
+ "license": "Apache-2.0",
31
+ "devDependencies": {
32
+ "@types/node": "26.1.2",
33
+ "typescript": "6.0.3",
34
+ "vitest": "4.1.10"
35
+ },
36
+ "peerDependencies": {
37
+ "@molecule/app-theme": "^1.0.0",
38
+ "@molecule/app-theme-css-variables": "^1.0.0"
39
+ },
40
+ "repository": {
41
+ "type": "git",
42
+ "url": "https://github.com/molecule-dev/molecule.git",
43
+ "directory": "packages/app/bonds/theme/css-variables-liquid-glass"
44
+ },
45
+ "homepage": "https://github.com/molecule-dev/molecule/tree/main/packages/app/bonds/theme/css-variables-liquid-glass",
46
+ "bugs": "https://github.com/molecule-dev/molecule/issues",
47
+ "publishConfig": {
48
+ "access": "public"
49
+ }
50
+ }