@thesage/config 0.0.1

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 ADDED
@@ -0,0 +1,11 @@
1
+ {
2
+ "name": "@thesage/config",
3
+ "version": "0.0.1",
4
+ "publishConfig": {
5
+ "access": "public"
6
+ },
7
+ "main": "index.js",
8
+ "exports": {
9
+ "./tailwind": "./tailwind/index.js"
10
+ }
11
+ }
package/src/index.ts ADDED
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Shared configuration for the ecosystem
3
+ *
4
+ * Add reusable configuration here that is used across multiple apps.
5
+ * Examples: shared constants, environment configs, feature flags.
6
+ */
7
+
8
+ // Placeholder - replace with actual shared config
9
+ export const config = {
10
+ // Add shared configuration here
11
+ };
@@ -0,0 +1,106 @@
1
+ /** @type {import('tailwindcss').Config} */
2
+ module.exports = {
3
+ theme: {
4
+ extend: {
5
+ colors: {
6
+ background: {
7
+ DEFAULT: 'var(--color-background)',
8
+ secondary: 'var(--color-background-secondary)',
9
+ tertiary: 'var(--color-background-tertiary)',
10
+ },
11
+ foreground: {
12
+ DEFAULT: 'var(--color-foreground)',
13
+ secondary: 'var(--color-text-secondary)',
14
+ tertiary: 'var(--color-text-muted)',
15
+ },
16
+ primary: {
17
+ DEFAULT: 'var(--color-primary)',
18
+ foreground: 'var(--color-primary-foreground)',
19
+ },
20
+ secondary: {
21
+ DEFAULT: 'var(--color-secondary)',
22
+ foreground: 'var(--color-secondary-foreground)',
23
+ },
24
+ accent: {
25
+ DEFAULT: 'var(--color-accent)',
26
+ foreground: 'var(--color-accent-foreground)',
27
+ },
28
+ destructive: {
29
+ DEFAULT: 'var(--color-destructive)',
30
+ foreground: 'var(--color-destructive-foreground)',
31
+ },
32
+ muted: {
33
+ DEFAULT: 'var(--color-muted)',
34
+ foreground: 'var(--color-muted-foreground)',
35
+ },
36
+ popover: {
37
+ DEFAULT: 'var(--color-popover)',
38
+ foreground: 'var(--color-popover-foreground)',
39
+ },
40
+ card: {
41
+ DEFAULT: 'var(--color-card)',
42
+ foreground: 'var(--color-card-foreground)',
43
+ },
44
+ success: {
45
+ DEFAULT: 'var(--color-success)',
46
+ foreground: 'var(--color-success-foreground)',
47
+ },
48
+ warning: {
49
+ DEFAULT: 'var(--color-warning)',
50
+ foreground: 'var(--color-warning-foreground)',
51
+ },
52
+ error: {
53
+ DEFAULT: 'var(--color-error)',
54
+ foreground: 'var(--color-error-foreground)',
55
+ },
56
+ info: {
57
+ DEFAULT: 'var(--color-info)',
58
+ foreground: 'var(--color-info-foreground)',
59
+ },
60
+ surface: 'var(--color-surface)',
61
+ border: 'var(--color-border)',
62
+ input: 'var(--color-input)',
63
+ ring: 'var(--color-ring)',
64
+ glass: {
65
+ DEFAULT: 'var(--color-glass)',
66
+ border: 'var(--color-glass-border)',
67
+ },
68
+ },
69
+ fontFamily: {
70
+ heading: ['var(--font-heading)'],
71
+ body: ['var(--font-body)'],
72
+ mono: ['var(--font-mono)'],
73
+ },
74
+ borderRadius: {
75
+ lg: 'var(--radius)',
76
+ md: 'calc(var(--radius) - 2px)',
77
+ sm: 'calc(var(--radius) - 4px)',
78
+ },
79
+ keyframes: {
80
+ "accordion-down": {
81
+ from: { height: "0" },
82
+ to: { height: "var(--radix-accordion-content-height)" },
83
+ },
84
+ "accordion-up": {
85
+ from: { height: "var(--radix-accordion-content-height)" },
86
+ to: { height: "0" },
87
+ },
88
+ "collapsible-down": {
89
+ from: { height: "0" },
90
+ to: { height: "var(--radix-collapsible-content-height)" },
91
+ },
92
+ "collapsible-up": {
93
+ from: { height: "var(--radix-collapsible-content-height)" },
94
+ to: { height: "0" },
95
+ },
96
+ },
97
+ animation: {
98
+ "accordion-down": "accordion-down 0.2s ease-out",
99
+ "accordion-up": "accordion-up 0.2s ease-out",
100
+ "collapsible-down": "collapsible-down 0.2s ease-out",
101
+ "collapsible-up": "collapsible-up 0.2s ease-out",
102
+ },
103
+ },
104
+ },
105
+ plugins: [],
106
+ };