@gbgr/tokens 0.0.1 → 0.0.2
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 +1 -1
- package/dist/theme.dark.css +187 -137
- package/dist/theme.light.css +1 -1
- package/dist/tokens.base.css +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -55,6 +55,6 @@ const myColor: Tokens['color']['semantic']['brand']['primary']['value'] = '#ffbf
|
|
|
55
55
|
## 언제 사용하나요?
|
|
56
56
|
|
|
57
57
|
- **JSON/TypeScript 타입이 필요한 경우**: 런타임에 토큰 값을 사용하거나 타입 체크가 필요할 때
|
|
58
|
-
- **CSS 변수만
|
|
58
|
+
- **CSS 변수만 필요한 경우**: 기존 프로젝트에 토큰만 추가하거나 자체 전역 스타일 체계를 사용하는 경우
|
|
59
59
|
- **특정 테마 파일만 필요한 경우**: `theme.css`, `theme.light.css`, `theme.dark.css` 등 특정 파일만 import할 때
|
|
60
60
|
- **다른 패키지에서 내부적으로 사용**: 컴포넌트 라이브러리 개발 시 내부적으로 토큰 값을 참조해야 할 때
|
package/dist/theme.dark.css
CHANGED
|
@@ -1,148 +1,198 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on Tue, 10 Feb 2026
|
|
3
|
+
* Generated on Tue, 10 Feb 2026 21:26:53 GMT
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
:root[data-theme="dark"], [data-theme="dark"] {
|
|
7
|
-
--color-global-grey-0: #
|
|
8
|
-
--color-global-grey-25: #
|
|
9
|
-
--color-global-grey-50: #
|
|
10
|
-
--color-global-grey-100: #
|
|
11
|
-
--color-global-grey-200: #
|
|
12
|
-
--color-global-grey-300: #
|
|
13
|
-
--color-global-grey-500: #
|
|
14
|
-
--color-global-grey-600: #
|
|
15
|
-
--color-global-grey-700: #
|
|
16
|
-
--color-global-grey-800: #
|
|
17
|
-
--color-global-grey-900: #
|
|
18
|
-
--color-global-grey-950: #
|
|
19
|
-
--color-global-grey-1000: #
|
|
20
|
-
--color-global-yellow-50: #
|
|
21
|
-
--color-global-yellow-100: #
|
|
22
|
-
--color-global-yellow-200: #
|
|
23
|
-
--color-global-yellow-300: #
|
|
24
|
-
--color-global-yellow-400: #
|
|
25
|
-
--color-global-yellow-500: #
|
|
26
|
-
--color-global-yellow-600: #
|
|
27
|
-
--color-global-yellow-700: #
|
|
28
|
-
--color-global-yellow-800: #
|
|
29
|
-
--color-global-yellow-900: #
|
|
30
|
-
--color-semantic-brand-primary: #
|
|
31
|
-
--color-semantic-
|
|
32
|
-
--color-semantic-
|
|
33
|
-
--color-
|
|
34
|
-
--color-
|
|
35
|
-
--color-
|
|
36
|
-
--color-
|
|
37
|
-
--color-
|
|
38
|
-
--color-component-button-base-bg-
|
|
39
|
-
--color-component-button-base-bg-
|
|
40
|
-
--color-component-button-base-bg-
|
|
41
|
-
--color-component-button-base-bg-
|
|
42
|
-
--color-component-button-base-bg-
|
|
43
|
-
--color-component-button-base-bg-
|
|
44
|
-
--color-component-button-base-
|
|
45
|
-
--color-component-button-base-
|
|
46
|
-
--color-component-button-base-
|
|
47
|
-
--color-component-button-base-
|
|
48
|
-
--color-component-button-base-
|
|
49
|
-
--color-component-button-base-icon-
|
|
50
|
-
--color-component-button-base-icon-
|
|
51
|
-
--color-component-button-base-
|
|
52
|
-
--color-component-button-base-
|
|
53
|
-
--color-component-button-base-
|
|
54
|
-
--color-component-button-base-
|
|
55
|
-
--color-component-button-base-
|
|
56
|
-
--color-component-button-base-text-
|
|
57
|
-
--color-component-button-base-text-
|
|
58
|
-
--color-component-
|
|
59
|
-
--color-component-
|
|
60
|
-
--color-component-
|
|
61
|
-
--color-component-
|
|
62
|
-
--color-component-
|
|
63
|
-
--color-component-
|
|
64
|
-
--color-component-
|
|
65
|
-
--color-
|
|
66
|
-
--color-
|
|
67
|
-
--
|
|
68
|
-
--
|
|
69
|
-
--
|
|
70
|
-
--
|
|
71
|
-
--
|
|
72
|
-
--
|
|
73
|
-
--
|
|
74
|
-
--
|
|
7
|
+
--color-global-grey-0: #191917;
|
|
8
|
+
--color-global-grey-25: #131312;
|
|
9
|
+
--color-global-grey-50: #232323;
|
|
10
|
+
--color-global-grey-100: #2c2c2c;
|
|
11
|
+
--color-global-grey-200: #3c3b3a;
|
|
12
|
+
--color-global-grey-300: #6a6966;
|
|
13
|
+
--color-global-grey-500: #a8a7a4;
|
|
14
|
+
--color-global-grey-600: #c6c5c3;
|
|
15
|
+
--color-global-grey-700: #e3e1df;
|
|
16
|
+
--color-global-grey-800: #efeeed;
|
|
17
|
+
--color-global-grey-900: #f9f8f7;
|
|
18
|
+
--color-global-grey-950: #fcfcfc;
|
|
19
|
+
--color-global-grey-1000: #ffffff;
|
|
20
|
+
--color-global-yellow-50: #493704;
|
|
21
|
+
--color-global-yellow-100: #795706;
|
|
22
|
+
--color-global-yellow-200: #a57909;
|
|
23
|
+
--color-global-yellow-300: #cb980b;
|
|
24
|
+
--color-global-yellow-400: #e9b20c;
|
|
25
|
+
--color-global-yellow-500: #f5c73d;
|
|
26
|
+
--color-global-yellow-600: #f7d364;
|
|
27
|
+
--color-global-yellow-700: #f9da86;
|
|
28
|
+
--color-global-yellow-800: #fae19e;
|
|
29
|
+
--color-global-yellow-900: #fbe7bb;
|
|
30
|
+
--color-semantic-brand-primary: #e9b20c;
|
|
31
|
+
--color-semantic-point-olive-green: #839400;
|
|
32
|
+
--color-semantic-point-coral-red: #f15232;
|
|
33
|
+
--color-semantic-notification-success: #477d00;
|
|
34
|
+
--color-semantic-notification-error: #c92504;
|
|
35
|
+
--color-semantic-gradation-point-1: #ebb30a;
|
|
36
|
+
--color-semantic-gradation-point-2: #ffd133;
|
|
37
|
+
--color-semantic-gradation-point-3: #ffe88d;
|
|
38
|
+
--color-component-button-base-bg-primary-default: #e9b20c;
|
|
39
|
+
--color-component-button-base-bg-primary-hover: #f5c73d;
|
|
40
|
+
--color-component-button-base-bg-primary-pressed: #f7d364;
|
|
41
|
+
--color-component-button-base-bg-primary-disabled: rgba(73, 55, 4, 0.5);
|
|
42
|
+
--color-component-button-base-bg-sub-pressed: #a57909;
|
|
43
|
+
--color-component-button-base-bg-sub-hover: #795706;
|
|
44
|
+
--color-component-button-base-bg-sub-default: #493704;
|
|
45
|
+
--color-component-button-base-bg-grey-disabled: #232323;
|
|
46
|
+
--color-component-button-base-bg-grey-default: #232323;
|
|
47
|
+
--color-component-button-base-bg-grey-hover: #2c2c2c;
|
|
48
|
+
--color-component-button-base-bg-grey-pressed: #3c3b3a;
|
|
49
|
+
--color-component-button-base-icon-primary-default: #191917;
|
|
50
|
+
--color-component-button-base-icon-primary-disabled: #493704;
|
|
51
|
+
--color-component-button-base-icon-grey-disabled: #3c3b3a;
|
|
52
|
+
--color-component-button-base-icon-grey-default: #a8a7a4;
|
|
53
|
+
--color-component-button-base-icon-sub-disabled: #2c2c2c;
|
|
54
|
+
--color-component-button-base-icon-sub-default: #f5c73d;
|
|
55
|
+
--color-component-button-base-icon-sub-pressed: #f7d364;
|
|
56
|
+
--color-component-button-base-text-primary-default: #191917;
|
|
57
|
+
--color-component-button-base-text-primary-disabled: #493704;
|
|
58
|
+
--color-component-button-base-text-grey-default: #c6c5c3;
|
|
59
|
+
--color-component-button-base-text-grey-disabled: #3c3b3a;
|
|
60
|
+
--color-component-button-base-text-sub-disabled: #2c2c2c;
|
|
61
|
+
--color-component-button-base-text-sub-default: #f5c73d;
|
|
62
|
+
--color-component-button-base-text-sub-pressed: #f7d364;
|
|
63
|
+
--color-component-button-mode-change-bg: #232323;
|
|
64
|
+
--color-component-button-mode-change-thumb-on: #232323;
|
|
65
|
+
--color-component-button-mode-change-thumb-off: #e9b20c;
|
|
66
|
+
--color-component-button-mode-change-switch-on: #6a6966;
|
|
67
|
+
--color-component-button-mode-change-switch-off: #191917;
|
|
68
|
+
--color-component-button-toggle-switch-bg-primary: #131312;
|
|
69
|
+
--color-component-button-toggle-switch-bg-default: #232323;
|
|
70
|
+
--color-component-button-toggle-switch-selected-primary: #e9b20c;
|
|
71
|
+
--color-component-button-toggle-switch-selected-default: #2c2c2c;
|
|
72
|
+
--color-component-button-toggle-active-disabled: #a8a7a4;
|
|
73
|
+
--color-component-button-cam-activation-icon-disabled: #3c3b3a;
|
|
74
|
+
--color-component-button-cam-activation-icon-hover: #e3e1df;
|
|
75
|
+
--color-component-button-cam-activation-icon-default: #a8a7a4;
|
|
76
|
+
--color-component-button-cam-activation-bg-default: #2c2c2c;
|
|
77
|
+
--color-component-button-cam-activation-bg-hover: #131312;
|
|
78
|
+
--color-component-button-cam-activation-bg-disabled: #2c2c2c;
|
|
79
|
+
--color-component-basic-dashboard-graph-bg-line: #232323;
|
|
80
|
+
--color-component-basic-dashboard-graph-gradation: #493704;
|
|
81
|
+
--color-component-basic-dashboard-level-stepper-surface: rgba(160, 119, 13, 0.4);
|
|
82
|
+
--color-component-basic-dashboard-score-line: #ffffff;
|
|
83
|
+
--color-component-basic-dashboard-score-border: #2c2c2c;
|
|
84
|
+
--color-component-basic-dashboard-score-surface: #131312;
|
|
85
|
+
--color-component-basic-dashboard-score-dot-bg: #f5c73d;
|
|
86
|
+
--color-component-basic-dashboard-score-dot-border: #ffffff;
|
|
87
|
+
--color-component-basic-widget-handle: #6a6966;
|
|
88
|
+
--color-surface-modal-bg: #131312;
|
|
89
|
+
--color-surface-modal-container: #191917;
|
|
90
|
+
--color-surface-scroll-bar: #131312;
|
|
91
|
+
--color-surface-toast-bar: #fcfcfc;
|
|
92
|
+
--text-disabled: #2c2c2c;
|
|
93
|
+
--text-default: #e3e1df;
|
|
94
|
+
--border-depth1: #131312;
|
|
95
|
+
--border-depth3: #2c2c2c;
|
|
96
|
+
--border-depth2: #232323;
|
|
97
|
+
--border-depth0: #191917;
|
|
98
|
+
--border-active: #e9b20c;
|
|
99
|
+
--dim-default: #000000b3;
|
|
75
100
|
}
|
|
76
101
|
|
|
77
102
|
@media (prefers-color-scheme: dark) {
|
|
78
103
|
:root:not([data-theme]) {
|
|
79
|
-
--color-global-grey-0: #
|
|
80
|
-
--color-global-grey-25: #
|
|
81
|
-
--color-global-grey-50: #
|
|
82
|
-
--color-global-grey-100: #
|
|
83
|
-
--color-global-grey-200: #
|
|
84
|
-
--color-global-grey-300: #
|
|
85
|
-
--color-global-grey-500: #
|
|
86
|
-
--color-global-grey-600: #
|
|
87
|
-
--color-global-grey-700: #
|
|
88
|
-
--color-global-grey-800: #
|
|
89
|
-
--color-global-grey-900: #
|
|
90
|
-
--color-global-grey-950: #
|
|
91
|
-
--color-global-grey-1000: #
|
|
92
|
-
--color-global-yellow-50: #
|
|
93
|
-
--color-global-yellow-100: #
|
|
94
|
-
--color-global-yellow-200: #
|
|
95
|
-
--color-global-yellow-300: #
|
|
96
|
-
--color-global-yellow-400: #
|
|
97
|
-
--color-global-yellow-500: #
|
|
98
|
-
--color-global-yellow-600: #
|
|
99
|
-
--color-global-yellow-700: #
|
|
100
|
-
--color-global-yellow-800: #
|
|
101
|
-
--color-global-yellow-900: #
|
|
102
|
-
--color-semantic-brand-primary: #
|
|
103
|
-
--color-semantic-
|
|
104
|
-
--color-semantic-
|
|
105
|
-
--color-
|
|
106
|
-
--color-
|
|
107
|
-
--color-
|
|
108
|
-
--color-
|
|
109
|
-
--color-
|
|
110
|
-
--color-component-button-base-bg-
|
|
111
|
-
--color-component-button-base-bg-
|
|
112
|
-
--color-component-button-base-bg-
|
|
113
|
-
--color-component-button-base-bg-
|
|
114
|
-
--color-component-button-base-bg-
|
|
115
|
-
--color-component-button-base-bg-
|
|
116
|
-
--color-component-button-base-
|
|
117
|
-
--color-component-button-base-
|
|
118
|
-
--color-component-button-base-
|
|
119
|
-
--color-component-button-base-
|
|
120
|
-
--color-component-button-base-
|
|
121
|
-
--color-component-button-base-icon-
|
|
122
|
-
--color-component-button-base-icon-
|
|
123
|
-
--color-component-button-base-
|
|
124
|
-
--color-component-button-base-
|
|
125
|
-
--color-component-button-base-
|
|
126
|
-
--color-component-button-base-
|
|
127
|
-
--color-component-button-base-
|
|
128
|
-
--color-component-button-base-text-
|
|
129
|
-
--color-component-button-base-text-
|
|
130
|
-
--color-component-
|
|
131
|
-
--color-component-
|
|
132
|
-
--color-component-
|
|
133
|
-
--color-component-
|
|
134
|
-
--color-component-
|
|
135
|
-
--color-component-
|
|
136
|
-
--color-component-
|
|
137
|
-
--color-
|
|
138
|
-
--color-
|
|
139
|
-
--
|
|
140
|
-
--
|
|
141
|
-
--
|
|
142
|
-
--
|
|
143
|
-
--
|
|
144
|
-
--
|
|
145
|
-
--
|
|
146
|
-
--
|
|
104
|
+
--color-global-grey-0: #191917;
|
|
105
|
+
--color-global-grey-25: #131312;
|
|
106
|
+
--color-global-grey-50: #232323;
|
|
107
|
+
--color-global-grey-100: #2c2c2c;
|
|
108
|
+
--color-global-grey-200: #3c3b3a;
|
|
109
|
+
--color-global-grey-300: #6a6966;
|
|
110
|
+
--color-global-grey-500: #a8a7a4;
|
|
111
|
+
--color-global-grey-600: #c6c5c3;
|
|
112
|
+
--color-global-grey-700: #e3e1df;
|
|
113
|
+
--color-global-grey-800: #efeeed;
|
|
114
|
+
--color-global-grey-900: #f9f8f7;
|
|
115
|
+
--color-global-grey-950: #fcfcfc;
|
|
116
|
+
--color-global-grey-1000: #ffffff;
|
|
117
|
+
--color-global-yellow-50: #493704;
|
|
118
|
+
--color-global-yellow-100: #795706;
|
|
119
|
+
--color-global-yellow-200: #a57909;
|
|
120
|
+
--color-global-yellow-300: #cb980b;
|
|
121
|
+
--color-global-yellow-400: #e9b20c;
|
|
122
|
+
--color-global-yellow-500: #f5c73d;
|
|
123
|
+
--color-global-yellow-600: #f7d364;
|
|
124
|
+
--color-global-yellow-700: #f9da86;
|
|
125
|
+
--color-global-yellow-800: #fae19e;
|
|
126
|
+
--color-global-yellow-900: #fbe7bb;
|
|
127
|
+
--color-semantic-brand-primary: #e9b20c;
|
|
128
|
+
--color-semantic-point-olive-green: #839400;
|
|
129
|
+
--color-semantic-point-coral-red: #f15232;
|
|
130
|
+
--color-semantic-notification-success: #477d00;
|
|
131
|
+
--color-semantic-notification-error: #c92504;
|
|
132
|
+
--color-semantic-gradation-point-1: #ebb30a;
|
|
133
|
+
--color-semantic-gradation-point-2: #ffd133;
|
|
134
|
+
--color-semantic-gradation-point-3: #ffe88d;
|
|
135
|
+
--color-component-button-base-bg-primary-default: #e9b20c;
|
|
136
|
+
--color-component-button-base-bg-primary-hover: #f5c73d;
|
|
137
|
+
--color-component-button-base-bg-primary-pressed: #f7d364;
|
|
138
|
+
--color-component-button-base-bg-primary-disabled: rgba(73, 55, 4, 0.5);
|
|
139
|
+
--color-component-button-base-bg-sub-pressed: #a57909;
|
|
140
|
+
--color-component-button-base-bg-sub-hover: #795706;
|
|
141
|
+
--color-component-button-base-bg-sub-default: #493704;
|
|
142
|
+
--color-component-button-base-bg-grey-disabled: #232323;
|
|
143
|
+
--color-component-button-base-bg-grey-default: #232323;
|
|
144
|
+
--color-component-button-base-bg-grey-hover: #2c2c2c;
|
|
145
|
+
--color-component-button-base-bg-grey-pressed: #3c3b3a;
|
|
146
|
+
--color-component-button-base-icon-primary-default: #191917;
|
|
147
|
+
--color-component-button-base-icon-primary-disabled: #493704;
|
|
148
|
+
--color-component-button-base-icon-grey-disabled: #3c3b3a;
|
|
149
|
+
--color-component-button-base-icon-grey-default: #a8a7a4;
|
|
150
|
+
--color-component-button-base-icon-sub-disabled: #2c2c2c;
|
|
151
|
+
--color-component-button-base-icon-sub-default: #f5c73d;
|
|
152
|
+
--color-component-button-base-icon-sub-pressed: #f7d364;
|
|
153
|
+
--color-component-button-base-text-primary-default: #191917;
|
|
154
|
+
--color-component-button-base-text-primary-disabled: #493704;
|
|
155
|
+
--color-component-button-base-text-grey-default: #c6c5c3;
|
|
156
|
+
--color-component-button-base-text-grey-disabled: #3c3b3a;
|
|
157
|
+
--color-component-button-base-text-sub-disabled: #2c2c2c;
|
|
158
|
+
--color-component-button-base-text-sub-default: #f5c73d;
|
|
159
|
+
--color-component-button-base-text-sub-pressed: #f7d364;
|
|
160
|
+
--color-component-button-mode-change-bg: #232323;
|
|
161
|
+
--color-component-button-mode-change-thumb-on: #232323;
|
|
162
|
+
--color-component-button-mode-change-thumb-off: #e9b20c;
|
|
163
|
+
--color-component-button-mode-change-switch-on: #6a6966;
|
|
164
|
+
--color-component-button-mode-change-switch-off: #191917;
|
|
165
|
+
--color-component-button-toggle-switch-bg-primary: #131312;
|
|
166
|
+
--color-component-button-toggle-switch-bg-default: #232323;
|
|
167
|
+
--color-component-button-toggle-switch-selected-primary: #e9b20c;
|
|
168
|
+
--color-component-button-toggle-switch-selected-default: #2c2c2c;
|
|
169
|
+
--color-component-button-toggle-active-disabled: #a8a7a4;
|
|
170
|
+
--color-component-button-cam-activation-icon-disabled: #3c3b3a;
|
|
171
|
+
--color-component-button-cam-activation-icon-hover: #e3e1df;
|
|
172
|
+
--color-component-button-cam-activation-icon-default: #a8a7a4;
|
|
173
|
+
--color-component-button-cam-activation-bg-default: #2c2c2c;
|
|
174
|
+
--color-component-button-cam-activation-bg-hover: #131312;
|
|
175
|
+
--color-component-button-cam-activation-bg-disabled: #2c2c2c;
|
|
176
|
+
--color-component-basic-dashboard-graph-bg-line: #232323;
|
|
177
|
+
--color-component-basic-dashboard-graph-gradation: #493704;
|
|
178
|
+
--color-component-basic-dashboard-level-stepper-surface: rgba(160, 119, 13, 0.4);
|
|
179
|
+
--color-component-basic-dashboard-score-line: #ffffff;
|
|
180
|
+
--color-component-basic-dashboard-score-border: #2c2c2c;
|
|
181
|
+
--color-component-basic-dashboard-score-surface: #131312;
|
|
182
|
+
--color-component-basic-dashboard-score-dot-bg: #f5c73d;
|
|
183
|
+
--color-component-basic-dashboard-score-dot-border: #ffffff;
|
|
184
|
+
--color-component-basic-widget-handle: #6a6966;
|
|
185
|
+
--color-surface-modal-bg: #131312;
|
|
186
|
+
--color-surface-modal-container: #191917;
|
|
187
|
+
--color-surface-scroll-bar: #131312;
|
|
188
|
+
--color-surface-toast-bar: #fcfcfc;
|
|
189
|
+
--text-disabled: #2c2c2c;
|
|
190
|
+
--text-default: #e3e1df;
|
|
191
|
+
--border-depth1: #131312;
|
|
192
|
+
--border-depth3: #2c2c2c;
|
|
193
|
+
--border-depth2: #232323;
|
|
194
|
+
--border-depth0: #191917;
|
|
195
|
+
--border-active: #e9b20c;
|
|
196
|
+
--dim-default: #000000b3;
|
|
147
197
|
}
|
|
148
198
|
}
|
package/dist/theme.light.css
CHANGED
package/dist/tokens.base.css
CHANGED