@rahmatsaputra-my-id/global-assets 0.0.2 → 0.0.4

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.
@@ -0,0 +1,174 @@
1
+ export declare const COLORS: {
2
+ readonly primary: {
3
+ readonly "25": "#ffffff";
4
+ readonly "50": "#f9d5cf";
5
+ readonly "100": "#eeaba1";
6
+ readonly "200": "#e08175";
7
+ readonly "300": "#ce564c";
8
+ readonly "400": "#b82025";
9
+ readonly "500": "#911f1f";
10
+ readonly "600": "#6c1c19";
11
+ readonly "700": "#491814";
12
+ readonly "800": "#29110c";
13
+ readonly "900": "#000000";
14
+ };
15
+ readonly secondary: {
16
+ readonly "25": "#ffffff";
17
+ readonly "50": "#e1ddff";
18
+ readonly "100": "#c0bbff";
19
+ readonly "200": "#9c9bff";
20
+ readonly "300": "#6f7bff";
21
+ readonly "400": "#1e5eff";
22
+ readonly "500": "#274bc7";
23
+ readonly "600": "#273991";
24
+ readonly "700": "#21285f";
25
+ readonly "800": "#171731";
26
+ readonly "900": "#000000";
27
+ };
28
+ readonly success: {
29
+ readonly "25": "#ffffff";
30
+ readonly "50": "#dcf5e0";
31
+ readonly "100": "#b8eac2";
32
+ readonly "200": "#92dfa4";
33
+ readonly "300": "#67d386";
34
+ readonly "400": "#2ac769";
35
+ readonly "500": "#299c54";
36
+ readonly "600": "#25733f";
37
+ readonly "700": "#1e4c2c";
38
+ readonly "800": "#15281a";
39
+ readonly "900": "#000000";
40
+ };
41
+ readonly warning: {
42
+ readonly "25": "#ffffff";
43
+ readonly "50": "#ffefd5";
44
+ readonly "100": "#ffdfac";
45
+ readonly "200": "#ffcf82";
46
+ readonly "300": "#ffbf57";
47
+ readonly "400": "#ffb020";
48
+ readonly "500": "#c78a20";
49
+ readonly "600": "#92661d";
50
+ readonly "700": "#604418";
51
+ readonly "800": "#322411";
52
+ readonly "900": "#000000";
53
+ };
54
+ readonly error: {
55
+ readonly "25": "#ffffff";
56
+ readonly "50": "#ffdfd3";
57
+ readonly "100": "#ffbfa9";
58
+ readonly "200": "#ff9f80";
59
+ readonly "300": "#ff7c58";
60
+ readonly "400": "#ff5630";
61
+ readonly "500": "#c84628";
62
+ readonly "600": "#933721";
63
+ readonly "700": "#612819";
64
+ readonly "800": "#331810";
65
+ readonly "900": "#000000";
66
+ };
67
+ readonly info: {
68
+ readonly "25": "#ffffff";
69
+ readonly "50": "#e1e7ff";
70
+ readonly "100": "#c1cfff";
71
+ readonly "200": "#9fb8ff";
72
+ readonly "300": "#77a2ff";
73
+ readonly "400": "#3c8dff";
74
+ readonly "500": "#376fc6";
75
+ readonly "600": "#2f5391";
76
+ readonly "700": "#25385f";
77
+ readonly "800": "#181f31";
78
+ readonly "900": "#000000";
79
+ };
80
+ readonly purple: {
81
+ readonly "25": "#ffffff";
82
+ readonly "50": "#e9ddff";
83
+ readonly "100": "#d1bbfe";
84
+ readonly "200": "#b89bfd";
85
+ readonly "300": "#9b7afb";
86
+ readonly "400": "#7a5af8";
87
+ readonly "500": "#6248c1";
88
+ readonly "600": "#4b378d";
89
+ readonly "700": "#34275c";
90
+ readonly "800": "#1e1730";
91
+ readonly "900": "#000000";
92
+ };
93
+ readonly pink: {
94
+ readonly "25": "#ffffff";
95
+ readonly "50": "#ffdef2";
96
+ readonly "100": "#febce4";
97
+ readonly "200": "#fa99d7";
98
+ readonly "300": "#f574c9";
99
+ readonly "400": "#ee46bc";
100
+ readonly "500": "#ba3b93";
101
+ readonly "600": "#88306c";
102
+ readonly "700": "#5a2448";
103
+ readonly "800": "#2f1726";
104
+ readonly "900": "#000000";
105
+ };
106
+ readonly orange: {
107
+ readonly "25": "#ffffff";
108
+ readonly "50": "#ffe8d1";
109
+ readonly "100": "#ffd2a5";
110
+ readonly "200": "#ffbc78";
111
+ readonly "300": "#ffa64b";
112
+ readonly "400": "#f79009";
113
+ readonly "500": "#c17212";
114
+ readonly "600": "#8e5514";
115
+ readonly "700": "#5e3913";
116
+ readonly "800": "#31200e";
117
+ readonly "900": "#000000";
118
+ };
119
+ readonly teal: {
120
+ readonly "25": "#ffffff";
121
+ readonly "50": "#daf1ed";
122
+ readonly "100": "#b4e3db";
123
+ readonly "200": "#8dd5c9";
124
+ readonly "300": "#60c7b7";
125
+ readonly "400": "#14b8a6";
126
+ readonly "500": "#1e9082";
127
+ readonly "600": "#1f6a60";
128
+ readonly "700": "#1b4740";
129
+ readonly "800": "#142623";
130
+ readonly "900": "#000000";
131
+ };
132
+ readonly cyan: {
133
+ readonly "25": "#ffffff";
134
+ readonly "50": "#dcf0f6";
135
+ readonly "100": "#b8e2ee";
136
+ readonly "200": "#91d3e5";
137
+ readonly "300": "#63c5dd";
138
+ readonly "400": "#06b6d4";
139
+ readonly "500": "#1c8fa6";
140
+ readonly "600": "#1f6979";
141
+ readonly "700": "#1c4650";
142
+ readonly "800": "#15252a";
143
+ readonly "900": "#000000";
144
+ };
145
+ readonly indigo: {
146
+ readonly "25": "#ffffff";
147
+ readonly "50": "#e5dffd";
148
+ readonly "100": "#c9bffb";
149
+ readonly "200": "#aca0f8";
150
+ readonly "300": "#8b83f5";
151
+ readonly "400": "#6366f1";
152
+ readonly "500": "#5151bc";
153
+ readonly "600": "#3f3d89";
154
+ readonly "700": "#2d2b5a";
155
+ readonly "800": "#1b192f";
156
+ readonly "900": "#000000";
157
+ };
158
+ };
159
+ export declare const THEMES: {
160
+ readonly light: {
161
+ readonly background: "#FFFFFF";
162
+ readonly surface: "#F9FAFB";
163
+ readonly text: "#101828";
164
+ readonly border: "#E4E7EC";
165
+ };
166
+ readonly dark: {
167
+ readonly background: "#0C111D";
168
+ readonly surface: "#1D2939";
169
+ readonly text: "#F2F4F7";
170
+ readonly border: "#344054";
171
+ };
172
+ };
173
+ export type PaletteName = keyof typeof COLORS;
174
+ export type ThemeName = keyof typeof THEMES;
package/dist/COLORS.js ADDED
@@ -0,0 +1,172 @@
1
+ export var COLORS = {
2
+ "primary": {
3
+ "25": "#ffffff",
4
+ "50": "#f9d5cf",
5
+ "100": "#eeaba1",
6
+ "200": "#e08175",
7
+ "300": "#ce564c",
8
+ "400": "#b82025",
9
+ "500": "#911f1f",
10
+ "600": "#6c1c19",
11
+ "700": "#491814",
12
+ "800": "#29110c",
13
+ "900": "#000000"
14
+ },
15
+ "secondary": {
16
+ "25": "#ffffff",
17
+ "50": "#e1ddff",
18
+ "100": "#c0bbff",
19
+ "200": "#9c9bff",
20
+ "300": "#6f7bff",
21
+ "400": "#1e5eff",
22
+ "500": "#274bc7",
23
+ "600": "#273991",
24
+ "700": "#21285f",
25
+ "800": "#171731",
26
+ "900": "#000000"
27
+ },
28
+ "success": {
29
+ "25": "#ffffff",
30
+ "50": "#dcf5e0",
31
+ "100": "#b8eac2",
32
+ "200": "#92dfa4",
33
+ "300": "#67d386",
34
+ "400": "#2ac769",
35
+ "500": "#299c54",
36
+ "600": "#25733f",
37
+ "700": "#1e4c2c",
38
+ "800": "#15281a",
39
+ "900": "#000000"
40
+ },
41
+ "warning": {
42
+ "25": "#ffffff",
43
+ "50": "#ffefd5",
44
+ "100": "#ffdfac",
45
+ "200": "#ffcf82",
46
+ "300": "#ffbf57",
47
+ "400": "#ffb020",
48
+ "500": "#c78a20",
49
+ "600": "#92661d",
50
+ "700": "#604418",
51
+ "800": "#322411",
52
+ "900": "#000000"
53
+ },
54
+ "error": {
55
+ "25": "#ffffff",
56
+ "50": "#ffdfd3",
57
+ "100": "#ffbfa9",
58
+ "200": "#ff9f80",
59
+ "300": "#ff7c58",
60
+ "400": "#ff5630",
61
+ "500": "#c84628",
62
+ "600": "#933721",
63
+ "700": "#612819",
64
+ "800": "#331810",
65
+ "900": "#000000"
66
+ },
67
+ "info": {
68
+ "25": "#ffffff",
69
+ "50": "#e1e7ff",
70
+ "100": "#c1cfff",
71
+ "200": "#9fb8ff",
72
+ "300": "#77a2ff",
73
+ "400": "#3c8dff",
74
+ "500": "#376fc6",
75
+ "600": "#2f5391",
76
+ "700": "#25385f",
77
+ "800": "#181f31",
78
+ "900": "#000000"
79
+ },
80
+ "purple": {
81
+ "25": "#ffffff",
82
+ "50": "#e9ddff",
83
+ "100": "#d1bbfe",
84
+ "200": "#b89bfd",
85
+ "300": "#9b7afb",
86
+ "400": "#7a5af8",
87
+ "500": "#6248c1",
88
+ "600": "#4b378d",
89
+ "700": "#34275c",
90
+ "800": "#1e1730",
91
+ "900": "#000000"
92
+ },
93
+ "pink": {
94
+ "25": "#ffffff",
95
+ "50": "#ffdef2",
96
+ "100": "#febce4",
97
+ "200": "#fa99d7",
98
+ "300": "#f574c9",
99
+ "400": "#ee46bc",
100
+ "500": "#ba3b93",
101
+ "600": "#88306c",
102
+ "700": "#5a2448",
103
+ "800": "#2f1726",
104
+ "900": "#000000"
105
+ },
106
+ "orange": {
107
+ "25": "#ffffff",
108
+ "50": "#ffe8d1",
109
+ "100": "#ffd2a5",
110
+ "200": "#ffbc78",
111
+ "300": "#ffa64b",
112
+ "400": "#f79009",
113
+ "500": "#c17212",
114
+ "600": "#8e5514",
115
+ "700": "#5e3913",
116
+ "800": "#31200e",
117
+ "900": "#000000"
118
+ },
119
+ "teal": {
120
+ "25": "#ffffff",
121
+ "50": "#daf1ed",
122
+ "100": "#b4e3db",
123
+ "200": "#8dd5c9",
124
+ "300": "#60c7b7",
125
+ "400": "#14b8a6",
126
+ "500": "#1e9082",
127
+ "600": "#1f6a60",
128
+ "700": "#1b4740",
129
+ "800": "#142623",
130
+ "900": "#000000"
131
+ },
132
+ "cyan": {
133
+ "25": "#ffffff",
134
+ "50": "#dcf0f6",
135
+ "100": "#b8e2ee",
136
+ "200": "#91d3e5",
137
+ "300": "#63c5dd",
138
+ "400": "#06b6d4",
139
+ "500": "#1c8fa6",
140
+ "600": "#1f6979",
141
+ "700": "#1c4650",
142
+ "800": "#15252a",
143
+ "900": "#000000"
144
+ },
145
+ "indigo": {
146
+ "25": "#ffffff",
147
+ "50": "#e5dffd",
148
+ "100": "#c9bffb",
149
+ "200": "#aca0f8",
150
+ "300": "#8b83f5",
151
+ "400": "#6366f1",
152
+ "500": "#5151bc",
153
+ "600": "#3f3d89",
154
+ "700": "#2d2b5a",
155
+ "800": "#1b192f",
156
+ "900": "#000000"
157
+ }
158
+ };
159
+ export var THEMES = {
160
+ light: {
161
+ "background": "#FFFFFF",
162
+ "surface": "#F9FAFB",
163
+ "text": "#101828",
164
+ "border": "#E4E7EC"
165
+ },
166
+ dark: {
167
+ "background": "#0C111D",
168
+ "surface": "#1D2939",
169
+ "text": "#F2F4F7",
170
+ "border": "#344054"
171
+ }
172
+ };
package/dist/FONTS.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  export declare const FONTS: {
2
- readonly Candlescript: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/fonts/Candlescript";
3
- readonly GreatVibes_Regular: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/fonts/GreatVibes-Regular";
4
- readonly Ranga: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/fonts/Ranga";
2
+ readonly candlescript: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/fonts/Candlescript";
3
+ readonly greatvibes_regular: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/fonts/GreatVibes-Regular";
4
+ readonly ranga: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/fonts/Ranga";
5
5
  readonly fontstyle: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/fonts/fontstyle.css";
6
6
  };
