@nasa-jpl/stellar-svelte 2.0.0-alpha.23 → 2.0.0-alpha.25

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/index.css CHANGED
@@ -1,219 +1,3 @@
1
- @font-face {
2
- font-family: "Inter";
3
-
4
- font-style: normal;
5
-
6
- font-weight: 100;
7
-
8
- font-display: swap;
9
-
10
- src: url("web/Inter-Thin.woff2?v=4.0") format("woff2");
11
- }
12
-
13
- @font-face {
14
- font-family: "Inter";
15
-
16
- font-style: italic;
17
-
18
- font-weight: 100;
19
-
20
- font-display: swap;
21
-
22
- src: url("web/Inter-ThinItalic.woff2?v=4.0") format("woff2");
23
- }
24
-
25
- @font-face {
26
- font-family: "Inter";
27
-
28
- font-style: normal;
29
-
30
- font-weight: 200;
31
-
32
- font-display: swap;
33
-
34
- src: url("web/Inter-ExtraLight.woff2?v=4.0") format("woff2");
35
- }
36
-
37
- @font-face {
38
- font-family: "Inter";
39
-
40
- font-style: italic;
41
-
42
- font-weight: 200;
43
-
44
- font-display: swap;
45
-
46
- src: url("web/Inter-ExtraLightItalic.woff2?v=4.0") format("woff2");
47
- }
48
-
49
- @font-face {
50
- font-family: "Inter";
51
-
52
- font-style: normal;
53
-
54
- font-weight: 300;
55
-
56
- font-display: swap;
57
-
58
- src: url("web/Inter-Light.woff2?v=4.0") format("woff2");
59
- }
60
-
61
- @font-face {
62
- font-family: "Inter";
63
-
64
- font-style: italic;
65
-
66
- font-weight: 300;
67
-
68
- font-display: swap;
69
-
70
- src: url("web/Inter-LightItalic.woff2?v=4.0") format("woff2");
71
- }
72
-
73
- @font-face {
74
- font-family: "Inter";
75
-
76
- font-style: normal;
77
-
78
- font-weight: 400;
79
-
80
- font-display: swap;
81
-
82
- src: url("web/Inter-Regular.woff2?v=4.0") format("woff2");
83
- }
84
-
85
- @font-face {
86
- font-family: "Inter";
87
-
88
- font-style: italic;
89
-
90
- font-weight: 400;
91
-
92
- font-display: swap;
93
-
94
- src: url("web/Inter-Italic.woff2?v=4.0") format("woff2");
95
- }
96
-
97
- @font-face {
98
- font-family: "Inter";
99
-
100
- font-style: normal;
101
-
102
- font-weight: 500;
103
-
104
- font-display: swap;
105
-
106
- src: url("web/Inter-Medium.woff2?v=4.0") format("woff2");
107
- }
108
-
109
- @font-face {
110
- font-family: "Inter";
111
-
112
- font-style: italic;
113
-
114
- font-weight: 500;
115
-
116
- font-display: swap;
117
-
118
- src: url("web/Inter-MediumItalic.woff2?v=4.0") format("woff2");
119
- }
120
-
121
- @font-face {
122
- font-family: "Inter";
123
-
124
- font-style: normal;
125
-
126
- font-weight: 600;
127
-
128
- font-display: swap;
129
-
130
- src: url("web/Inter-SemiBold.woff2?v=4.0") format("woff2");
131
- }
132
-
133
- @font-face {
134
- font-family: "Inter";
135
-
136
- font-style: italic;
137
-
138
- font-weight: 600;
139
-
140
- font-display: swap;
141
-
142
- src: url("web/Inter-SemiBoldItalic.woff2?v=4.0") format("woff2");
143
- }
144
-
145
- @font-face {
146
- font-family: "Inter";
147
-
148
- font-style: normal;
149
-
150
- font-weight: 700;
151
-
152
- font-display: swap;
153
-
154
- src: url("web/Inter-Bold.woff2?v=4.0") format("woff2");
155
- }
156
-
157
- @font-face {
158
- font-family: "Inter";
159
-
160
- font-style: italic;
161
-
162
- font-weight: 700;
163
-
164
- font-display: swap;
165
-
166
- src: url("web/Inter-BoldItalic.woff2?v=4.0") format("woff2");
167
- }
168
-
169
- @font-face {
170
- font-family: "Inter";
171
-
172
- font-style: normal;
173
-
174
- font-weight: 800;
175
-
176
- font-display: swap;
177
-
178
- src: url("web/Inter-ExtraBold.woff2?v=4.0") format("woff2");
179
- }
180
-
181
- @font-face {
182
- font-family: "Inter";
183
-
184
- font-style: italic;
185
-
186
- font-weight: 800;
187
-
188
- font-display: swap;
189
-
190
- src: url("web/Inter-ExtraBoldItalic.woff2?v=4.0") format("woff2");
191
- }
192
-
193
- @font-face {
194
- font-family: "Inter";
195
-
196
- font-style: normal;
197
-
198
- font-weight: 900;
199
-
200
- font-display: swap;
201
-
202
- src: url("web/Inter-Black.woff2?v=4.0") format("woff2");
203
- }
204
-
205
- @font-face {
206
- font-family: "Inter";
207
-
208
- font-style: italic;
209
-
210
- font-weight: 900;
211
-
212
- font-display: swap;
213
-
214
- src: url("web/Inter-BlackItalic.woff2?v=4.0") format("woff2");
215
- }
216
-
217
1
  /*
218
2
  ! tailwindcss v3.4.10 | MIT License | https://tailwindcss.com
219
3
  */
