@gitlab/ui 80.16.2 → 80.18.0
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/CHANGELOG.md +14 -0
- package/dist/tokens/build/js/tokens.dark.js +19 -1
- package/dist/tokens/build/js/tokens.js +19 -1
- package/dist/tokens/css/tokens.css +18 -0
- package/dist/tokens/css/tokens.dark.css +18 -0
- package/dist/tokens/js/tokens.dark.js +18 -0
- package/dist/tokens/js/tokens.js +18 -0
- package/dist/tokens/json/tokens.dark.json +385 -13
- package/dist/tokens/json/tokens.json +385 -13
- package/dist/tokens/scss/_tokens.dark.scss +18 -0
- package/dist/tokens/scss/_tokens.scss +18 -0
- package/dist/tokens/scss/_tokens_custom_properties.scss +18 -0
- package/dist/tokens/tailwind/tokens.cjs +35 -0
- package/dist/tokens/tokens_story.js +4 -4
- package/package.json +4 -4
- package/src/tokens/border.tokens.json +35 -0
- package/src/tokens/build/css/tokens.css +18 -0
- package/src/tokens/build/css/tokens.dark.css +18 -0
- package/src/tokens/build/js/tokens.dark.js +18 -0
- package/src/tokens/build/js/tokens.js +18 -0
- package/src/tokens/build/json/tokens.dark.json +385 -13
- package/src/tokens/build/json/tokens.json +385 -13
- package/src/tokens/build/scss/_tokens.dark.scss +18 -0
- package/src/tokens/build/scss/_tokens.scss +18 -0
- package/src/tokens/build/scss/_tokens_custom_properties.scss +18 -0
- package/src/tokens/build/tailwind/tokens.cjs +35 -0
- package/src/tokens/color.alpha.tokens.json +66 -0
- package/src/tokens/color.transparency.tokens.json +26 -13
- package/src/tokens/tokens_story.vue +5 -5
- package/tailwind.defaults.js +2 -0
- package/translations.json +7 -7
|
@@ -224,6 +224,14 @@ const backgroundColors = {
|
|
|
224
224
|
disabled:
|
|
225
225
|
'var(--gl-background-color-disabled, var(--gl-color-neutral-10, #fbfafd))',
|
|
226
226
|
};
|
|
227
|
+
const borderColors = {
|
|
228
|
+
default:
|
|
229
|
+
'var(--gl-border-color-default, var(--gl-color-neutral-100, #dcdcde))',
|
|
230
|
+
subtle: 'var(--gl-border-color-subtle, var(--gl-color-neutral-50, #ececef))',
|
|
231
|
+
strong: 'var(--gl-border-color-strong, var(--gl-color-neutral-400, #89888d))',
|
|
232
|
+
transparent:
|
|
233
|
+
'var(--gl-border-color-transparent, var(--gl-color-alpha-0, transparent))',
|
|
234
|
+
};
|
|
227
235
|
const iconColors = {
|
|
228
236
|
default: 'var(--gl-icon-color-default, var(--gl-color-neutral-700, #535158))',
|
|
229
237
|
subtle: 'var(--gl-icon-color-subtle, var(--gl-color-neutral-500, #737278))',
|
|
@@ -236,6 +244,23 @@ const iconColors = {
|
|
|
236
244
|
danger: 'var(--gl-icon-color-danger, var(--gl-color-red-600, #c91c00))',
|
|
237
245
|
success: 'var(--gl-icon-color-success, var(--gl-color-green-600, #217645))',
|
|
238
246
|
};
|
|
247
|
+
const alphaDarkColors = {
|
|
248
|
+
2: 'var(--gl-color-alpha-dark-2, rgba(31, 30, 36, 0.02))',
|
|
249
|
+
4: 'var(--gl-color-alpha-dark-4, rgba(31, 30, 36, 0.04))',
|
|
250
|
+
6: 'var(--gl-color-alpha-dark-6, rgba(31, 30, 36, 0.06))',
|
|
251
|
+
8: 'var(--gl-color-alpha-dark-8, rgba(31, 30, 36, 0.08))',
|
|
252
|
+
16: 'var(--gl-color-alpha-dark-16, rgba(31, 30, 36, 0.16))',
|
|
253
|
+
24: 'var(--gl-color-alpha-dark-24, rgba(31, 30, 36, 0.24))',
|
|
254
|
+
};
|
|
255
|
+
const alphaLightColors = {
|
|
256
|
+
2: 'var(--gl-color-alpha-light-2, rgba(255, 255, 255, 0.02))',
|
|
257
|
+
4: 'var(--gl-color-alpha-light-4, rgba(255, 255, 255, 0.04))',
|
|
258
|
+
6: 'var(--gl-color-alpha-light-6, rgba(255, 255, 255, 0.06))',
|
|
259
|
+
8: 'var(--gl-color-alpha-light-8, rgba(255, 255, 255, 0.08))',
|
|
260
|
+
16: 'var(--gl-color-alpha-light-16, rgba(255, 255, 255, 0.16))',
|
|
261
|
+
24: 'var(--gl-color-alpha-light-24, rgba(255, 255, 255, 0.24))',
|
|
262
|
+
36: 'var(--gl-color-alpha-light-36, rgba(255, 255, 255, 0.36))',
|
|
263
|
+
};
|
|
239
264
|
|
|
240
265
|
const colors = {
|
|
241
266
|
inherit: 'inherit',
|
|
@@ -243,6 +268,10 @@ const colors = {
|
|
|
243
268
|
transparent: 'transparent',
|
|
244
269
|
white: 'var(--white, #fff)',
|
|
245
270
|
black: 'var(--black, #000)',
|
|
271
|
+
alpha: {
|
|
272
|
+
dark: { ...alphaDarkColors },
|
|
273
|
+
light: { ...alphaLightColors },
|
|
274
|
+
},
|
|
246
275
|
...baseColors,
|
|
247
276
|
...themeColors,
|
|
248
277
|
...dataVizColors,
|
|
@@ -253,6 +282,11 @@ const backgroundColor = {
|
|
|
253
282
|
...backgroundColors,
|
|
254
283
|
};
|
|
255
284
|
|
|
285
|
+
const borderColor = {
|
|
286
|
+
...colors,
|
|
287
|
+
...borderColors,
|
|
288
|
+
};
|
|
289
|
+
|
|
256
290
|
const fill = {
|
|
257
291
|
...colors,
|
|
258
292
|
icon: {
|
|
@@ -271,6 +305,7 @@ const textColor = {
|
|
|
271
305
|
module.exports = {
|
|
272
306
|
colors,
|
|
273
307
|
backgroundColor,
|
|
308
|
+
borderColor,
|
|
274
309
|
textColor,
|
|
275
310
|
fill,
|
|
276
311
|
};
|
|
@@ -22,14 +22,14 @@ var script = {
|
|
|
22
22
|
}
|
|
23
23
|
},
|
|
24
24
|
methods: {
|
|
25
|
-
|
|
26
|
-
return value.startsWith('
|
|
25
|
+
isHex(value) {
|
|
26
|
+
return value.startsWith('#');
|
|
27
27
|
},
|
|
28
28
|
getTokenName(token) {
|
|
29
29
|
return token.path.filter(Boolean).join('.');
|
|
30
30
|
},
|
|
31
31
|
getClasses(value) {
|
|
32
|
-
if (this.
|
|
32
|
+
if (!this.isHex(value)) return '';
|
|
33
33
|
if (!this.isBackgroundColorStory) return '';
|
|
34
34
|
const textColorVariant = colorFromBackground(value, 4.5);
|
|
35
35
|
return {
|
|
@@ -54,7 +54,7 @@ var script = {
|
|
|
54
54
|
const __vue_script__ = script;
|
|
55
55
|
|
|
56
56
|
/* template */
|
|
57
|
-
var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.containerClass},[_c('ul',{staticClass:"gl-list-style-none gl-m-0 gl-p-0"},_vm._l((_vm.tokens),function(token){return _c('li',{key:token.name,staticClass:"gl-display-flex gl-flex-wrap gl-align-items-center gl-justify-content-space-between gl-gap-3 gl-p-3",class:_vm.getClasses(token.value),style:(_vm.getStyle(token.value))},[_c('code',{directives:[{name:"gl-tooltip",rawName:"v-gl-tooltip"}],staticClass:"gl-reset-color",attrs:{"title":token.comment}},[_vm._v("\n "+_vm._s(_vm.getTokenName(token))+"\n ")]),_vm._v(" "),_c('div',{staticClass:"gl-display-flex gl-align-items-center gl-gap-3"},[(token.deprecated)?_c('gl-badge',{directives:[{name:"gl-tooltip",rawName:"v-gl-tooltip"}],attrs:{"title":token.comment,"variant":"danger"}},[_vm._v("\n Deprecated\n ")]):_vm._e(),_vm._v(" "),_c('code',{staticClass:"gl-reset-color"},[_vm._v(_vm._s(token.value))]),_vm._v(" "),(
|
|
57
|
+
var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.containerClass},[_c('ul',{staticClass:"gl-list-style-none gl-m-0 gl-p-0"},_vm._l((_vm.tokens),function(token){return _c('li',{key:token.name,staticClass:"gl-display-flex gl-flex-wrap gl-align-items-center gl-justify-content-space-between gl-gap-3 gl-p-3",class:_vm.getClasses(token.value),style:(_vm.getStyle(token.value))},[_c('code',{directives:[{name:"gl-tooltip",rawName:"v-gl-tooltip"}],staticClass:"gl-reset-color",attrs:{"title":token.comment}},[_vm._v("\n "+_vm._s(_vm.getTokenName(token))+"\n ")]),_vm._v(" "),_c('div',{staticClass:"gl-display-flex gl-align-items-center gl-gap-3"},[(token.deprecated)?_c('gl-badge',{directives:[{name:"gl-tooltip",rawName:"v-gl-tooltip"}],attrs:{"title":token.comment,"variant":"danger"}},[_vm._v("\n Deprecated\n ")]):_vm._e(),_vm._v(" "),_c('code',{staticClass:"gl-reset-color"},[_vm._v(_vm._s(token.value))]),_vm._v(" "),(_vm.isHex(token.value))?_c('gl-color-contrast',{attrs:{"foreground":token.value,"background":_vm.darkBackground}}):_vm._e(),_vm._v(" "),(_vm.isHex(token.value))?_c('gl-color-contrast',{attrs:{"foreground":token.value,"background":_vm.lightBackground}}):_vm._e()],1)])}),0)])};
|
|
58
58
|
var __vue_staticRenderFns__ = [];
|
|
59
59
|
|
|
60
60
|
/* style */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gitlab/ui",
|
|
3
|
-
"version": "80.
|
|
3
|
+
"version": "80.18.0",
|
|
4
4
|
"description": "GitLab UI Components",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -107,7 +107,7 @@
|
|
|
107
107
|
"@gitlab/eslint-plugin": "19.5.0",
|
|
108
108
|
"@gitlab/fonts": "^1.3.0",
|
|
109
109
|
"@gitlab/stylelint-config": "6.1.0",
|
|
110
|
-
"@gitlab/svgs": "3.
|
|
110
|
+
"@gitlab/svgs": "3.101.0",
|
|
111
111
|
"@jest/test-sequencer": "^29.7.0",
|
|
112
112
|
"@rollup/plugin-commonjs": "^11.1.0",
|
|
113
113
|
"@rollup/plugin-node-resolve": "^7.1.3",
|
|
@@ -119,7 +119,7 @@
|
|
|
119
119
|
"@storybook/addon-viewport": "^7.6.19",
|
|
120
120
|
"@storybook/builder-webpack5": "^7.6.19",
|
|
121
121
|
"@storybook/test": "^7.6.19",
|
|
122
|
-
"@storybook/test-runner": "0.18.
|
|
122
|
+
"@storybook/test-runner": "0.18.2",
|
|
123
123
|
"@storybook/theming": "^7.6.19",
|
|
124
124
|
"@storybook/vue": "^7.6.17",
|
|
125
125
|
"@storybook/vue-webpack5": "^7.6.17",
|
|
@@ -144,7 +144,7 @@
|
|
|
144
144
|
"emoji-regex": "^10.0.0",
|
|
145
145
|
"eslint": "8.57.0",
|
|
146
146
|
"eslint-import-resolver-jest": "3.0.2",
|
|
147
|
-
"eslint-plugin-cypress": "3.
|
|
147
|
+
"eslint-plugin-cypress": "3.3.0",
|
|
148
148
|
"eslint-plugin-storybook": "0.8.0",
|
|
149
149
|
"glob": "10.3.3",
|
|
150
150
|
"identity-obj-proxy": "^3.0.0",
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
{
|
|
2
|
+
"border": {
|
|
3
|
+
"color": {
|
|
4
|
+
"default": {
|
|
5
|
+
"$value": {
|
|
6
|
+
"default": "{color.neutral.100}",
|
|
7
|
+
"dark": "{color.neutral.800}"
|
|
8
|
+
},
|
|
9
|
+
"$type": "color",
|
|
10
|
+
"$description": "Used for the default border color."
|
|
11
|
+
},
|
|
12
|
+
"subtle": {
|
|
13
|
+
"$value": {
|
|
14
|
+
"default": "{color.neutral.50}",
|
|
15
|
+
"dark": "{color.neutral.900}"
|
|
16
|
+
},
|
|
17
|
+
"$type": "color",
|
|
18
|
+
"$description": "Used for a border that has a little more definition, or is used in combination with a subtle background."
|
|
19
|
+
},
|
|
20
|
+
"strong": {
|
|
21
|
+
"$value": {
|
|
22
|
+
"default": "{color.neutral.400}",
|
|
23
|
+
"dark": "{color.neutral.400}"
|
|
24
|
+
},
|
|
25
|
+
"$type": "color",
|
|
26
|
+
"$description": "Used for a distinct border that emphasizes an edge or boundaries."
|
|
27
|
+
},
|
|
28
|
+
"transparent": {
|
|
29
|
+
"$value": "{color.alpha.0}",
|
|
30
|
+
"$type": "color",
|
|
31
|
+
"$description": "Used when a border needs to be present, but not visibly perceived."
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
@@ -306,6 +306,20 @@
|
|
|
306
306
|
--gl-color-blue-200: #9dc7f1;
|
|
307
307
|
--gl-color-blue-100: #cbe2f9;
|
|
308
308
|
--gl-color-blue-50: #e9f3fc;
|
|
309
|
+
--gl-color-alpha-light-36: rgba(255, 255, 255, 0.36);
|
|
310
|
+
--gl-color-alpha-light-24: rgba(255, 255, 255, 0.24);
|
|
311
|
+
--gl-color-alpha-light-16: rgba(255, 255, 255, 0.16);
|
|
312
|
+
--gl-color-alpha-light-8: rgba(255, 255, 255, 0.08);
|
|
313
|
+
--gl-color-alpha-light-6: rgba(255, 255, 255, 0.06);
|
|
314
|
+
--gl-color-alpha-light-4: rgba(255, 255, 255, 0.04);
|
|
315
|
+
--gl-color-alpha-light-2: rgba(255, 255, 255, 0.02);
|
|
316
|
+
--gl-color-alpha-dark-24: rgba(31, 30, 36, 0.24);
|
|
317
|
+
--gl-color-alpha-dark-16: rgba(31, 30, 36, 0.16);
|
|
318
|
+
--gl-color-alpha-dark-8: rgba(31, 30, 36, 0.08);
|
|
319
|
+
--gl-color-alpha-dark-6: rgba(31, 30, 36, 0.06);
|
|
320
|
+
--gl-color-alpha-dark-4: rgba(31, 30, 36, 0.04);
|
|
321
|
+
--gl-color-alpha-dark-2: rgba(31, 30, 36, 0.02);
|
|
322
|
+
--gl-color-alpha-0: transparent;
|
|
309
323
|
--gl-text-color-disabled: var(--gl-color-neutral-400); /* Used for disabled text. */
|
|
310
324
|
--gl-text-color-success: var(--gl-color-green-600); /* Used for text indicating success or validity. */
|
|
311
325
|
--gl-text-color-danger: var(--gl-color-red-600); /* Used for text indicating a problem, critical state, destructive action, error, failure, removal, stop, or declination. */
|
|
@@ -323,6 +337,10 @@
|
|
|
323
337
|
--gl-icon-color-strong: var(--gl-color-neutral-900); /* Used for an icon with the highest contrast. */
|
|
324
338
|
--gl-icon-color-subtle: var(--gl-color-neutral-500); /* Used for a static or decorational icon. Can be paired with subtle text. */
|
|
325
339
|
--gl-icon-color-default: var(--gl-color-neutral-700); /* Used for the default icon color. Can be paired with default text. */
|
|
340
|
+
--gl-border-color-transparent: var(--gl-color-alpha-0); /* Used when a border needs to be present, but not visibly perceived. */
|
|
341
|
+
--gl-border-color-strong: var(--gl-color-neutral-400); /* Used for a distinct border that emphasizes an edge or boundaries. */
|
|
342
|
+
--gl-border-color-subtle: var(--gl-color-neutral-50); /* Used for a border that has a little more definition, or is used in combination with a subtle background. */
|
|
343
|
+
--gl-border-color-default: var(--gl-color-neutral-100); /* Used for the default border color. */
|
|
326
344
|
--gl-background-color-disabled: var(--gl-color-neutral-10); /* Used to identify a disabled section. */
|
|
327
345
|
--gl-background-color-strong: var(--gl-color-neutral-50); /* Used to make the background easily stand out from the default. */
|
|
328
346
|
--gl-background-color-subtle: var(--gl-color-neutral-10); /* Used to slightly differentiate the background from the default. */
|
|
@@ -306,6 +306,20 @@
|
|
|
306
306
|
--gl-color-blue-200: #9dc7f1;
|
|
307
307
|
--gl-color-blue-100: #cbe2f9;
|
|
308
308
|
--gl-color-blue-50: #e9f3fc;
|
|
309
|
+
--gl-color-alpha-light-36: rgba(255, 255, 255, 0.36);
|
|
310
|
+
--gl-color-alpha-light-24: rgba(255, 255, 255, 0.24);
|
|
311
|
+
--gl-color-alpha-light-16: rgba(255, 255, 255, 0.16);
|
|
312
|
+
--gl-color-alpha-light-8: rgba(255, 255, 255, 0.08);
|
|
313
|
+
--gl-color-alpha-light-6: rgba(255, 255, 255, 0.06);
|
|
314
|
+
--gl-color-alpha-light-4: rgba(255, 255, 255, 0.04);
|
|
315
|
+
--gl-color-alpha-light-2: rgba(255, 255, 255, 0.02);
|
|
316
|
+
--gl-color-alpha-dark-24: rgba(31, 30, 36, 0.24);
|
|
317
|
+
--gl-color-alpha-dark-16: rgba(31, 30, 36, 0.16);
|
|
318
|
+
--gl-color-alpha-dark-8: rgba(31, 30, 36, 0.08);
|
|
319
|
+
--gl-color-alpha-dark-6: rgba(31, 30, 36, 0.06);
|
|
320
|
+
--gl-color-alpha-dark-4: rgba(31, 30, 36, 0.04);
|
|
321
|
+
--gl-color-alpha-dark-2: rgba(31, 30, 36, 0.02);
|
|
322
|
+
--gl-color-alpha-0: transparent;
|
|
309
323
|
--gl-text-color-disabled: var(--gl-color-neutral-400); /* Used for disabled text. */
|
|
310
324
|
--gl-text-color-success: var(--gl-color-green-300); /* Used for text indicating success or validity. */
|
|
311
325
|
--gl-text-color-danger: var(--gl-color-red-300); /* Used for text indicating a problem, critical state, destructive action, error, failure, removal, stop, or declination. */
|
|
@@ -323,6 +337,10 @@
|
|
|
323
337
|
--gl-icon-color-strong: var(--gl-color-neutral-10); /* Used for an icon with the highest contrast. */
|
|
324
338
|
--gl-icon-color-subtle: var(--gl-color-neutral-300); /* Used for a static or decorational icon. Can be paired with subtle text. */
|
|
325
339
|
--gl-icon-color-default: var(--gl-color-neutral-100); /* Used for the default icon color. Can be paired with default text. */
|
|
340
|
+
--gl-border-color-transparent: var(--gl-color-alpha-0); /* Used when a border needs to be present, but not visibly perceived. */
|
|
341
|
+
--gl-border-color-strong: var(--gl-color-neutral-400); /* Used for a distinct border that emphasizes an edge or boundaries. */
|
|
342
|
+
--gl-border-color-subtle: var(--gl-color-neutral-900); /* Used for a border that has a little more definition, or is used in combination with a subtle background. */
|
|
343
|
+
--gl-border-color-default: var(--gl-color-neutral-800); /* Used for the default border color. */
|
|
326
344
|
--gl-background-color-disabled: var(--gl-color-neutral-900); /* Used to identify a disabled section. */
|
|
327
345
|
--gl-background-color-strong: var(--gl-color-neutral-800); /* Used to make the background easily stand out from the default. */
|
|
328
346
|
--gl-background-color-subtle: var(--gl-color-neutral-900); /* Used to slightly differentiate the background from the default. */
|
|
@@ -7,6 +7,24 @@ export const GL_BACKGROUND_COLOR_DEFAULT = '#1f1e24'; // Used for the default ba
|
|
|
7
7
|
export const GL_BACKGROUND_COLOR_SUBTLE = '#333238'; // Used to slightly differentiate the background from the default.
|
|
8
8
|
export const GL_BACKGROUND_COLOR_STRONG = '#434248'; // Used to make the background easily stand out from the default.
|
|
9
9
|
export const GL_BACKGROUND_COLOR_DISABLED = '#333238'; // Used to identify a disabled section.
|
|
10
|
+
export const GL_BORDER_COLOR_DEFAULT = '#434248'; // Used for the default border color.
|
|
11
|
+
export const GL_BORDER_COLOR_SUBTLE = '#333238'; // Used for a border that has a little more definition, or is used in combination with a subtle background.
|
|
12
|
+
export const GL_BORDER_COLOR_STRONG = '#89888d'; // Used for a distinct border that emphasizes an edge or boundaries.
|
|
13
|
+
export const GL_BORDER_COLOR_TRANSPARENT = 'transparent'; // Used when a border needs to be present, but not visibly perceived.
|
|
14
|
+
export const GL_COLOR_ALPHA_0 = 'transparent';
|
|
15
|
+
export const GL_COLOR_ALPHA_DARK_2 = 'rgba(31, 30, 36, 0.02)';
|
|
16
|
+
export const GL_COLOR_ALPHA_DARK_4 = 'rgba(31, 30, 36, 0.04)';
|
|
17
|
+
export const GL_COLOR_ALPHA_DARK_6 = 'rgba(31, 30, 36, 0.06)';
|
|
18
|
+
export const GL_COLOR_ALPHA_DARK_8 = 'rgba(31, 30, 36, 0.08)';
|
|
19
|
+
export const GL_COLOR_ALPHA_DARK_16 = 'rgba(31, 30, 36, 0.16)';
|
|
20
|
+
export const GL_COLOR_ALPHA_DARK_24 = 'rgba(31, 30, 36, 0.24)';
|
|
21
|
+
export const GL_COLOR_ALPHA_LIGHT_2 = 'rgba(255, 255, 255, 0.02)';
|
|
22
|
+
export const GL_COLOR_ALPHA_LIGHT_4 = 'rgba(255, 255, 255, 0.04)';
|
|
23
|
+
export const GL_COLOR_ALPHA_LIGHT_6 = 'rgba(255, 255, 255, 0.06)';
|
|
24
|
+
export const GL_COLOR_ALPHA_LIGHT_8 = 'rgba(255, 255, 255, 0.08)';
|
|
25
|
+
export const GL_COLOR_ALPHA_LIGHT_16 = 'rgba(255, 255, 255, 0.16)';
|
|
26
|
+
export const GL_COLOR_ALPHA_LIGHT_24 = 'rgba(255, 255, 255, 0.24)';
|
|
27
|
+
export const GL_COLOR_ALPHA_LIGHT_36 = 'rgba(255, 255, 255, 0.36)';
|
|
10
28
|
export const GL_COLOR_BLUE_50 = '#e9f3fc';
|
|
11
29
|
export const GL_COLOR_BLUE_100 = '#cbe2f9';
|
|
12
30
|
export const GL_COLOR_BLUE_200 = '#9dc7f1';
|
|
@@ -7,6 +7,24 @@ export const GL_BACKGROUND_COLOR_DEFAULT = '#fff'; // Used for the default backg
|
|
|
7
7
|
export const GL_BACKGROUND_COLOR_SUBTLE = '#fbfafd'; // Used to slightly differentiate the background from the default.
|
|
8
8
|
export const GL_BACKGROUND_COLOR_STRONG = '#ececef'; // Used to make the background easily stand out from the default.
|
|
9
9
|
export const GL_BACKGROUND_COLOR_DISABLED = '#fbfafd'; // Used to identify a disabled section.
|
|
10
|
+
export const GL_BORDER_COLOR_DEFAULT = '#dcdcde'; // Used for the default border color.
|
|
11
|
+
export const GL_BORDER_COLOR_SUBTLE = '#ececef'; // Used for a border that has a little more definition, or is used in combination with a subtle background.
|
|
12
|
+
export const GL_BORDER_COLOR_STRONG = '#89888d'; // Used for a distinct border that emphasizes an edge or boundaries.
|
|
13
|
+
export const GL_BORDER_COLOR_TRANSPARENT = 'transparent'; // Used when a border needs to be present, but not visibly perceived.
|
|
14
|
+
export const GL_COLOR_ALPHA_0 = 'transparent';
|
|
15
|
+
export const GL_COLOR_ALPHA_DARK_2 = 'rgba(31, 30, 36, 0.02)';
|
|
16
|
+
export const GL_COLOR_ALPHA_DARK_4 = 'rgba(31, 30, 36, 0.04)';
|
|
17
|
+
export const GL_COLOR_ALPHA_DARK_6 = 'rgba(31, 30, 36, 0.06)';
|
|
18
|
+
export const GL_COLOR_ALPHA_DARK_8 = 'rgba(31, 30, 36, 0.08)';
|
|
19
|
+
export const GL_COLOR_ALPHA_DARK_16 = 'rgba(31, 30, 36, 0.16)';
|
|
20
|
+
export const GL_COLOR_ALPHA_DARK_24 = 'rgba(31, 30, 36, 0.24)';
|
|
21
|
+
export const GL_COLOR_ALPHA_LIGHT_2 = 'rgba(255, 255, 255, 0.02)';
|
|
22
|
+
export const GL_COLOR_ALPHA_LIGHT_4 = 'rgba(255, 255, 255, 0.04)';
|
|
23
|
+
export const GL_COLOR_ALPHA_LIGHT_6 = 'rgba(255, 255, 255, 0.06)';
|
|
24
|
+
export const GL_COLOR_ALPHA_LIGHT_8 = 'rgba(255, 255, 255, 0.08)';
|
|
25
|
+
export const GL_COLOR_ALPHA_LIGHT_16 = 'rgba(255, 255, 255, 0.16)';
|
|
26
|
+
export const GL_COLOR_ALPHA_LIGHT_24 = 'rgba(255, 255, 255, 0.24)';
|
|
27
|
+
export const GL_COLOR_ALPHA_LIGHT_36 = 'rgba(255, 255, 255, 0.36)';
|
|
10
28
|
export const GL_COLOR_BLUE_50 = '#e9f3fc';
|
|
11
29
|
export const GL_COLOR_BLUE_100 = '#cbe2f9';
|
|
12
30
|
export const GL_COLOR_BLUE_200 = '#9dc7f1';
|