7
7
  export type FONTSName = keyof typeof FONTS;
package/dist/FONTS.js CHANGED
@@ -1,6 +1,6 @@
1
1
  export var FONTS = {
2
- Candlescript: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/fonts/Candlescript",
3
- GreatVibes_Regular: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/fonts/GreatVibes-Regular",
4
- Ranga: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/fonts/Ranga",
2
+ candlescript: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/fonts/Candlescript",
3
+ greatvibes_regular: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/fonts/GreatVibes-Regular",
4
+ ranga: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/fonts/Ranga",
5
5
  fontstyle: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/fonts/fontstyle.css"
6
6
  };
package/dist/index.d.ts CHANGED
@@ -1,3 +1,4 @@
1
1
  export * from "./ICONS";
2
2
  export * from "./IMAGES";
3
3
  export * from "./FONTS";
4
+ export { COLORS, THEMES } from "./COLORS";
package/dist/index.js CHANGED
@@ -1,3 +1,4 @@
1
1
  export * from "./ICONS";
2
2
  export * from "./IMAGES";
3
3
  export * from "./FONTS";
4
+ export { COLORS, THEMES } from "./COLORS";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rahmatsaputra-my-id/global-assets",
3
- "version": "0.0.2",
3
+ "version": "0.0.4",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [