@orsetra/shared-config 1.0.3 → 1.0.5
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 +46 -46
- package/tailwind/preset.js +33 -0
package/package.json
CHANGED
|
@@ -1,46 +1,46 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@orsetra/shared-config",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"description": "Shared configuration files for Orsetra platform",
|
|
5
|
-
"main": "./index.ts",
|
|
6
|
-
"types": "./index.ts",
|
|
7
|
-
"exports": {
|
|
8
|
-
".": "./index.ts",
|
|
9
|
-
"./tailwind": "./tailwind.config.ts",
|
|
10
|
-
"./tailwind/preset": "./tailwind/preset.js",
|
|
11
|
-
"./theme": "./theme/index.ts",
|
|
12
|
-
"./styles": "./styles/globals.css",
|
|
13
|
-
"./styles/*": "./styles/*",
|
|
14
|
-
"./typescript": "./tsconfig.json"
|
|
15
|
-
},
|
|
16
|
-
"files": [
|
|
17
|
-
"index.ts",
|
|
18
|
-
"tailwind.config.ts",
|
|
19
|
-
"tailwind",
|
|
20
|
-
"theme",
|
|
21
|
-
"styles",
|
|
22
|
-
"tsconfig.json",
|
|
23
|
-
"README.md"
|
|
24
|
-
],
|
|
25
|
-
"publishConfig": {
|
|
26
|
-
"access": "public"
|
|
27
|
-
},
|
|
28
|
-
"repository": {
|
|
29
|
-
"type": "git",
|
|
30
|
-
"url": "https://github.com/orsetra/console-ui.git",
|
|
31
|
-
"directory": "packages/shared-config"
|
|
32
|
-
},
|
|
33
|
-
"keywords": [
|
|
34
|
-
"config",
|
|
35
|
-
"tailwind",
|
|
36
|
-
"typescript",
|
|
37
|
-
"orsetra"
|
|
38
|
-
],
|
|
39
|
-
"peerDependencies": {
|
|
40
|
-
"tailwindcss": "^3.0.0"
|
|
41
|
-
},
|
|
42
|
-
"devDependencies": {
|
|
43
|
-
"tailwindcss": "^3.4.17",
|
|
44
|
-
"typescript": "^5"
|
|
45
|
-
}
|
|
46
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@orsetra/shared-config",
|
|
3
|
+
"version": "1.0.5",
|
|
4
|
+
"description": "Shared configuration files for Orsetra platform",
|
|
5
|
+
"main": "./index.ts",
|
|
6
|
+
"types": "./index.ts",
|
|
7
|
+
"exports": {
|
|
8
|
+
".": "./index.ts",
|
|
9
|
+
"./tailwind": "./tailwind.config.ts",
|
|
10
|
+
"./tailwind/preset": "./tailwind/preset.js",
|
|
11
|
+
"./theme": "./theme/index.ts",
|
|
12
|
+
"./styles": "./styles/globals.css",
|
|
13
|
+
"./styles/*": "./styles/*",
|
|
14
|
+
"./typescript": "./tsconfig.json"
|
|
15
|
+
},
|
|
16
|
+
"files": [
|
|
17
|
+
"index.ts",
|
|
18
|
+
"tailwind.config.ts",
|
|
19
|
+
"tailwind",
|
|
20
|
+
"theme",
|
|
21
|
+
"styles",
|
|
22
|
+
"tsconfig.json",
|
|
23
|
+
"README.md"
|
|
24
|
+
],
|
|
25
|
+
"publishConfig": {
|
|
26
|
+
"access": "public"
|
|
27
|
+
},
|
|
28
|
+
"repository": {
|
|
29
|
+
"type": "git",
|
|
30
|
+
"url": "https://github.com/orsetra/console-ui.git",
|
|
31
|
+
"directory": "packages/shared-config"
|
|
32
|
+
},
|
|
33
|
+
"keywords": [
|
|
34
|
+
"config",
|
|
35
|
+
"tailwind",
|
|
36
|
+
"typescript",
|
|
37
|
+
"orsetra"
|
|
38
|
+
],
|
|
39
|
+
"peerDependencies": {
|
|
40
|
+
"tailwindcss": "^3.0.0"
|
|
41
|
+
},
|
|
42
|
+
"devDependencies": {
|
|
43
|
+
"tailwindcss": "^3.4.17",
|
|
44
|
+
"typescript": "^5"
|
|
45
|
+
}
|
|
46
|
+
}
|
package/tailwind/preset.js
CHANGED
|
@@ -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',
|