package/package.json CHANGED
@@ -33,12 +33,14 @@
33
33
  "svelte": "./dist/index.js",
34
34
  "default": "./dist/index.js"
35
35
  },
36
- "./styles": "./dist/index.css"
36
+ "./styles": "./dist/index.css",
37
+ "./tailwindConfig": "./tailwind.config.ts"
37
38
  },
38
39
  "files": [
39
40
  "dist",
40
41
  "!dist/**/*.test.*",
41
42
  "!dist/**/*.spec.*",
43
+ "./tailwind.config.ts",
42
44
  "package.json"
43
45
  ],
44
46
  "license": "ISC",
@@ -66,6 +68,6 @@
66
68
  "svelte": "./dist/index.js",
67
69
  "type": "module",
68
70
  "types": "./dist/index.d.ts",
69
- "version": "2.0.0-alpha.23",
70
- "gitHead": "e5b6e6842cba2668eec6b86e0ed660de29296ceb"
71
+ "version": "2.0.0-alpha.25",
72
+ "gitHead": "91d7ea90778c5c299605b6bb85b4082494d86d61"
71
73
  }
@@ -0,0 +1,64 @@
1
+ import { fontFamily } from 'tailwindcss/defaultTheme';
2
+ import type { Config } from 'tailwindcss';
3
+
4
+ const config: Config = {
5
+ darkMode: ['class'],
6
+ content: ['./src/**/*.{html,js,svelte,ts}'],
7
+ safelist: ['dark'],
8
+ theme: {
9
+ container: {
10
+ center: true,
11
+ padding: '2rem',
12
+ screens: {
13
+ '2xl': '1400px'
14
+ }
15
+ },
16
+ extend: {
17
+ colors: {
18
+ border: 'hsl(var(--border) / <alpha-value>)',
19
+ input: 'hsl(var(--input) / <alpha-value>)',
20
+ ring: 'hsl(var(--ring) / <alpha-value>)',
21
+ background: 'hsl(var(--background) / <alpha-value>)',
22
+ foreground: 'hsl(var(--foreground) / <alpha-value>)',
23
+ primary: {
24
+ DEFAULT: 'hsl(var(--primary) / <alpha-value>)',
25
+ foreground: 'hsl(var(--primary-foreground) / <alpha-value>)'
26
+ },
27
+ secondary: {
28
+ DEFAULT: 'hsl(var(--secondary) / <alpha-value>)',
29
+ foreground: 'hsl(var(--secondary-foreground) / <alpha-value>)'
30
+ },
31
+ destructive: {
32
+ DEFAULT: 'hsl(var(--destructive) / <alpha-value>)',
33
+ foreground: 'hsl(var(--destructive-foreground) / <alpha-value>)'
34
+ },
35
+ muted: {
36
+ DEFAULT: 'hsl(var(--muted) / <alpha-value>)',
37
+ foreground: 'hsl(var(--muted-foreground) / <alpha-value>)'
38
+ },
39
+ accent: {
40
+ DEFAULT: 'hsl(var(--accent) / <alpha-value>)',
41
+ foreground: 'hsl(var(--accent-foreground) / <alpha-value>)'
42
+ },
43
+ popover: {
44
+ DEFAULT: 'hsl(var(--popover) / <alpha-value>)',
45
+ foreground: 'hsl(var(--popover-foreground) / <alpha-value>)'
46
+ },
47
+ card: {
48
+ DEFAULT: 'hsl(var(--card) / <alpha-value>)',
49
+ foreground: 'hsl(var(--card-foreground) / <alpha-value>)'
50
+ }
51
+ },
52
+ borderRadius: {
53
+ lg: 'calc(var(--radius) + 4px)',
54
+ md: 'var(--radius)',
55
+ sm: 'calc(var(--radius) - 2px)'
56
+ },
57
+ fontFamily: {
58
+ sans: ['Inter', ...fontFamily.sans]
59
+ }
60
+ }
61
+ }
62
+ };
63
+
64
+ export default config;