@grupalia/rn-ui-kit 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/README.md +46 -0
- package/lib/commonjs/components/BaseButton.js +246 -0
- package/lib/commonjs/components/BaseButton.js.map +1 -0
- package/lib/commonjs/components/index.js +14 -0
- package/lib/commonjs/components/index.js.map +1 -0
- package/lib/commonjs/index.js +29 -0
- package/lib/commonjs/index.js.map +1 -0
- package/lib/commonjs/package.json +1 -0
- package/lib/commonjs/preset.js +30 -0
- package/lib/commonjs/preset.js.map +1 -0
- package/lib/commonjs/styles/background-colors.js +135 -0
- package/lib/commonjs/styles/background-colors.js.map +1 -0
- package/lib/commonjs/styles/border-colors.js +51 -0
- package/lib/commonjs/styles/border-colors.js.map +1 -0
- package/lib/commonjs/styles/colors.js +390 -0
- package/lib/commonjs/styles/colors.js.map +1 -0
- package/lib/commonjs/styles/foreground-colors.js +91 -0
- package/lib/commonjs/styles/foreground-colors.js.map +1 -0
- package/lib/commonjs/styles/gradients.js +1241 -0
- package/lib/commonjs/styles/gradients.js.map +1 -0
- package/lib/commonjs/styles/text-colors.js +99 -0
- package/lib/commonjs/styles/text-colors.js.map +1 -0
- package/lib/commonjs/types/nativewind-env.d.js +3 -0
- package/lib/commonjs/types/nativewind-env.d.js.map +1 -0
- package/lib/module/components/BaseButton.js +241 -0
- package/lib/module/components/BaseButton.js.map +1 -0
- package/lib/module/components/index.js +4 -0
- package/lib/module/components/index.js.map +1 -0
- package/lib/module/index.js +5 -0
- package/lib/module/index.js.map +1 -0
- package/lib/module/package.json +1 -0
- package/lib/module/preset.js +25 -0
- package/lib/module/preset.js.map +1 -0
- package/lib/module/styles/background-colors.js +130 -0
- package/lib/module/styles/background-colors.js.map +1 -0
- package/lib/module/styles/border-colors.js +46 -0
- package/lib/module/styles/border-colors.js.map +1 -0
- package/lib/module/styles/colors.js +386 -0
- package/lib/module/styles/colors.js.map +1 -0
- package/lib/module/styles/foreground-colors.js +86 -0
- package/lib/module/styles/foreground-colors.js.map +1 -0
- package/lib/module/styles/gradients.js +1237 -0
- package/lib/module/styles/gradients.js.map +1 -0
- package/lib/module/styles/text-colors.js +94 -0
- package/lib/module/styles/text-colors.js.map +1 -0
- package/lib/module/types/nativewind-env.d.js +3 -0
- package/lib/module/types/nativewind-env.d.js.map +1 -0
- package/lib/typescript/commonjs/components/BaseButton.d.ts +15 -0
- package/lib/typescript/commonjs/components/BaseButton.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/index.d.ts +2 -0
- package/lib/typescript/commonjs/components/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/index.d.ts +3 -0
- package/lib/typescript/commonjs/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/package.json +1 -0
- package/lib/typescript/commonjs/preset.d.ts +4 -0
- package/lib/typescript/commonjs/preset.d.ts.map +1 -0
- package/lib/typescript/commonjs/styles/background-colors.d.ts +128 -0
- package/lib/typescript/commonjs/styles/background-colors.d.ts.map +1 -0
- package/lib/typescript/commonjs/styles/border-colors.d.ts +44 -0
- package/lib/typescript/commonjs/styles/border-colors.d.ts.map +1 -0
- package/lib/typescript/commonjs/styles/colors.d.ts +385 -0
- package/lib/typescript/commonjs/styles/colors.d.ts.map +1 -0
- package/lib/typescript/commonjs/styles/foreground-colors.d.ts +84 -0
- package/lib/typescript/commonjs/styles/foreground-colors.d.ts.map +1 -0
- package/lib/typescript/commonjs/styles/gradients.d.ts +900 -0
- package/lib/typescript/commonjs/styles/gradients.d.ts.map +1 -0
- package/lib/typescript/commonjs/styles/text-colors.d.ts +92 -0
- package/lib/typescript/commonjs/styles/text-colors.d.ts.map +1 -0
- package/lib/typescript/module/components/BaseButton.d.ts +15 -0
- package/lib/typescript/module/components/BaseButton.d.ts.map +1 -0
- package/lib/typescript/module/components/index.d.ts +2 -0
- package/lib/typescript/module/components/index.d.ts.map +1 -0
- package/lib/typescript/module/index.d.ts +3 -0
- package/lib/typescript/module/index.d.ts.map +1 -0
- package/lib/typescript/module/package.json +1 -0
- package/lib/typescript/module/preset.d.ts +4 -0
- package/lib/typescript/module/preset.d.ts.map +1 -0
- package/lib/typescript/module/styles/background-colors.d.ts +128 -0
- package/lib/typescript/module/styles/background-colors.d.ts.map +1 -0
- package/lib/typescript/module/styles/border-colors.d.ts +44 -0
- package/lib/typescript/module/styles/border-colors.d.ts.map +1 -0
- package/lib/typescript/module/styles/colors.d.ts +385 -0
- package/lib/typescript/module/styles/colors.d.ts.map +1 -0
- package/lib/typescript/module/styles/foreground-colors.d.ts +84 -0
- package/lib/typescript/module/styles/foreground-colors.d.ts.map +1 -0
- package/lib/typescript/module/styles/gradients.d.ts +900 -0
- package/lib/typescript/module/styles/gradients.d.ts.map +1 -0
- package/lib/typescript/module/styles/text-colors.d.ts +92 -0
- package/lib/typescript/module/styles/text-colors.d.ts.map +1 -0
- package/package.json +89 -0
- package/src/preset.ts +32 -0
- package/src/styles/background-colors.ts +128 -0
- package/src/styles/border-colors.ts +44 -0
- package/src/styles/colors.ts +383 -0
- package/src/styles/foreground-colors.ts +84 -0
- package/src/styles/gradients.ts +1570 -0
- package/src/styles/text-colors.ts +92 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gradients.d.ts","sourceRoot":"","sources":["../../../../src/styles/gradients.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBAiiDE"}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
'text-primary': {
|
|
3
|
+
light: string;
|
|
4
|
+
dark: string;
|
|
5
|
+
};
|
|
6
|
+
'text-primary_on-brand': {
|
|
7
|
+
light: string;
|
|
8
|
+
dark: string;
|
|
9
|
+
};
|
|
10
|
+
'text-secondary': {
|
|
11
|
+
light: string;
|
|
12
|
+
dark: string;
|
|
13
|
+
};
|
|
14
|
+
'text-secondary_hover': {
|
|
15
|
+
light: string;
|
|
16
|
+
dark: string;
|
|
17
|
+
};
|
|
18
|
+
'text-secondary_on-brand': {
|
|
19
|
+
light: string;
|
|
20
|
+
dark: string;
|
|
21
|
+
};
|
|
22
|
+
'text-tertiary': {
|
|
23
|
+
light: string;
|
|
24
|
+
dark: string;
|
|
25
|
+
};
|
|
26
|
+
'text-tertiary_hover': {
|
|
27
|
+
light: string;
|
|
28
|
+
dark: string;
|
|
29
|
+
};
|
|
30
|
+
'text-tertiary_on-brand': {
|
|
31
|
+
light: string;
|
|
32
|
+
dark: string;
|
|
33
|
+
};
|
|
34
|
+
'text-quaternary': {
|
|
35
|
+
light: string;
|
|
36
|
+
dark: string;
|
|
37
|
+
};
|
|
38
|
+
'text-quaternary_on-brand': {
|
|
39
|
+
light: string;
|
|
40
|
+
dark: string;
|
|
41
|
+
};
|
|
42
|
+
'text-white': {
|
|
43
|
+
light: string;
|
|
44
|
+
dark: string;
|
|
45
|
+
};
|
|
46
|
+
'text-disabled': {
|
|
47
|
+
light: string;
|
|
48
|
+
dark: string;
|
|
49
|
+
};
|
|
50
|
+
'text-placeholder': {
|
|
51
|
+
light: string;
|
|
52
|
+
dark: string;
|
|
53
|
+
};
|
|
54
|
+
'text-placeholder_subtle': {
|
|
55
|
+
light: string;
|
|
56
|
+
dark: string;
|
|
57
|
+
};
|
|
58
|
+
'text-brand-primary': {
|
|
59
|
+
light: string;
|
|
60
|
+
dark: string;
|
|
61
|
+
};
|
|
62
|
+
'text-brand-secondary': {
|
|
63
|
+
light: string;
|
|
64
|
+
dark: string;
|
|
65
|
+
};
|
|
66
|
+
'text-brand-secondary_hover': {
|
|
67
|
+
light: string;
|
|
68
|
+
dark: string;
|
|
69
|
+
};
|
|
70
|
+
'text-brand-tertiary': {
|
|
71
|
+
light: string;
|
|
72
|
+
dark: string;
|
|
73
|
+
};
|
|
74
|
+
'text-brand-tertiary_alt': {
|
|
75
|
+
light: string;
|
|
76
|
+
dark: string;
|
|
77
|
+
};
|
|
78
|
+
'text-error-primary': {
|
|
79
|
+
light: string;
|
|
80
|
+
dark: string;
|
|
81
|
+
};
|
|
82
|
+
'text-warning-primary': {
|
|
83
|
+
light: string;
|
|
84
|
+
dark: string;
|
|
85
|
+
};
|
|
86
|
+
'text-success-primary': {
|
|
87
|
+
light: string;
|
|
88
|
+
dark: string;
|
|
89
|
+
};
|
|
90
|
+
};
|
|
91
|
+
export default _default;
|
|
92
|
+
//# sourceMappingURL=text-colors.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"text-colors.d.ts","sourceRoot":"","sources":["../../../../src/styles/text-colors.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,wBAyFE"}
|
package/package.json
ADDED
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@grupalia/rn-ui-kit",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"description": "Grupalia React Native UI Kit",
|
|
5
|
+
"main": "./lib/module/index.js",
|
|
6
|
+
"types": "./lib/typescript/module/index.d.ts",
|
|
7
|
+
"files": [
|
|
8
|
+
"lib",
|
|
9
|
+
"src/preset.ts",
|
|
10
|
+
"src/styles"
|
|
11
|
+
],
|
|
12
|
+
"scripts": {
|
|
13
|
+
"dev": "chokidar \"src/**/*\" -c \"yarn bob build\"",
|
|
14
|
+
"build": "bob build",
|
|
15
|
+
"typecheck": "tsc --noEmit",
|
|
16
|
+
"prepare": "bob build"
|
|
17
|
+
},
|
|
18
|
+
"peerDependencies": {
|
|
19
|
+
"clsx": "^2.1.1",
|
|
20
|
+
"nativewind": "^2.0.11",
|
|
21
|
+
"react": "*",
|
|
22
|
+
"react-native": "*",
|
|
23
|
+
"tailwindcss": "3.3.2"
|
|
24
|
+
},
|
|
25
|
+
"devDependencies": {
|
|
26
|
+
"@babel/core": "^7.20.0",
|
|
27
|
+
"@types/react": "~18.2.45",
|
|
28
|
+
"@typescript-eslint/eslint-plugin": "^7.10.0",
|
|
29
|
+
"@typescript-eslint/parser": "^7.10.0",
|
|
30
|
+
"chokidar-cli": "^3.0.0",
|
|
31
|
+
"clsx": "^2.1.1",
|
|
32
|
+
"eslint": "^8.29.0",
|
|
33
|
+
"eslint-config-airbnb": "^19.0.4",
|
|
34
|
+
"eslint-plugin-import": "^2.29.1",
|
|
35
|
+
"eslint-plugin-jsx-a11y": "^6.8.0",
|
|
36
|
+
"eslint-plugin-react": "^7.34.1",
|
|
37
|
+
"eslint-plugin-react-hooks": "^4.6.2",
|
|
38
|
+
"eslint-plugin-tailwindcss": "^3.17.4",
|
|
39
|
+
"nativewind": "^2.0.11",
|
|
40
|
+
"react": "18.2.0",
|
|
41
|
+
"react-native": "0.74.5",
|
|
42
|
+
"react-native-builder-bob": "^0.40.6",
|
|
43
|
+
"tailwindcss": "3.3.2",
|
|
44
|
+
"typescript": "~5.3.3"
|
|
45
|
+
},
|
|
46
|
+
"exports": {
|
|
47
|
+
".": {
|
|
48
|
+
"require": {
|
|
49
|
+
"types": "./lib/typescript/commonjs/index.d.ts",
|
|
50
|
+
"default": "./lib/commonjs/index.js"
|
|
51
|
+
},
|
|
52
|
+
"import": {
|
|
53
|
+
"types": "./lib/typescript/module/index.d.ts",
|
|
54
|
+
"default": "./lib/module/index.js"
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
"./preset": {
|
|
58
|
+
"require": "./lib/commonjs/preset.js",
|
|
59
|
+
"import": "./lib/module/preset.js"
|
|
60
|
+
},
|
|
61
|
+
"./package.json": "./package.json"
|
|
62
|
+
},
|
|
63
|
+
"react-native-builder-bob": {
|
|
64
|
+
"source": "src",
|
|
65
|
+
"output": "lib",
|
|
66
|
+
"targets": [
|
|
67
|
+
[
|
|
68
|
+
"commonjs",
|
|
69
|
+
{
|
|
70
|
+
"babelrc": false
|
|
71
|
+
}
|
|
72
|
+
],
|
|
73
|
+
[
|
|
74
|
+
"module",
|
|
75
|
+
{
|
|
76
|
+
"esm": true
|
|
77
|
+
}
|
|
78
|
+
],
|
|
79
|
+
"typescript"
|
|
80
|
+
]
|
|
81
|
+
},
|
|
82
|
+
"eslintIgnore": [
|
|
83
|
+
"node_modules/",
|
|
84
|
+
"lib/"
|
|
85
|
+
],
|
|
86
|
+
"dependencies": {
|
|
87
|
+
"@grupalia/rn-ui-kit": "file:.yalc/@grupalia/rn-ui-kit"
|
|
88
|
+
}
|
|
89
|
+
}
|
package/src/preset.ts
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import type { Config } from 'tailwindcss';
|
|
2
|
+
|
|
3
|
+
import backgroundColors from './styles/background-colors';
|
|
4
|
+
import borderColors from './styles/border-colors';
|
|
5
|
+
import textColors from './styles/text-colors';
|
|
6
|
+
|
|
7
|
+
type SemanticColorObject = Record<string, { light: string; dark?: string }>;
|
|
8
|
+
|
|
9
|
+
function mapLightColors(
|
|
10
|
+
semanticObject: SemanticColorObject,
|
|
11
|
+
prefix: string,
|
|
12
|
+
): Record<string, string> {
|
|
13
|
+
return Object.entries(semanticObject).reduce((acc, [key, value]) => {
|
|
14
|
+
const name = key.replace(`${prefix}-`, '');
|
|
15
|
+
acc[name] = value.light;
|
|
16
|
+
return acc;
|
|
17
|
+
}, {} as Record<string, string>);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
const preset: Config = {
|
|
21
|
+
content: [],
|
|
22
|
+
theme: {
|
|
23
|
+
extend: {
|
|
24
|
+
backgroundColor: mapLightColors(backgroundColors, 'bg'),
|
|
25
|
+
textColor: mapLightColors(textColors, 'text'),
|
|
26
|
+
borderColor: mapLightColors(borderColors, 'border'),
|
|
27
|
+
},
|
|
28
|
+
},
|
|
29
|
+
plugins: [],
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
export default preset;
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
import colors from './colors';
|
|
2
|
+
|
|
3
|
+
export default {
|
|
4
|
+
'bg-primary': {
|
|
5
|
+
light: colors.base.white,
|
|
6
|
+
dark: colors.gray_dark['950'],
|
|
7
|
+
},
|
|
8
|
+
'bg-primary_alt': {
|
|
9
|
+
light: colors.base.white,
|
|
10
|
+
dark: colors.gray_dark['900'],
|
|
11
|
+
},
|
|
12
|
+
'bg-primary_hover': {
|
|
13
|
+
light: colors.gray_light['50'],
|
|
14
|
+
dark: colors.gray_dark['800'],
|
|
15
|
+
},
|
|
16
|
+
'bg-primary_solid': {
|
|
17
|
+
light: colors.gray_light['950'],
|
|
18
|
+
dark: colors.gray_dark['900'],
|
|
19
|
+
},
|
|
20
|
+
'bg-secondary': {
|
|
21
|
+
light: colors.gray_light['50'],
|
|
22
|
+
dark: colors.gray_dark['900'],
|
|
23
|
+
},
|
|
24
|
+
'bg-secondary_alt': {
|
|
25
|
+
light: colors.gray_light['50'],
|
|
26
|
+
dark: colors.gray_dark['950'],
|
|
27
|
+
},
|
|
28
|
+
'bg-secondary_hover': {
|
|
29
|
+
light: colors.gray_light['100'],
|
|
30
|
+
dark: colors.gray_dark['800'],
|
|
31
|
+
},
|
|
32
|
+
'bg-secondary_subtle': {
|
|
33
|
+
light: colors.gray_light['25'],
|
|
34
|
+
dark: colors.gray_dark['900'],
|
|
35
|
+
},
|
|
36
|
+
'bg-secondary_solid': {
|
|
37
|
+
light: colors.gray_light['600'],
|
|
38
|
+
dark: colors.gray_dark['600'],
|
|
39
|
+
},
|
|
40
|
+
'bg-tertiary': {
|
|
41
|
+
light: colors.gray_light['100'],
|
|
42
|
+
dark: colors.gray_dark['800'],
|
|
43
|
+
},
|
|
44
|
+
'bg-quaternary': {
|
|
45
|
+
light: colors.gray_light['200'],
|
|
46
|
+
dark: colors.gray_dark['700'],
|
|
47
|
+
},
|
|
48
|
+
'bg-active': {
|
|
49
|
+
light: colors.gray_light['50'],
|
|
50
|
+
dark: colors.gray_dark['800'],
|
|
51
|
+
},
|
|
52
|
+
'bg-disabled': {
|
|
53
|
+
light: colors.gray_light['100'],
|
|
54
|
+
dark: colors.gray_dark['800'],
|
|
55
|
+
},
|
|
56
|
+
'bg-disabled_subtle': {
|
|
57
|
+
light: colors.gray_light['50'],
|
|
58
|
+
dark: colors.gray_dark['900'],
|
|
59
|
+
},
|
|
60
|
+
'bg-overlay': {
|
|
61
|
+
light: colors.gray_light['950'],
|
|
62
|
+
dark: colors.gray_dark['800'],
|
|
63
|
+
},
|
|
64
|
+
'bg-brand_primary': {
|
|
65
|
+
light: colors.brand['50'],
|
|
66
|
+
dark: colors.brand['500'],
|
|
67
|
+
},
|
|
68
|
+
'bg-brand_primary_alt': {
|
|
69
|
+
light: colors.brand['50'],
|
|
70
|
+
dark: colors.gray_dark['800'],
|
|
71
|
+
},
|
|
72
|
+
'bg-brand_secondary': {
|
|
73
|
+
light: colors.brand['100'],
|
|
74
|
+
dark: colors.brand['600'],
|
|
75
|
+
},
|
|
76
|
+
'bg-brand_solid': {
|
|
77
|
+
light: colors.brand['600'],
|
|
78
|
+
dark: colors.brand['600'],
|
|
79
|
+
},
|
|
80
|
+
'bg-brand_solid_hover': {
|
|
81
|
+
light: colors.brand['700'],
|
|
82
|
+
dark: colors.brand['500'],
|
|
83
|
+
},
|
|
84
|
+
'bg-brand_section': {
|
|
85
|
+
light: colors.brand['800'],
|
|
86
|
+
dark: colors.gray_dark['800'],
|
|
87
|
+
},
|
|
88
|
+
'bg-brand_section_subtle': {
|
|
89
|
+
light: colors.brand['700'],
|
|
90
|
+
dark: colors.gray_dark['950'],
|
|
91
|
+
},
|
|
92
|
+
'bg-error_primary': {
|
|
93
|
+
light: colors.error['50'],
|
|
94
|
+
dark: colors.error['950'],
|
|
95
|
+
},
|
|
96
|
+
'bg-error_secondary': {
|
|
97
|
+
light: colors.error['100'],
|
|
98
|
+
dark: colors.error['600'],
|
|
99
|
+
},
|
|
100
|
+
'bg-error_solid': {
|
|
101
|
+
light: colors.error['600'],
|
|
102
|
+
dark: colors.error['600'],
|
|
103
|
+
},
|
|
104
|
+
'bg-warning_primary': {
|
|
105
|
+
light: colors.warning['50'],
|
|
106
|
+
dark: colors.warning['950'],
|
|
107
|
+
},
|
|
108
|
+
'bg-warning_secondary': {
|
|
109
|
+
light: colors.warning['100'],
|
|
110
|
+
dark: colors.warning['600'],
|
|
111
|
+
},
|
|
112
|
+
'bg-warning_solid': {
|
|
113
|
+
light: colors.warning['600'],
|
|
114
|
+
dark: colors.warning['600'],
|
|
115
|
+
},
|
|
116
|
+
'bg-success_primary': {
|
|
117
|
+
light: colors.success['50'],
|
|
118
|
+
dark: colors.success['950'],
|
|
119
|
+
},
|
|
120
|
+
'bg-success_secondary': {
|
|
121
|
+
light: colors.success['100'],
|
|
122
|
+
dark: colors.success['600'],
|
|
123
|
+
},
|
|
124
|
+
'bg-success_solid': {
|
|
125
|
+
light: colors.success['600'],
|
|
126
|
+
dark: colors.success['600'],
|
|
127
|
+
},
|
|
128
|
+
};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import colors from './colors';
|
|
2
|
+
|
|
3
|
+
export default {
|
|
4
|
+
'border-primary': {
|
|
5
|
+
light: colors.gray_light['300'],
|
|
6
|
+
dark: colors.gray_dark['700'],
|
|
7
|
+
},
|
|
8
|
+
'border-secondary': {
|
|
9
|
+
light: colors.gray_light['200'],
|
|
10
|
+
dark: colors.gray_dark['800'],
|
|
11
|
+
},
|
|
12
|
+
'border-secondary_alt': {
|
|
13
|
+
light: '#00000014',
|
|
14
|
+
dark: colors.gray_dark['800'],
|
|
15
|
+
},
|
|
16
|
+
'border-tertiary': {
|
|
17
|
+
light: colors.gray_light['100'],
|
|
18
|
+
dark: colors.gray_dark['800'],
|
|
19
|
+
},
|
|
20
|
+
'border-disabled': {
|
|
21
|
+
light: colors.gray_light['300'],
|
|
22
|
+
dark: colors.gray_dark['700'],
|
|
23
|
+
},
|
|
24
|
+
'border-disabled_subtle': {
|
|
25
|
+
light: colors.gray_light['200'],
|
|
26
|
+
dark: colors.gray_dark['800'],
|
|
27
|
+
},
|
|
28
|
+
'border-brand': {
|
|
29
|
+
light: colors.brand['500'],
|
|
30
|
+
dark: colors.brand['400'],
|
|
31
|
+
},
|
|
32
|
+
'border-brand_alt': {
|
|
33
|
+
light: colors.brand['600'],
|
|
34
|
+
dark: colors.gray_dark['700'],
|
|
35
|
+
},
|
|
36
|
+
'border-error': {
|
|
37
|
+
light: colors.error['500'],
|
|
38
|
+
dark: colors.error['400'],
|
|
39
|
+
},
|
|
40
|
+
'border-error_subtle': {
|
|
41
|
+
light: colors.error['300'],
|
|
42
|
+
dark: colors.error['500'],
|
|
43
|
+
},
|
|
44
|
+
};
|