@nasa-jpl/stellar-svelte 2.0.0-alpha.33 → 2.0.0-alpha.36

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/package.json CHANGED
@@ -19,9 +19,8 @@
19
19
  },
20
20
  "description": "Everything you need to build a Svelte library, powered by [`create-svelte`](https://github.com/sveltejs/kit/tree/main/packages/create-svelte).",
21
21
  "devDependencies": {
22
- "@nasa-jpl/stellar": "file:../css/dist",
23
- "@nasa-jpl/stellar-react": "file:../react/dist",
24
22
  "@sveltejs/adapter-node": "^5.0.1",
23
+ "@sveltejs/adapter-static": "^3.0.8",
25
24
  "@sveltejs/kit": "^2.0.0",
26
25
  "@sveltejs/package": "^2.0.0",
27
26
  "@sveltejs/vite-plugin-svelte": "^3.0.0",
@@ -45,7 +44,8 @@
45
44
  },
46
45
  "./styles": "./dist/index.css",
47
46
  "./tailwindConfig": "./tailwind.config.ts",
48
- "./theme": "./src/theme.css"
47
+ "./theme": "./src/theme.css",
48
+ "./font": "./src/font.css"
49
49
  },
50
50
  "files": [
51
51
  "dist",
@@ -80,6 +80,6 @@
80
80
  "svelte": "./dist/index.js",
81
81
  "type": "module",
82
82
  "types": "./dist/index.d.ts",
83
- "version": "2.0.0-alpha.33",
84
- "gitHead": "1bec247b4709828d586f16653b93414ca53bf4ac"
83
+ "version": "2.0.0-alpha.36",
84
+ "gitHead": "5d198b894940729fddcfe09c6a9e0c530172d9d7"
85
85
  }
@@ -1,64 +1,67 @@
1
- import { fontFamily } from 'tailwindcss/defaultTheme';
2
1
  import type { Config } from 'tailwindcss';
2
+ import { fontFamily } from 'tailwindcss/defaultTheme';
3
3
 
4
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
- }
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
+ fontSize: {
18
+ xxs: '0.55rem',
19
+ },
20
+ colors: {
21
+ border: 'hsl(var(--border) / <alpha-value>)',
22
+ input: 'hsl(var(--input) / <alpha-value>)',
23
+ ring: 'hsl(var(--ring) / <alpha-value>)',
24
+ background: 'hsl(var(--background) / <alpha-value>)',
25
+ foreground: 'hsl(var(--foreground) / <alpha-value>)',
26
+ primary: {
27
+ DEFAULT: 'hsl(var(--primary) / <alpha-value>)',
28
+ foreground: 'hsl(var(--primary-foreground) / <alpha-value>)',
29
+ },
30
+ secondary: {
31
+ DEFAULT: 'hsl(var(--secondary) / <alpha-value>)',
32
+ foreground: 'hsl(var(--secondary-foreground) / <alpha-value>)',
33
+ },
34
+ destructive: {
35
+ DEFAULT: 'hsl(var(--destructive) / <alpha-value>)',
36
+ foreground: 'hsl(var(--destructive-foreground) / <alpha-value>)',
37
+ },
38
+ muted: {
39
+ DEFAULT: 'hsl(var(--muted) / <alpha-value>)',
40
+ foreground: 'hsl(var(--muted-foreground) / <alpha-value>)',
41
+ },
42
+ accent: {
43
+ DEFAULT: 'hsl(var(--accent) / <alpha-value>)',
44
+ foreground: 'hsl(var(--accent-foreground) / <alpha-value>)',
45
+ },
46
+ popover: {
47
+ DEFAULT: 'hsl(var(--popover) / <alpha-value>)',
48
+ foreground: 'hsl(var(--popover-foreground) / <alpha-value>)',
49
+ },
50
+ card: {
51
+ DEFAULT: 'hsl(var(--card) / <alpha-value>)',
52
+ foreground: 'hsl(var(--card-foreground) / <alpha-value>)',
53
+ },
54
+ },
55
+ borderRadius: {
56
+ lg: 'calc(var(--radius) + 4px)',
57
+ md: 'var(--radius)',
58
+ sm: 'calc(var(--radius) - 2px)',
59
+ },
60
+ fontFamily: {
61
+ sans: ['Inter', ...fontFamily.sans],
62
+ },
63
+ },
64
+ },
62
65
  };
63
66
 
64
67
  export default config;