@orsetra/shared-config 1.0.4 → 1.0.6

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orsetra/shared-config",
3
- "version": "1.0.4",
3
+ "version": "1.0.6",
4
4
  "description": "Shared configuration files for Orsetra platform",
5
5
  "main": "./index.ts",
6
6
  "types": "./index.ts",
@@ -9,6 +9,39 @@ module.exports = {
9
9
  fontSize,
10
10
  colors: {
11
11
  ...colors,
12
+ background: 'hsl(var(--background))',
13
+ foreground: 'hsl(var(--foreground))',
14
+ card: {
15
+ DEFAULT: 'hsl(var(--card))',
16
+ foreground: 'hsl(var(--card-foreground))',
17
+ },
18
+ popover: {
19
+ DEFAULT: 'hsl(var(--popover))',
20
+ foreground: 'hsl(var(--popover-foreground))',
21
+ },
22
+ primary: {
23
+ DEFAULT: 'hsl(var(--primary))',
24
+ foreground: 'hsl(var(--primary-foreground))',
25
+ },
26
+ secondary: {
27
+ DEFAULT: 'hsl(var(--secondary))',
28
+ foreground: 'hsl(var(--secondary-foreground))',
29
+ },
30
+ muted: {
31
+ DEFAULT: 'hsl(var(--muted))',
32
+ foreground: 'hsl(var(--muted-foreground))',
33
+ },
34
+ accent: {
35
+ DEFAULT: 'hsl(var(--accent))',
36
+ foreground: 'hsl(var(--accent-foreground))',
37
+ },
38
+ destructive: {
39
+ DEFAULT: 'hsl(var(--destructive))',
40
+ foreground: 'hsl(var(--destructive-foreground))',
41
+ },
42
+ border: 'hsl(var(--border))',
43
+ input: 'hsl(var(--input))',
44
+ ring: 'hsl(var(--ring))',
12
45
  // Semantic UI colors
13
46
  'text-primary': '#161616',
14
47
  'text-secondary': '#525252',
package/theme/index.js CHANGED
@@ -74,6 +74,18 @@ const colors = {
74
74
  "carbon-blue-80": "#002d9c",
75
75
  "carbon-blue-90": "#001d6c",
76
76
  "carbon-blue-100": "#001141",
77
+ // IBM Blue aliases for backward compatibility
78
+ "ibm-blue-5": "#edf5ff",
79
+ "ibm-blue-10": "#edf5ff",
80
+ "ibm-blue-20": "#d0e2ff",
81
+ "ibm-blue-30": "#a6c8ff",
82
+ "ibm-blue-40": "#78a9ff",
83
+ "ibm-blue-50": "#4589ff",
84
+ "ibm-blue-60": "#0f62fe",
85
+ "ibm-blue-70": "#0043ce",
86
+ "ibm-blue-80": "#002d9c",
87
+ "ibm-blue-90": "#001d6c",
88
+ "ibm-blue-100": "#001141",
77
89
  "carbon-green-10": "#defbe6",
78
90
  "carbon-green-20": "#a7f0ba",
79
91
  "carbon-green-30": "#6fdc8c",
@@ -113,7 +125,18 @@ const colors = {
113
125
  "carbon-gray-70": "#525252",
114
126
  "carbon-gray-80": "#393939",
115
127
  "carbon-gray-90": "#262626",
116
- "carbon-gray-100": "#161616"
128
+ "carbon-gray-100": "#161616",
129
+ // IBM Gray aliases for backward compatibility
130
+ "ibm-gray-10": "#f4f4f4",
131
+ "ibm-gray-20": "#e0e0e0",
132
+ "ibm-gray-30": "#c6c6c6",
133
+ "ibm-gray-40": "#a8a8a8",
134
+ "ibm-gray-50": "#8d8d8d",
135
+ "ibm-gray-60": "#6f6f6f",
136
+ "ibm-gray-70": "#525252",
137
+ "ibm-gray-80": "#393939",
138
+ "ibm-gray-90": "#262626",
139
+ "ibm-gray-100": "#161616"
117
140
  }
118
141
 
119
142
  const spacing = {