@gitlab/ui 80.13.2 → 80.14.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 +8 -0
- package/dist/tokens/build/js/tokens.dark.js +5 -1
- package/dist/tokens/build/js/tokens.js +5 -1
- package/dist/tokens/css/tokens.css +4 -0
- package/dist/tokens/css/tokens.dark.css +4 -0
- package/dist/tokens/js/tokens.dark.js +4 -0
- package/dist/tokens/js/tokens.js +4 -0
- package/dist/tokens/json/tokens.dark.json +92 -0
- package/dist/tokens/json/tokens.json +92 -0
- package/dist/tokens/scss/_tokens.dark.scss +4 -0
- package/dist/tokens/scss/_tokens.scss +4 -0
- package/dist/tokens/scss/_tokens_custom_properties.scss +4 -0
- package/dist/tokens/tailwind/tokens.cjs +16 -0
- package/package.json +1 -1
- package/src/tokens/background.tokens.json +38 -0
- package/src/tokens/build/css/tokens.css +4 -0
- package/src/tokens/build/css/tokens.dark.css +4 -0
- package/src/tokens/build/js/tokens.dark.js +4 -0
- package/src/tokens/build/js/tokens.js +4 -0
- package/src/tokens/build/json/tokens.dark.json +92 -0
- package/src/tokens/build/json/tokens.json +92 -0
- package/src/tokens/build/scss/_tokens.dark.scss +4 -0
- package/src/tokens/build/scss/_tokens.scss +4 -0
- package/src/tokens/build/scss/_tokens_custom_properties.scss +4 -0
- package/src/tokens/build/tailwind/tokens.cjs +16 -0
- package/tailwind.defaults.js +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
# [80.14.0](https://gitlab.com/gitlab-org/gitlab-ui/compare/v80.13.2...v80.14.0) (2024-05-24)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* **DesignTokens:** add background design tokens ([c98ff85](https://gitlab.com/gitlab-org/gitlab-ui/commit/c98ff85d8f022677677757412bc3c0f322bc85e6))
|
|
7
|
+
* **Tailwind:** add background design tokens to tailwind classes ([c78d656](https://gitlab.com/gitlab-org/gitlab-ui/commit/c78d656fbc565fa238f24b2dd57c74d82eb830cd))
|
|
8
|
+
|
|
1
9
|
## [80.13.2](https://gitlab.com/gitlab-org/gitlab-ui/compare/v80.13.1...v80.13.2) (2024-05-24)
|
|
2
10
|
|
|
3
11
|
|
|
@@ -3,6 +3,10 @@
|
|
|
3
3
|
* Do not edit directly
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
+
const GL_BACKGROUND_COLOR_DEFAULT = '#1f1e24'; // Used for the default background color.
|
|
7
|
+
const GL_BACKGROUND_COLOR_SUBTLE = '#333238'; // Used to slightly differentiate the background from the default.
|
|
8
|
+
const GL_BACKGROUND_COLOR_STRONG = '#434248'; // Used to make the background easily stand out from the default.
|
|
9
|
+
const GL_BACKGROUND_COLOR_DISABLED = '#333238'; // Used to identify a disabled section.
|
|
6
10
|
const GL_COLOR_BLUE_50 = '#e9f3fc';
|
|
7
11
|
const GL_COLOR_BLUE_100 = '#cbe2f9';
|
|
8
12
|
const GL_COLOR_BLUE_200 = '#9dc7f1';
|
|
@@ -314,4 +318,4 @@ const GL_TEXT_COLOR_DANGER = '#f57f6c'; // Used for text indicating a problem, c
|
|
|
314
318
|
const GL_TEXT_COLOR_SUCCESS = '#52b87a'; // Used for text indicating success or validity.
|
|
315
319
|
const GL_TEXT_COLOR_DISABLED = '#89888d'; // Used for disabled text.
|
|
316
320
|
|
|
317
|
-
export { BLACK, BLUE_100, BLUE_200, BLUE_300, BLUE_400, BLUE_50, BLUE_500, BLUE_600, BLUE_700, BLUE_800, BLUE_900, BLUE_950, BRAND_CHARCOAL, BRAND_GRAY_01, BRAND_GRAY_02, BRAND_GRAY_03, BRAND_GRAY_04, BRAND_GRAY_05, BRAND_ORANGE_01, BRAND_ORANGE_02, BRAND_ORANGE_03, BRAND_PURPLE_01, BRAND_PURPLE_02, DATA_VIZ_AQUA_100, DATA_VIZ_AQUA_200, DATA_VIZ_AQUA_300, DATA_VIZ_AQUA_400, DATA_VIZ_AQUA_50, DATA_VIZ_AQUA_500, DATA_VIZ_AQUA_600, DATA_VIZ_AQUA_700, DATA_VIZ_AQUA_800, DATA_VIZ_AQUA_900, DATA_VIZ_AQUA_950, DATA_VIZ_BLUE_100, DATA_VIZ_BLUE_200, DATA_VIZ_BLUE_300, DATA_VIZ_BLUE_400, DATA_VIZ_BLUE_50, DATA_VIZ_BLUE_500, DATA_VIZ_BLUE_600, DATA_VIZ_BLUE_700, DATA_VIZ_BLUE_800, DATA_VIZ_BLUE_900, DATA_VIZ_BLUE_950, DATA_VIZ_GREEN_100, DATA_VIZ_GREEN_200, DATA_VIZ_GREEN_300, DATA_VIZ_GREEN_400, DATA_VIZ_GREEN_50, DATA_VIZ_GREEN_500, DATA_VIZ_GREEN_600, DATA_VIZ_GREEN_700, DATA_VIZ_GREEN_800, DATA_VIZ_GREEN_900, DATA_VIZ_GREEN_950, DATA_VIZ_MAGENTA_100, DATA_VIZ_MAGENTA_200, DATA_VIZ_MAGENTA_300, DATA_VIZ_MAGENTA_400, DATA_VIZ_MAGENTA_50, DATA_VIZ_MAGENTA_500, DATA_VIZ_MAGENTA_600, DATA_VIZ_MAGENTA_700, DATA_VIZ_MAGENTA_800, DATA_VIZ_MAGENTA_900, DATA_VIZ_MAGENTA_950, DATA_VIZ_ORANGE_100, DATA_VIZ_ORANGE_200, DATA_VIZ_ORANGE_300, DATA_VIZ_ORANGE_400, DATA_VIZ_ORANGE_50, DATA_VIZ_ORANGE_500, DATA_VIZ_ORANGE_600, DATA_VIZ_ORANGE_700, DATA_VIZ_ORANGE_800, DATA_VIZ_ORANGE_900, DATA_VIZ_ORANGE_950, GL_COLOR_BLUE_100, GL_COLOR_BLUE_200, GL_COLOR_BLUE_300, GL_COLOR_BLUE_400, GL_COLOR_BLUE_50, GL_COLOR_BLUE_500, GL_COLOR_BLUE_600, GL_COLOR_BLUE_700, GL_COLOR_BLUE_800, GL_COLOR_BLUE_900, GL_COLOR_BLUE_950, GL_COLOR_GREEN_100, GL_COLOR_GREEN_200, GL_COLOR_GREEN_300, GL_COLOR_GREEN_400, GL_COLOR_GREEN_50, GL_COLOR_GREEN_500, GL_COLOR_GREEN_600, GL_COLOR_GREEN_700, GL_COLOR_GREEN_800, GL_COLOR_GREEN_900, GL_COLOR_GREEN_950, GL_COLOR_NEUTRAL_0, GL_COLOR_NEUTRAL_10, GL_COLOR_NEUTRAL_100, GL_COLOR_NEUTRAL_1000, GL_COLOR_NEUTRAL_200, GL_COLOR_NEUTRAL_300, GL_COLOR_NEUTRAL_400, GL_COLOR_NEUTRAL_50, GL_COLOR_NEUTRAL_500, GL_COLOR_NEUTRAL_600, GL_COLOR_NEUTRAL_700, GL_COLOR_NEUTRAL_800, GL_COLOR_NEUTRAL_900, GL_COLOR_NEUTRAL_950, GL_COLOR_ORANGE_100, GL_COLOR_ORANGE_200, GL_COLOR_ORANGE_300, GL_COLOR_ORANGE_400, GL_COLOR_ORANGE_50, GL_COLOR_ORANGE_500, GL_COLOR_ORANGE_600, GL_COLOR_ORANGE_700, GL_COLOR_ORANGE_800, GL_COLOR_ORANGE_900, GL_COLOR_ORANGE_950, GL_COLOR_PURPLE_100, GL_COLOR_PURPLE_200, GL_COLOR_PURPLE_300, GL_COLOR_PURPLE_400, GL_COLOR_PURPLE_50, GL_COLOR_PURPLE_500, GL_COLOR_PURPLE_600, GL_COLOR_PURPLE_700, GL_COLOR_PURPLE_800, GL_COLOR_PURPLE_900, GL_COLOR_PURPLE_950, GL_COLOR_RED_100, GL_COLOR_RED_200, GL_COLOR_RED_300, GL_COLOR_RED_400, GL_COLOR_RED_50, GL_COLOR_RED_500, GL_COLOR_RED_600, GL_COLOR_RED_700, GL_COLOR_RED_800, GL_COLOR_RED_900, GL_COLOR_RED_950, GL_LINE_HEIGHT_12, GL_LINE_HEIGHT_16, GL_LINE_HEIGHT_20, GL_LINE_HEIGHT_24, GL_LINE_HEIGHT_28, GL_LINE_HEIGHT_32, GL_LINE_HEIGHT_36, GL_LINE_HEIGHT_42, GL_LINE_HEIGHT_44, GL_LINE_HEIGHT_52, GL_TEXT_COLOR_DANGER, GL_TEXT_COLOR_DEFAULT, GL_TEXT_COLOR_DISABLED, GL_TEXT_COLOR_HEADING, GL_TEXT_COLOR_LINK, GL_TEXT_COLOR_STRONG, GL_TEXT_COLOR_SUBTLE, GL_TEXT_COLOR_SUCCESS, GL_TEXT_PRIMARY, GL_TEXT_SECONDARY, GL_TEXT_TERTIARY, GRAY_10, GRAY_100, GRAY_200, GRAY_300, GRAY_400, GRAY_50, GRAY_500, GRAY_600, GRAY_700, GRAY_800, GRAY_900, GRAY_950, GREEN_100, GREEN_200, GREEN_300, GREEN_400, GREEN_50, GREEN_500, GREEN_600, GREEN_700, GREEN_800, GREEN_900, GREEN_950, ORANGE_100, ORANGE_200, ORANGE_300, ORANGE_400, ORANGE_50, ORANGE_500, ORANGE_600, ORANGE_700, ORANGE_800, ORANGE_900, ORANGE_950, PURPLE_100, PURPLE_200, PURPLE_300, PURPLE_400, PURPLE_50, PURPLE_500, PURPLE_600, PURPLE_700, PURPLE_800, PURPLE_900, PURPLE_950, RED_100, RED_200, RED_300, RED_400, RED_50, RED_500, RED_600, RED_700, RED_800, RED_900, RED_950, THEME_BLUE_10, THEME_BLUE_100, THEME_BLUE_200, THEME_BLUE_300, THEME_BLUE_400, THEME_BLUE_50, THEME_BLUE_500, THEME_BLUE_600, THEME_BLUE_700, THEME_BLUE_800, THEME_BLUE_900, THEME_BLUE_950, THEME_GREEN_10, THEME_GREEN_100, THEME_GREEN_200, THEME_GREEN_300, THEME_GREEN_400, THEME_GREEN_50, THEME_GREEN_500, THEME_GREEN_600, THEME_GREEN_700, THEME_GREEN_800, THEME_GREEN_900, THEME_GREEN_950, THEME_INDIGO_10, THEME_INDIGO_100, THEME_INDIGO_200, THEME_INDIGO_300, THEME_INDIGO_400, THEME_INDIGO_50, THEME_INDIGO_500, THEME_INDIGO_600, THEME_INDIGO_700, THEME_INDIGO_800, THEME_INDIGO_900, THEME_INDIGO_950, THEME_LIGHT_BLUE_10, THEME_LIGHT_BLUE_100, THEME_LIGHT_BLUE_200, THEME_LIGHT_BLUE_300, THEME_LIGHT_BLUE_400, THEME_LIGHT_BLUE_50, THEME_LIGHT_BLUE_500, THEME_LIGHT_BLUE_600, THEME_LIGHT_BLUE_700, THEME_LIGHT_BLUE_800, THEME_LIGHT_BLUE_900, THEME_LIGHT_BLUE_950, THEME_LIGHT_RED_10, THEME_LIGHT_RED_100, THEME_LIGHT_RED_200, THEME_LIGHT_RED_300, THEME_LIGHT_RED_400, THEME_LIGHT_RED_50, THEME_LIGHT_RED_500, THEME_LIGHT_RED_600, THEME_LIGHT_RED_700, THEME_LIGHT_RED_800, THEME_LIGHT_RED_900, THEME_LIGHT_RED_950, THEME_RED_10, THEME_RED_100, THEME_RED_200, THEME_RED_300, THEME_RED_400, THEME_RED_50, THEME_RED_500, THEME_RED_600, THEME_RED_700, THEME_RED_800, THEME_RED_900, THEME_RED_950, T_GRAY_A_02, T_GRAY_A_04, T_GRAY_A_06, T_GRAY_A_08, T_GRAY_A_16, T_GRAY_A_24, T_WHITE_A_02, T_WHITE_A_04, T_WHITE_A_06, T_WHITE_A_08, T_WHITE_A_16, T_WHITE_A_24, T_WHITE_A_36, WHITE };
|
|
321
|
+
export { BLACK, BLUE_100, BLUE_200, BLUE_300, BLUE_400, BLUE_50, BLUE_500, BLUE_600, BLUE_700, BLUE_800, BLUE_900, BLUE_950, BRAND_CHARCOAL, BRAND_GRAY_01, BRAND_GRAY_02, BRAND_GRAY_03, BRAND_GRAY_04, BRAND_GRAY_05, BRAND_ORANGE_01, BRAND_ORANGE_02, BRAND_ORANGE_03, BRAND_PURPLE_01, BRAND_PURPLE_02, DATA_VIZ_AQUA_100, DATA_VIZ_AQUA_200, DATA_VIZ_AQUA_300, DATA_VIZ_AQUA_400, DATA_VIZ_AQUA_50, DATA_VIZ_AQUA_500, DATA_VIZ_AQUA_600, DATA_VIZ_AQUA_700, DATA_VIZ_AQUA_800, DATA_VIZ_AQUA_900, DATA_VIZ_AQUA_950, DATA_VIZ_BLUE_100, DATA_VIZ_BLUE_200, DATA_VIZ_BLUE_300, DATA_VIZ_BLUE_400, DATA_VIZ_BLUE_50, DATA_VIZ_BLUE_500, DATA_VIZ_BLUE_600, DATA_VIZ_BLUE_700, DATA_VIZ_BLUE_800, DATA_VIZ_BLUE_900, DATA_VIZ_BLUE_950, DATA_VIZ_GREEN_100, DATA_VIZ_GREEN_200, DATA_VIZ_GREEN_300, DATA_VIZ_GREEN_400, DATA_VIZ_GREEN_50, DATA_VIZ_GREEN_500, DATA_VIZ_GREEN_600, DATA_VIZ_GREEN_700, DATA_VIZ_GREEN_800, DATA_VIZ_GREEN_900, DATA_VIZ_GREEN_950, DATA_VIZ_MAGENTA_100, DATA_VIZ_MAGENTA_200, DATA_VIZ_MAGENTA_300, DATA_VIZ_MAGENTA_400, DATA_VIZ_MAGENTA_50, DATA_VIZ_MAGENTA_500, DATA_VIZ_MAGENTA_600, DATA_VIZ_MAGENTA_700, DATA_VIZ_MAGENTA_800, DATA_VIZ_MAGENTA_900, DATA_VIZ_MAGENTA_950, DATA_VIZ_ORANGE_100, DATA_VIZ_ORANGE_200, DATA_VIZ_ORANGE_300, DATA_VIZ_ORANGE_400, DATA_VIZ_ORANGE_50, DATA_VIZ_ORANGE_500, DATA_VIZ_ORANGE_600, DATA_VIZ_ORANGE_700, DATA_VIZ_ORANGE_800, DATA_VIZ_ORANGE_900, DATA_VIZ_ORANGE_950, GL_BACKGROUND_COLOR_DEFAULT, GL_BACKGROUND_COLOR_DISABLED, GL_BACKGROUND_COLOR_STRONG, GL_BACKGROUND_COLOR_SUBTLE, GL_COLOR_BLUE_100, GL_COLOR_BLUE_200, GL_COLOR_BLUE_300, GL_COLOR_BLUE_400, GL_COLOR_BLUE_50, GL_COLOR_BLUE_500, GL_COLOR_BLUE_600, GL_COLOR_BLUE_700, GL_COLOR_BLUE_800, GL_COLOR_BLUE_900, GL_COLOR_BLUE_950, GL_COLOR_GREEN_100, GL_COLOR_GREEN_200, GL_COLOR_GREEN_300, GL_COLOR_GREEN_400, GL_COLOR_GREEN_50, GL_COLOR_GREEN_500, GL_COLOR_GREEN_600, GL_COLOR_GREEN_700, GL_COLOR_GREEN_800, GL_COLOR_GREEN_900, GL_COLOR_GREEN_950, GL_COLOR_NEUTRAL_0, GL_COLOR_NEUTRAL_10, GL_COLOR_NEUTRAL_100, GL_COLOR_NEUTRAL_1000, GL_COLOR_NEUTRAL_200, GL_COLOR_NEUTRAL_300, GL_COLOR_NEUTRAL_400, GL_COLOR_NEUTRAL_50, GL_COLOR_NEUTRAL_500, GL_COLOR_NEUTRAL_600, GL_COLOR_NEUTRAL_700, GL_COLOR_NEUTRAL_800, GL_COLOR_NEUTRAL_900, GL_COLOR_NEUTRAL_950, GL_COLOR_ORANGE_100, GL_COLOR_ORANGE_200, GL_COLOR_ORANGE_300, GL_COLOR_ORANGE_400, GL_COLOR_ORANGE_50, GL_COLOR_ORANGE_500, GL_COLOR_ORANGE_600, GL_COLOR_ORANGE_700, GL_COLOR_ORANGE_800, GL_COLOR_ORANGE_900, GL_COLOR_ORANGE_950, GL_COLOR_PURPLE_100, GL_COLOR_PURPLE_200, GL_COLOR_PURPLE_300, GL_COLOR_PURPLE_400, GL_COLOR_PURPLE_50, GL_COLOR_PURPLE_500, GL_COLOR_PURPLE_600, GL_COLOR_PURPLE_700, GL_COLOR_PURPLE_800, GL_COLOR_PURPLE_900, GL_COLOR_PURPLE_950, GL_COLOR_RED_100, GL_COLOR_RED_200, GL_COLOR_RED_300, GL_COLOR_RED_400, GL_COLOR_RED_50, GL_COLOR_RED_500, GL_COLOR_RED_600, GL_COLOR_RED_700, GL_COLOR_RED_800, GL_COLOR_RED_900, GL_COLOR_RED_950, GL_LINE_HEIGHT_12, GL_LINE_HEIGHT_16, GL_LINE_HEIGHT_20, GL_LINE_HEIGHT_24, GL_LINE_HEIGHT_28, GL_LINE_HEIGHT_32, GL_LINE_HEIGHT_36, GL_LINE_HEIGHT_42, GL_LINE_HEIGHT_44, GL_LINE_HEIGHT_52, GL_TEXT_COLOR_DANGER, GL_TEXT_COLOR_DEFAULT, GL_TEXT_COLOR_DISABLED, GL_TEXT_COLOR_HEADING, GL_TEXT_COLOR_LINK, GL_TEXT_COLOR_STRONG, GL_TEXT_COLOR_SUBTLE, GL_TEXT_COLOR_SUCCESS, GL_TEXT_PRIMARY, GL_TEXT_SECONDARY, GL_TEXT_TERTIARY, GRAY_10, GRAY_100, GRAY_200, GRAY_300, GRAY_400, GRAY_50, GRAY_500, GRAY_600, GRAY_700, GRAY_800, GRAY_900, GRAY_950, GREEN_100, GREEN_200, GREEN_300, GREEN_400, GREEN_50, GREEN_500, GREEN_600, GREEN_700, GREEN_800, GREEN_900, GREEN_950, ORANGE_100, ORANGE_200, ORANGE_300, ORANGE_400, ORANGE_50, ORANGE_500, ORANGE_600, ORANGE_700, ORANGE_800, ORANGE_900, ORANGE_950, PURPLE_100, PURPLE_200, PURPLE_300, PURPLE_400, PURPLE_50, PURPLE_500, PURPLE_600, PURPLE_700, PURPLE_800, PURPLE_900, PURPLE_950, RED_100, RED_200, RED_300, RED_400, RED_50, RED_500, RED_600, RED_700, RED_800, RED_900, RED_950, THEME_BLUE_10, THEME_BLUE_100, THEME_BLUE_200, THEME_BLUE_300, THEME_BLUE_400, THEME_BLUE_50, THEME_BLUE_500, THEME_BLUE_600, THEME_BLUE_700, THEME_BLUE_800, THEME_BLUE_900, THEME_BLUE_950, THEME_GREEN_10, THEME_GREEN_100, THEME_GREEN_200, THEME_GREEN_300, THEME_GREEN_400, THEME_GREEN_50, THEME_GREEN_500, THEME_GREEN_600, THEME_GREEN_700, THEME_GREEN_800, THEME_GREEN_900, THEME_GREEN_950, THEME_INDIGO_10, THEME_INDIGO_100, THEME_INDIGO_200, THEME_INDIGO_300, THEME_INDIGO_400, THEME_INDIGO_50, THEME_INDIGO_500, THEME_INDIGO_600, THEME_INDIGO_700, THEME_INDIGO_800, THEME_INDIGO_900, THEME_INDIGO_950, THEME_LIGHT_BLUE_10, THEME_LIGHT_BLUE_100, THEME_LIGHT_BLUE_200, THEME_LIGHT_BLUE_300, THEME_LIGHT_BLUE_400, THEME_LIGHT_BLUE_50, THEME_LIGHT_BLUE_500, THEME_LIGHT_BLUE_600, THEME_LIGHT_BLUE_700, THEME_LIGHT_BLUE_800, THEME_LIGHT_BLUE_900, THEME_LIGHT_BLUE_950, THEME_LIGHT_RED_10, THEME_LIGHT_RED_100, THEME_LIGHT_RED_200, THEME_LIGHT_RED_300, THEME_LIGHT_RED_400, THEME_LIGHT_RED_50, THEME_LIGHT_RED_500, THEME_LIGHT_RED_600, THEME_LIGHT_RED_700, THEME_LIGHT_RED_800, THEME_LIGHT_RED_900, THEME_LIGHT_RED_950, THEME_RED_10, THEME_RED_100, THEME_RED_200, THEME_RED_300, THEME_RED_400, THEME_RED_50, THEME_RED_500, THEME_RED_600, THEME_RED_700, THEME_RED_800, THEME_RED_900, THEME_RED_950, T_GRAY_A_02, T_GRAY_A_04, T_GRAY_A_06, T_GRAY_A_08, T_GRAY_A_16, T_GRAY_A_24, T_WHITE_A_02, T_WHITE_A_04, T_WHITE_A_06, T_WHITE_A_08, T_WHITE_A_16, T_WHITE_A_24, T_WHITE_A_36, WHITE };
|
|
@@ -3,6 +3,10 @@
|
|
|
3
3
|
* Do not edit directly
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
+
const GL_BACKGROUND_COLOR_DEFAULT = '#fff'; // Used for the default background color.
|
|
7
|
+
const GL_BACKGROUND_COLOR_SUBTLE = '#fbfafd'; // Used to slightly differentiate the background from the default.
|
|
8
|
+
const GL_BACKGROUND_COLOR_STRONG = '#ececef'; // Used to make the background easily stand out from the default.
|
|
9
|
+
const GL_BACKGROUND_COLOR_DISABLED = '#fbfafd'; // Used to identify a disabled section.
|
|
6
10
|
const GL_COLOR_BLUE_50 = '#e9f3fc';
|
|
7
11
|
const GL_COLOR_BLUE_100 = '#cbe2f9';
|
|
8
12
|
const GL_COLOR_BLUE_200 = '#9dc7f1';
|
|
@@ -314,4 +318,4 @@ const GL_TEXT_COLOR_DANGER = '#c91c00'; // Used for text indicating a problem, c
|
|
|
314
318
|
const GL_TEXT_COLOR_SUCCESS = '#217645'; // Used for text indicating success or validity.
|
|
315
319
|
const GL_TEXT_COLOR_DISABLED = '#89888d'; // Used for disabled text.
|
|
316
320
|
|
|
317
|
-
export { BLACK, BLUE_100, BLUE_200, BLUE_300, BLUE_400, BLUE_50, BLUE_500, BLUE_600, BLUE_700, BLUE_800, BLUE_900, BLUE_950, BRAND_CHARCOAL, BRAND_GRAY_01, BRAND_GRAY_02, BRAND_GRAY_03, BRAND_GRAY_04, BRAND_GRAY_05, BRAND_ORANGE_01, BRAND_ORANGE_02, BRAND_ORANGE_03, BRAND_PURPLE_01, BRAND_PURPLE_02, DATA_VIZ_AQUA_100, DATA_VIZ_AQUA_200, DATA_VIZ_AQUA_300, DATA_VIZ_AQUA_400, DATA_VIZ_AQUA_50, DATA_VIZ_AQUA_500, DATA_VIZ_AQUA_600, DATA_VIZ_AQUA_700, DATA_VIZ_AQUA_800, DATA_VIZ_AQUA_900, DATA_VIZ_AQUA_950, DATA_VIZ_BLUE_100, DATA_VIZ_BLUE_200, DATA_VIZ_BLUE_300, DATA_VIZ_BLUE_400, DATA_VIZ_BLUE_50, DATA_VIZ_BLUE_500, DATA_VIZ_BLUE_600, DATA_VIZ_BLUE_700, DATA_VIZ_BLUE_800, DATA_VIZ_BLUE_900, DATA_VIZ_BLUE_950, DATA_VIZ_GREEN_100, DATA_VIZ_GREEN_200, DATA_VIZ_GREEN_300, DATA_VIZ_GREEN_400, DATA_VIZ_GREEN_50, DATA_VIZ_GREEN_500, DATA_VIZ_GREEN_600, DATA_VIZ_GREEN_700, DATA_VIZ_GREEN_800, DATA_VIZ_GREEN_900, DATA_VIZ_GREEN_950, DATA_VIZ_MAGENTA_100, DATA_VIZ_MAGENTA_200, DATA_VIZ_MAGENTA_300, DATA_VIZ_MAGENTA_400, DATA_VIZ_MAGENTA_50, DATA_VIZ_MAGENTA_500, DATA_VIZ_MAGENTA_600, DATA_VIZ_MAGENTA_700, DATA_VIZ_MAGENTA_800, DATA_VIZ_MAGENTA_900, DATA_VIZ_MAGENTA_950, DATA_VIZ_ORANGE_100, DATA_VIZ_ORANGE_200, DATA_VIZ_ORANGE_300, DATA_VIZ_ORANGE_400, DATA_VIZ_ORANGE_50, DATA_VIZ_ORANGE_500, DATA_VIZ_ORANGE_600, DATA_VIZ_ORANGE_700, DATA_VIZ_ORANGE_800, DATA_VIZ_ORANGE_900, DATA_VIZ_ORANGE_950, GL_COLOR_BLUE_100, GL_COLOR_BLUE_200, GL_COLOR_BLUE_300, GL_COLOR_BLUE_400, GL_COLOR_BLUE_50, GL_COLOR_BLUE_500, GL_COLOR_BLUE_600, GL_COLOR_BLUE_700, GL_COLOR_BLUE_800, GL_COLOR_BLUE_900, GL_COLOR_BLUE_950, GL_COLOR_GREEN_100, GL_COLOR_GREEN_200, GL_COLOR_GREEN_300, GL_COLOR_GREEN_400, GL_COLOR_GREEN_50, GL_COLOR_GREEN_500, GL_COLOR_GREEN_600, GL_COLOR_GREEN_700, GL_COLOR_GREEN_800, GL_COLOR_GREEN_900, GL_COLOR_GREEN_950, GL_COLOR_NEUTRAL_0, GL_COLOR_NEUTRAL_10, GL_COLOR_NEUTRAL_100, GL_COLOR_NEUTRAL_1000, GL_COLOR_NEUTRAL_200, GL_COLOR_NEUTRAL_300, GL_COLOR_NEUTRAL_400, GL_COLOR_NEUTRAL_50, GL_COLOR_NEUTRAL_500, GL_COLOR_NEUTRAL_600, GL_COLOR_NEUTRAL_700, GL_COLOR_NEUTRAL_800, GL_COLOR_NEUTRAL_900, GL_COLOR_NEUTRAL_950, GL_COLOR_ORANGE_100, GL_COLOR_ORANGE_200, GL_COLOR_ORANGE_300, GL_COLOR_ORANGE_400, GL_COLOR_ORANGE_50, GL_COLOR_ORANGE_500, GL_COLOR_ORANGE_600, GL_COLOR_ORANGE_700, GL_COLOR_ORANGE_800, GL_COLOR_ORANGE_900, GL_COLOR_ORANGE_950, GL_COLOR_PURPLE_100, GL_COLOR_PURPLE_200, GL_COLOR_PURPLE_300, GL_COLOR_PURPLE_400, GL_COLOR_PURPLE_50, GL_COLOR_PURPLE_500, GL_COLOR_PURPLE_600, GL_COLOR_PURPLE_700, GL_COLOR_PURPLE_800, GL_COLOR_PURPLE_900, GL_COLOR_PURPLE_950, GL_COLOR_RED_100, GL_COLOR_RED_200, GL_COLOR_RED_300, GL_COLOR_RED_400, GL_COLOR_RED_50, GL_COLOR_RED_500, GL_COLOR_RED_600, GL_COLOR_RED_700, GL_COLOR_RED_800, GL_COLOR_RED_900, GL_COLOR_RED_950, GL_LINE_HEIGHT_12, GL_LINE_HEIGHT_16, GL_LINE_HEIGHT_20, GL_LINE_HEIGHT_24, GL_LINE_HEIGHT_28, GL_LINE_HEIGHT_32, GL_LINE_HEIGHT_36, GL_LINE_HEIGHT_42, GL_LINE_HEIGHT_44, GL_LINE_HEIGHT_52, GL_TEXT_COLOR_DANGER, GL_TEXT_COLOR_DEFAULT, GL_TEXT_COLOR_DISABLED, GL_TEXT_COLOR_HEADING, GL_TEXT_COLOR_LINK, GL_TEXT_COLOR_STRONG, GL_TEXT_COLOR_SUBTLE, GL_TEXT_COLOR_SUCCESS, GL_TEXT_PRIMARY, GL_TEXT_SECONDARY, GL_TEXT_TERTIARY, GRAY_10, GRAY_100, GRAY_200, GRAY_300, GRAY_400, GRAY_50, GRAY_500, GRAY_600, GRAY_700, GRAY_800, GRAY_900, GRAY_950, GREEN_100, GREEN_200, GREEN_300, GREEN_400, GREEN_50, GREEN_500, GREEN_600, GREEN_700, GREEN_800, GREEN_900, GREEN_950, ORANGE_100, ORANGE_200, ORANGE_300, ORANGE_400, ORANGE_50, ORANGE_500, ORANGE_600, ORANGE_700, ORANGE_800, ORANGE_900, ORANGE_950, PURPLE_100, PURPLE_200, PURPLE_300, PURPLE_400, PURPLE_50, PURPLE_500, PURPLE_600, PURPLE_700, PURPLE_800, PURPLE_900, PURPLE_950, RED_100, RED_200, RED_300, RED_400, RED_50, RED_500, RED_600, RED_700, RED_800, RED_900, RED_950, THEME_BLUE_10, THEME_BLUE_100, THEME_BLUE_200, THEME_BLUE_300, THEME_BLUE_400, THEME_BLUE_50, THEME_BLUE_500, THEME_BLUE_600, THEME_BLUE_700, THEME_BLUE_800, THEME_BLUE_900, THEME_BLUE_950, THEME_GREEN_10, THEME_GREEN_100, THEME_GREEN_200, THEME_GREEN_300, THEME_GREEN_400, THEME_GREEN_50, THEME_GREEN_500, THEME_GREEN_600, THEME_GREEN_700, THEME_GREEN_800, THEME_GREEN_900, THEME_GREEN_950, THEME_INDIGO_10, THEME_INDIGO_100, THEME_INDIGO_200, THEME_INDIGO_300, THEME_INDIGO_400, THEME_INDIGO_50, THEME_INDIGO_500, THEME_INDIGO_600, THEME_INDIGO_700, THEME_INDIGO_800, THEME_INDIGO_900, THEME_INDIGO_950, THEME_LIGHT_BLUE_10, THEME_LIGHT_BLUE_100, THEME_LIGHT_BLUE_200, THEME_LIGHT_BLUE_300, THEME_LIGHT_BLUE_400, THEME_LIGHT_BLUE_50, THEME_LIGHT_BLUE_500, THEME_LIGHT_BLUE_600, THEME_LIGHT_BLUE_700, THEME_LIGHT_BLUE_800, THEME_LIGHT_BLUE_900, THEME_LIGHT_BLUE_950, THEME_LIGHT_RED_10, THEME_LIGHT_RED_100, THEME_LIGHT_RED_200, THEME_LIGHT_RED_300, THEME_LIGHT_RED_400, THEME_LIGHT_RED_50, THEME_LIGHT_RED_500, THEME_LIGHT_RED_600, THEME_LIGHT_RED_700, THEME_LIGHT_RED_800, THEME_LIGHT_RED_900, THEME_LIGHT_RED_950, THEME_RED_10, THEME_RED_100, THEME_RED_200, THEME_RED_300, THEME_RED_400, THEME_RED_50, THEME_RED_500, THEME_RED_600, THEME_RED_700, THEME_RED_800, THEME_RED_900, THEME_RED_950, T_GRAY_A_02, T_GRAY_A_04, T_GRAY_A_06, T_GRAY_A_08, T_GRAY_A_16, T_GRAY_A_24, T_WHITE_A_02, T_WHITE_A_04, T_WHITE_A_06, T_WHITE_A_08, T_WHITE_A_16, T_WHITE_A_24, T_WHITE_A_36, WHITE };
|
|
321
|
+
export { BLACK, BLUE_100, BLUE_200, BLUE_300, BLUE_400, BLUE_50, BLUE_500, BLUE_600, BLUE_700, BLUE_800, BLUE_900, BLUE_950, BRAND_CHARCOAL, BRAND_GRAY_01, BRAND_GRAY_02, BRAND_GRAY_03, BRAND_GRAY_04, BRAND_GRAY_05, BRAND_ORANGE_01, BRAND_ORANGE_02, BRAND_ORANGE_03, BRAND_PURPLE_01, BRAND_PURPLE_02, DATA_VIZ_AQUA_100, DATA_VIZ_AQUA_200, DATA_VIZ_AQUA_300, DATA_VIZ_AQUA_400, DATA_VIZ_AQUA_50, DATA_VIZ_AQUA_500, DATA_VIZ_AQUA_600, DATA_VIZ_AQUA_700, DATA_VIZ_AQUA_800, DATA_VIZ_AQUA_900, DATA_VIZ_AQUA_950, DATA_VIZ_BLUE_100, DATA_VIZ_BLUE_200, DATA_VIZ_BLUE_300, DATA_VIZ_BLUE_400, DATA_VIZ_BLUE_50, DATA_VIZ_BLUE_500, DATA_VIZ_BLUE_600, DATA_VIZ_BLUE_700, DATA_VIZ_BLUE_800, DATA_VIZ_BLUE_900, DATA_VIZ_BLUE_950, DATA_VIZ_GREEN_100, DATA_VIZ_GREEN_200, DATA_VIZ_GREEN_300, DATA_VIZ_GREEN_400, DATA_VIZ_GREEN_50, DATA_VIZ_GREEN_500, DATA_VIZ_GREEN_600, DATA_VIZ_GREEN_700, DATA_VIZ_GREEN_800, DATA_VIZ_GREEN_900, DATA_VIZ_GREEN_950, DATA_VIZ_MAGENTA_100, DATA_VIZ_MAGENTA_200, DATA_VIZ_MAGENTA_300, DATA_VIZ_MAGENTA_400, DATA_VIZ_MAGENTA_50, DATA_VIZ_MAGENTA_500, DATA_VIZ_MAGENTA_600, DATA_VIZ_MAGENTA_700, DATA_VIZ_MAGENTA_800, DATA_VIZ_MAGENTA_900, DATA_VIZ_MAGENTA_950, DATA_VIZ_ORANGE_100, DATA_VIZ_ORANGE_200, DATA_VIZ_ORANGE_300, DATA_VIZ_ORANGE_400, DATA_VIZ_ORANGE_50, DATA_VIZ_ORANGE_500, DATA_VIZ_ORANGE_600, DATA_VIZ_ORANGE_700, DATA_VIZ_ORANGE_800, DATA_VIZ_ORANGE_900, DATA_VIZ_ORANGE_950, GL_BACKGROUND_COLOR_DEFAULT, GL_BACKGROUND_COLOR_DISABLED, GL_BACKGROUND_COLOR_STRONG, GL_BACKGROUND_COLOR_SUBTLE, GL_COLOR_BLUE_100, GL_COLOR_BLUE_200, GL_COLOR_BLUE_300, GL_COLOR_BLUE_400, GL_COLOR_BLUE_50, GL_COLOR_BLUE_500, GL_COLOR_BLUE_600, GL_COLOR_BLUE_700, GL_COLOR_BLUE_800, GL_COLOR_BLUE_900, GL_COLOR_BLUE_950, GL_COLOR_GREEN_100, GL_COLOR_GREEN_200, GL_COLOR_GREEN_300, GL_COLOR_GREEN_400, GL_COLOR_GREEN_50, GL_COLOR_GREEN_500, GL_COLOR_GREEN_600, GL_COLOR_GREEN_700, GL_COLOR_GREEN_800, GL_COLOR_GREEN_900, GL_COLOR_GREEN_950, GL_COLOR_NEUTRAL_0, GL_COLOR_NEUTRAL_10, GL_COLOR_NEUTRAL_100, GL_COLOR_NEUTRAL_1000, GL_COLOR_NEUTRAL_200, GL_COLOR_NEUTRAL_300, GL_COLOR_NEUTRAL_400, GL_COLOR_NEUTRAL_50, GL_COLOR_NEUTRAL_500, GL_COLOR_NEUTRAL_600, GL_COLOR_NEUTRAL_700, GL_COLOR_NEUTRAL_800, GL_COLOR_NEUTRAL_900, GL_COLOR_NEUTRAL_950, GL_COLOR_ORANGE_100, GL_COLOR_ORANGE_200, GL_COLOR_ORANGE_300, GL_COLOR_ORANGE_400, GL_COLOR_ORANGE_50, GL_COLOR_ORANGE_500, GL_COLOR_ORANGE_600, GL_COLOR_ORANGE_700, GL_COLOR_ORANGE_800, GL_COLOR_ORANGE_900, GL_COLOR_ORANGE_950, GL_COLOR_PURPLE_100, GL_COLOR_PURPLE_200, GL_COLOR_PURPLE_300, GL_COLOR_PURPLE_400, GL_COLOR_PURPLE_50, GL_COLOR_PURPLE_500, GL_COLOR_PURPLE_600, GL_COLOR_PURPLE_700, GL_COLOR_PURPLE_800, GL_COLOR_PURPLE_900, GL_COLOR_PURPLE_950, GL_COLOR_RED_100, GL_COLOR_RED_200, GL_COLOR_RED_300, GL_COLOR_RED_400, GL_COLOR_RED_50, GL_COLOR_RED_500, GL_COLOR_RED_600, GL_COLOR_RED_700, GL_COLOR_RED_800, GL_COLOR_RED_900, GL_COLOR_RED_950, GL_LINE_HEIGHT_12, GL_LINE_HEIGHT_16, GL_LINE_HEIGHT_20, GL_LINE_HEIGHT_24, GL_LINE_HEIGHT_28, GL_LINE_HEIGHT_32, GL_LINE_HEIGHT_36, GL_LINE_HEIGHT_42, GL_LINE_HEIGHT_44, GL_LINE_HEIGHT_52, GL_TEXT_COLOR_DANGER, GL_TEXT_COLOR_DEFAULT, GL_TEXT_COLOR_DISABLED, GL_TEXT_COLOR_HEADING, GL_TEXT_COLOR_LINK, GL_TEXT_COLOR_STRONG, GL_TEXT_COLOR_SUBTLE, GL_TEXT_COLOR_SUCCESS, GL_TEXT_PRIMARY, GL_TEXT_SECONDARY, GL_TEXT_TERTIARY, GRAY_10, GRAY_100, GRAY_200, GRAY_300, GRAY_400, GRAY_50, GRAY_500, GRAY_600, GRAY_700, GRAY_800, GRAY_900, GRAY_950, GREEN_100, GREEN_200, GREEN_300, GREEN_400, GREEN_50, GREEN_500, GREEN_600, GREEN_700, GREEN_800, GREEN_900, GREEN_950, ORANGE_100, ORANGE_200, ORANGE_300, ORANGE_400, ORANGE_50, ORANGE_500, ORANGE_600, ORANGE_700, ORANGE_800, ORANGE_900, ORANGE_950, PURPLE_100, PURPLE_200, PURPLE_300, PURPLE_400, PURPLE_50, PURPLE_500, PURPLE_600, PURPLE_700, PURPLE_800, PURPLE_900, PURPLE_950, RED_100, RED_200, RED_300, RED_400, RED_50, RED_500, RED_600, RED_700, RED_800, RED_900, RED_950, THEME_BLUE_10, THEME_BLUE_100, THEME_BLUE_200, THEME_BLUE_300, THEME_BLUE_400, THEME_BLUE_50, THEME_BLUE_500, THEME_BLUE_600, THEME_BLUE_700, THEME_BLUE_800, THEME_BLUE_900, THEME_BLUE_950, THEME_GREEN_10, THEME_GREEN_100, THEME_GREEN_200, THEME_GREEN_300, THEME_GREEN_400, THEME_GREEN_50, THEME_GREEN_500, THEME_GREEN_600, THEME_GREEN_700, THEME_GREEN_800, THEME_GREEN_900, THEME_GREEN_950, THEME_INDIGO_10, THEME_INDIGO_100, THEME_INDIGO_200, THEME_INDIGO_300, THEME_INDIGO_400, THEME_INDIGO_50, THEME_INDIGO_500, THEME_INDIGO_600, THEME_INDIGO_700, THEME_INDIGO_800, THEME_INDIGO_900, THEME_INDIGO_950, THEME_LIGHT_BLUE_10, THEME_LIGHT_BLUE_100, THEME_LIGHT_BLUE_200, THEME_LIGHT_BLUE_300, THEME_LIGHT_BLUE_400, THEME_LIGHT_BLUE_50, THEME_LIGHT_BLUE_500, THEME_LIGHT_BLUE_600, THEME_LIGHT_BLUE_700, THEME_LIGHT_BLUE_800, THEME_LIGHT_BLUE_900, THEME_LIGHT_BLUE_950, THEME_LIGHT_RED_10, THEME_LIGHT_RED_100, THEME_LIGHT_RED_200, THEME_LIGHT_RED_300, THEME_LIGHT_RED_400, THEME_LIGHT_RED_50, THEME_LIGHT_RED_500, THEME_LIGHT_RED_600, THEME_LIGHT_RED_700, THEME_LIGHT_RED_800, THEME_LIGHT_RED_900, THEME_LIGHT_RED_950, THEME_RED_10, THEME_RED_100, THEME_RED_200, THEME_RED_300, THEME_RED_400, THEME_RED_50, THEME_RED_500, THEME_RED_600, THEME_RED_700, THEME_RED_800, THEME_RED_900, THEME_RED_950, T_GRAY_A_02, T_GRAY_A_04, T_GRAY_A_06, T_GRAY_A_08, T_GRAY_A_16, T_GRAY_A_24, T_WHITE_A_02, T_WHITE_A_04, T_WHITE_A_06, T_WHITE_A_08, T_WHITE_A_16, T_WHITE_A_24, T_WHITE_A_36, WHITE };
|
|
@@ -314,4 +314,8 @@
|
|
|
314
314
|
--gl-text-color-strong: var(--gl-color-neutral-950); /* Used for text with the highest contrast. */
|
|
315
315
|
--gl-text-color-subtle: var(--gl-color-neutral-600); /* Used for supplemental text that doesn't need to be as prominent as other text. */
|
|
316
316
|
--gl-text-color-default: var(--gl-color-neutral-800); /* Used for the default text color. */
|
|
317
|
+
--gl-background-color-disabled: var(--gl-color-neutral-10); /* Used to identify a disabled section. */
|
|
318
|
+
--gl-background-color-strong: var(--gl-color-neutral-50); /* Used to make the background easily stand out from the default. */
|
|
319
|
+
--gl-background-color-subtle: var(--gl-color-neutral-10); /* Used to slightly differentiate the background from the default. */
|
|
320
|
+
--gl-background-color-default: var(--gl-color-neutral-0); /* Used for the default background color. */
|
|
317
321
|
}
|
|
@@ -314,4 +314,8 @@
|
|
|
314
314
|
--gl-text-color-strong: var(--gl-color-neutral-0); /* Used for text with the highest contrast. */
|
|
315
315
|
--gl-text-color-subtle: var(--gl-color-neutral-200); /* Used for supplemental text that doesn't need to be as prominent as other text. */
|
|
316
316
|
--gl-text-color-default: var(--gl-color-neutral-50); /* Used for the default text color. */
|
|
317
|
+
--gl-background-color-disabled: var(--gl-color-neutral-900); /* Used to identify a disabled section. */
|
|
318
|
+
--gl-background-color-strong: var(--gl-color-neutral-800); /* Used to make the background easily stand out from the default. */
|
|
319
|
+
--gl-background-color-subtle: var(--gl-color-neutral-900); /* Used to slightly differentiate the background from the default. */
|
|
320
|
+
--gl-background-color-default: var(--gl-color-neutral-950); /* Used for the default background color. */
|
|
317
321
|
}
|
|
@@ -3,6 +3,10 @@
|
|
|
3
3
|
* Do not edit directly
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
+
export const GL_BACKGROUND_COLOR_DEFAULT = '#1f1e24'; // Used for the default background color.
|
|
7
|
+
export const GL_BACKGROUND_COLOR_SUBTLE = '#333238'; // Used to slightly differentiate the background from the default.
|
|
8
|
+
export const GL_BACKGROUND_COLOR_STRONG = '#434248'; // Used to make the background easily stand out from the default.
|
|
9
|
+
export const GL_BACKGROUND_COLOR_DISABLED = '#333238'; // Used to identify a disabled section.
|
|
6
10
|
export const GL_COLOR_BLUE_50 = '#e9f3fc';
|
|
7
11
|
export const GL_COLOR_BLUE_100 = '#cbe2f9';
|
|
8
12
|
export const GL_COLOR_BLUE_200 = '#9dc7f1';
|
package/dist/tokens/js/tokens.js
CHANGED
|
@@ -3,6 +3,10 @@
|
|
|
3
3
|
* Do not edit directly
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
+
export const GL_BACKGROUND_COLOR_DEFAULT = '#fff'; // Used for the default background color.
|
|
7
|
+
export const GL_BACKGROUND_COLOR_SUBTLE = '#fbfafd'; // Used to slightly differentiate the background from the default.
|
|
8
|
+
export const GL_BACKGROUND_COLOR_STRONG = '#ececef'; // Used to make the background easily stand out from the default.
|
|
9
|
+
export const GL_BACKGROUND_COLOR_DISABLED = '#fbfafd'; // Used to identify a disabled section.
|
|
6
10
|
export const GL_COLOR_BLUE_50 = '#e9f3fc';
|
|
7
11
|
export const GL_COLOR_BLUE_100 = '#cbe2f9';
|
|
8
12
|
export const GL_COLOR_BLUE_200 = '#9dc7f1';
|
|
@@ -1,4 +1,96 @@
|
|
|
1
1
|
{
|
|
2
|
+
"background": {
|
|
3
|
+
"color": {
|
|
4
|
+
"default": {
|
|
5
|
+
"value": "#1f1e24",
|
|
6
|
+
"$type": "color",
|
|
7
|
+
"comment": "Used for the default background color.",
|
|
8
|
+
"filePath": "src/tokens/background.tokens.json",
|
|
9
|
+
"isSource": true,
|
|
10
|
+
"original": {
|
|
11
|
+
"value": {
|
|
12
|
+
"default": "{color.neutral.0}",
|
|
13
|
+
"dark": "{color.neutral.950}"
|
|
14
|
+
},
|
|
15
|
+
"$type": "color",
|
|
16
|
+
"comment": "Used for the default background color."
|
|
17
|
+
},
|
|
18
|
+
"name": "BACKGROUND_COLOR_DEFAULT",
|
|
19
|
+
"attributes": {},
|
|
20
|
+
"path": [
|
|
21
|
+
"background",
|
|
22
|
+
"color",
|
|
23
|
+
"default"
|
|
24
|
+
]
|
|
25
|
+
},
|
|
26
|
+
"subtle": {
|
|
27
|
+
"value": "#333238",
|
|
28
|
+
"$type": "color",
|
|
29
|
+
"comment": "Used to slightly differentiate the background from the default.",
|
|
30
|
+
"filePath": "src/tokens/background.tokens.json",
|
|
31
|
+
"isSource": true,
|
|
32
|
+
"original": {
|
|
33
|
+
"value": {
|
|
34
|
+
"default": "{color.neutral.10}",
|
|
35
|
+
"dark": "{color.neutral.900}"
|
|
36
|
+
},
|
|
37
|
+
"$type": "color",
|
|
38
|
+
"comment": "Used to slightly differentiate the background from the default."
|
|
39
|
+
},
|
|
40
|
+
"name": "BACKGROUND_COLOR_SUBTLE",
|
|
41
|
+
"attributes": {},
|
|
42
|
+
"path": [
|
|
43
|
+
"background",
|
|
44
|
+
"color",
|
|
45
|
+
"subtle"
|
|
46
|
+
]
|
|
47
|
+
},
|
|
48
|
+
"strong": {
|
|
49
|
+
"value": "#434248",
|
|
50
|
+
"$type": "color",
|
|
51
|
+
"comment": "Used to make the background easily stand out from the default.",
|
|
52
|
+
"filePath": "src/tokens/background.tokens.json",
|
|
53
|
+
"isSource": true,
|
|
54
|
+
"original": {
|
|
55
|
+
"value": {
|
|
56
|
+
"default": "{color.neutral.50}",
|
|
57
|
+
"dark": "{color.neutral.800}"
|
|
58
|
+
},
|
|
59
|
+
"$type": "color",
|
|
60
|
+
"comment": "Used to make the background easily stand out from the default."
|
|
61
|
+
},
|
|
62
|
+
"name": "BACKGROUND_COLOR_STRONG",
|
|
63
|
+
"attributes": {},
|
|
64
|
+
"path": [
|
|
65
|
+
"background",
|
|
66
|
+
"color",
|
|
67
|
+
"strong"
|
|
68
|
+
]
|
|
69
|
+
},
|
|
70
|
+
"disabled": {
|
|
71
|
+
"value": "#333238",
|
|
72
|
+
"$type": "color",
|
|
73
|
+
"comment": "Used to identify a disabled section.",
|
|
74
|
+
"filePath": "src/tokens/background.tokens.json",
|
|
75
|
+
"isSource": true,
|
|
76
|
+
"original": {
|
|
77
|
+
"value": {
|
|
78
|
+
"default": "{color.neutral.10}",
|
|
79
|
+
"dark": "{color.neutral.900}"
|
|
80
|
+
},
|
|
81
|
+
"$type": "color",
|
|
82
|
+
"comment": "Used to identify a disabled section."
|
|
83
|
+
},
|
|
84
|
+
"name": "BACKGROUND_COLOR_DISABLED",
|
|
85
|
+
"attributes": {},
|
|
86
|
+
"path": [
|
|
87
|
+
"background",
|
|
88
|
+
"color",
|
|
89
|
+
"disabled"
|
|
90
|
+
]
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
},
|
|
2
94
|
"color": {
|
|
3
95
|
"blue": {
|
|
4
96
|
"50": {
|
|
@@ -1,4 +1,96 @@
|
|
|
1
1
|
{
|
|
2
|
+
"background": {
|
|
3
|
+
"color": {
|
|
4
|
+
"default": {
|
|
5
|
+
"value": "#fff",
|
|
6
|
+
"$type": "color",
|
|
7
|
+
"comment": "Used for the default background color.",
|
|
8
|
+
"filePath": "src/tokens/background.tokens.json",
|
|
9
|
+
"isSource": true,
|
|
10
|
+
"original": {
|
|
11
|
+
"value": {
|
|
12
|
+
"default": "{color.neutral.0}",
|
|
13
|
+
"dark": "{color.neutral.950}"
|
|
14
|
+
},
|
|
15
|
+
"$type": "color",
|
|
16
|
+
"comment": "Used for the default background color."
|
|
17
|
+
},
|
|
18
|
+
"name": "BACKGROUND_COLOR_DEFAULT",
|
|
19
|
+
"attributes": {},
|
|
20
|
+
"path": [
|
|
21
|
+
"background",
|
|
22
|
+
"color",
|
|
23
|
+
"default"
|
|
24
|
+
]
|
|
25
|
+
},
|
|
26
|
+
"subtle": {
|
|
27
|
+
"value": "#fbfafd",
|
|
28
|
+
"$type": "color",
|
|
29
|
+
"comment": "Used to slightly differentiate the background from the default.",
|
|
30
|
+
"filePath": "src/tokens/background.tokens.json",
|
|
31
|
+
"isSource": true,
|
|
32
|
+
"original": {
|
|
33
|
+
"value": {
|
|
34
|
+
"default": "{color.neutral.10}",
|
|
35
|
+
"dark": "{color.neutral.900}"
|
|
36
|
+
},
|
|
37
|
+
"$type": "color",
|
|
38
|
+
"comment": "Used to slightly differentiate the background from the default."
|
|
39
|
+
},
|
|
40
|
+
"name": "BACKGROUND_COLOR_SUBTLE",
|
|
41
|
+
"attributes": {},
|
|
42
|
+
"path": [
|
|
43
|
+
"background",
|
|
44
|
+
"color",
|
|
45
|
+
"subtle"
|
|
46
|
+
]
|
|
47
|
+
},
|
|
48
|
+
"strong": {
|
|
49
|
+
"value": "#ececef",
|
|
50
|
+
"$type": "color",
|
|
51
|
+
"comment": "Used to make the background easily stand out from the default.",
|
|
52
|
+
"filePath": "src/tokens/background.tokens.json",
|
|
53
|
+
"isSource": true,
|
|
54
|
+
"original": {
|
|
55
|
+
"value": {
|
|
56
|
+
"default": "{color.neutral.50}",
|
|
57
|
+
"dark": "{color.neutral.800}"
|
|
58
|
+
},
|
|
59
|
+
"$type": "color",
|
|
60
|
+
"comment": "Used to make the background easily stand out from the default."
|
|
61
|
+
},
|
|
62
|
+
"name": "BACKGROUND_COLOR_STRONG",
|
|
63
|
+
"attributes": {},
|
|
64
|
+
"path": [
|
|
65
|
+
"background",
|
|
66
|
+
"color",
|
|
67
|
+
"strong"
|
|
68
|
+
]
|
|
69
|
+
},
|
|
70
|
+
"disabled": {
|
|
71
|
+
"value": "#fbfafd",
|
|
72
|
+
"$type": "color",
|
|
73
|
+
"comment": "Used to identify a disabled section.",
|
|
74
|
+
"filePath": "src/tokens/background.tokens.json",
|
|
75
|
+
"isSource": true,
|
|
76
|
+
"original": {
|
|
77
|
+
"value": {
|
|
78
|
+
"default": "{color.neutral.10}",
|
|
79
|
+
"dark": "{color.neutral.900}"
|
|
80
|
+
},
|
|
81
|
+
"$type": "color",
|
|
82
|
+
"comment": "Used to identify a disabled section."
|
|
83
|
+
},
|
|
84
|
+
"name": "BACKGROUND_COLOR_DISABLED",
|
|
85
|
+
"attributes": {},
|
|
86
|
+
"path": [
|
|
87
|
+
"background",
|
|
88
|
+
"color",
|
|
89
|
+
"disabled"
|
|
90
|
+
]
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
},
|
|
2
94
|
"color": {
|
|
3
95
|
"blue": {
|
|
4
96
|
"50": {
|
|
@@ -312,3 +312,7 @@ $gl-text-color-heading: $gl-color-neutral-0 !default; // Used for headings level
|
|
|
312
312
|
$gl-text-color-strong: $gl-color-neutral-0 !default; // Used for text with the highest contrast.
|
|
313
313
|
$gl-text-color-subtle: $gl-color-neutral-200 !default; // Used for supplemental text that doesn't need to be as prominent as other text.
|
|
314
314
|
$gl-text-color-default: $gl-color-neutral-50 !default; // Used for the default text color.
|
|
315
|
+
$gl-background-color-disabled: $gl-color-neutral-900; // Used to identify a disabled section.
|
|
316
|
+
$gl-background-color-strong: $gl-color-neutral-800; // Used to make the background easily stand out from the default.
|
|
317
|
+
$gl-background-color-subtle: $gl-color-neutral-900; // Used to slightly differentiate the background from the default.
|
|
318
|
+
$gl-background-color-default: $gl-color-neutral-950; // Used for the default background color.
|
|
@@ -312,3 +312,7 @@ $gl-text-color-heading: $gl-color-neutral-950 !default; // Used for headings lev
|
|
|
312
312
|
$gl-text-color-strong: $gl-color-neutral-950 !default; // Used for text with the highest contrast.
|
|
313
313
|
$gl-text-color-subtle: $gl-color-neutral-600 !default; // Used for supplemental text that doesn't need to be as prominent as other text.
|
|
314
314
|
$gl-text-color-default: $gl-color-neutral-800 !default; // Used for the default text color.
|
|
315
|
+
$gl-background-color-disabled: $gl-color-neutral-10; // Used to identify a disabled section.
|
|
316
|
+
$gl-background-color-strong: $gl-color-neutral-50; // Used to make the background easily stand out from the default.
|
|
317
|
+
$gl-background-color-subtle: $gl-color-neutral-10; // Used to slightly differentiate the background from the default.
|
|
318
|
+
$gl-background-color-default: $gl-color-neutral-0; // Used for the default background color.
|
|
@@ -3,6 +3,10 @@
|
|
|
3
3
|
* Do not edit directly
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
+
$gl-background-color-default: var(--gl-background-color-default);
|
|
7
|
+
$gl-background-color-subtle: var(--gl-background-color-subtle);
|
|
8
|
+
$gl-background-color-strong: var(--gl-background-color-strong);
|
|
9
|
+
$gl-background-color-disabled: var(--gl-background-color-disabled);
|
|
6
10
|
$gl-color-blue-50: var(--gl-color-blue-50);
|
|
7
11
|
$gl-color-blue-100: var(--gl-color-blue-100);
|
|
8
12
|
$gl-color-blue-200: var(--gl-color-blue-200);
|
|
@@ -214,6 +214,16 @@ const textColors = {
|
|
|
214
214
|
disabled:
|
|
215
215
|
'var(--gl-text-color-disabled, var(--gl-color-neutral-400, #89888d))',
|
|
216
216
|
};
|
|
217
|
+
const backgroundColors = {
|
|
218
|
+
default:
|
|
219
|
+
'var(--gl-background-color-default, var(--gl-color-neutral-0, #fff))',
|
|
220
|
+
subtle:
|
|
221
|
+
'var(--gl-background-color-subtle, var(--gl-color-neutral-10, #fbfafd))',
|
|
222
|
+
strong:
|
|
223
|
+
'var(--gl-background-color-strong, var(--gl-color-neutral-50, #ececef))',
|
|
224
|
+
disabled:
|
|
225
|
+
'var(--gl-background-color-disabled, var(--gl-color-neutral-10, #fbfafd))',
|
|
226
|
+
};
|
|
217
227
|
|
|
218
228
|
const colors = {
|
|
219
229
|
transparent: 'transparent',
|
|
@@ -224,6 +234,11 @@ const colors = {
|
|
|
224
234
|
...dataVizColors,
|
|
225
235
|
};
|
|
226
236
|
|
|
237
|
+
const backgroundColor = {
|
|
238
|
+
...colors,
|
|
239
|
+
...backgroundColors,
|
|
240
|
+
};
|
|
241
|
+
|
|
227
242
|
const textColor = {
|
|
228
243
|
...colors,
|
|
229
244
|
...textColors,
|
|
@@ -234,5 +249,6 @@ const textColor = {
|
|
|
234
249
|
|
|
235
250
|
module.exports = {
|
|
236
251
|
colors,
|
|
252
|
+
backgroundColor,
|
|
237
253
|
textColor,
|
|
238
254
|
};
|
package/package.json
CHANGED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
{
|
|
2
|
+
"background": {
|
|
3
|
+
"color": {
|
|
4
|
+
"default": {
|
|
5
|
+
"$value": {
|
|
6
|
+
"default": "{color.neutral.0}",
|
|
7
|
+
"dark": "{color.neutral.950}"
|
|
8
|
+
},
|
|
9
|
+
"$type": "color",
|
|
10
|
+
"$description": "Used for the default background color."
|
|
11
|
+
},
|
|
12
|
+
"subtle": {
|
|
13
|
+
"$value": {
|
|
14
|
+
"default": "{color.neutral.10}",
|
|
15
|
+
"dark": "{color.neutral.900}"
|
|
16
|
+
},
|
|
17
|
+
"$type": "color",
|
|
18
|
+
"$description": "Used to slightly differentiate the background from the default."
|
|
19
|
+
},
|
|
20
|
+
"strong": {
|
|
21
|
+
"$value": {
|
|
22
|
+
"default": "{color.neutral.50}",
|
|
23
|
+
"dark": "{color.neutral.800}"
|
|
24
|
+
},
|
|
25
|
+
"$type": "color",
|
|
26
|
+
"$description": "Used to make the background easily stand out from the default."
|
|
27
|
+
},
|
|
28
|
+
"disabled": {
|
|
29
|
+
"$value": {
|
|
30
|
+
"default": "{color.neutral.10}",
|
|
31
|
+
"dark": "{color.neutral.900}"
|
|
32
|
+
},
|
|
33
|
+
"$type": "color",
|
|
34
|
+
"$description": "Used to identify a disabled section."
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
@@ -314,4 +314,8 @@
|
|
|
314
314
|
--gl-text-color-strong: var(--gl-color-neutral-950); /* Used for text with the highest contrast. */
|
|
315
315
|
--gl-text-color-subtle: var(--gl-color-neutral-600); /* Used for supplemental text that doesn't need to be as prominent as other text. */
|
|
316
316
|
--gl-text-color-default: var(--gl-color-neutral-800); /* Used for the default text color. */
|
|
317
|
+
--gl-background-color-disabled: var(--gl-color-neutral-10); /* Used to identify a disabled section. */
|
|
318
|
+
--gl-background-color-strong: var(--gl-color-neutral-50); /* Used to make the background easily stand out from the default. */
|
|
319
|
+
--gl-background-color-subtle: var(--gl-color-neutral-10); /* Used to slightly differentiate the background from the default. */
|
|
320
|
+
--gl-background-color-default: var(--gl-color-neutral-0); /* Used for the default background color. */
|
|
317
321
|
}
|
|
@@ -314,4 +314,8 @@
|
|
|
314
314
|
--gl-text-color-strong: var(--gl-color-neutral-0); /* Used for text with the highest contrast. */
|
|
315
315
|
--gl-text-color-subtle: var(--gl-color-neutral-200); /* Used for supplemental text that doesn't need to be as prominent as other text. */
|
|
316
316
|
--gl-text-color-default: var(--gl-color-neutral-50); /* Used for the default text color. */
|
|
317
|
+
--gl-background-color-disabled: var(--gl-color-neutral-900); /* Used to identify a disabled section. */
|
|
318
|
+
--gl-background-color-strong: var(--gl-color-neutral-800); /* Used to make the background easily stand out from the default. */
|
|
319
|
+
--gl-background-color-subtle: var(--gl-color-neutral-900); /* Used to slightly differentiate the background from the default. */
|
|
320
|
+
--gl-background-color-default: var(--gl-color-neutral-950); /* Used for the default background color. */
|
|
317
321
|
}
|
|
@@ -3,6 +3,10 @@
|
|
|
3
3
|
* Do not edit directly
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
+
export const GL_BACKGROUND_COLOR_DEFAULT = '#1f1e24'; // Used for the default background color.
|
|
7
|
+
export const GL_BACKGROUND_COLOR_SUBTLE = '#333238'; // Used to slightly differentiate the background from the default.
|
|
8
|
+
export const GL_BACKGROUND_COLOR_STRONG = '#434248'; // Used to make the background easily stand out from the default.
|
|
9
|
+
export const GL_BACKGROUND_COLOR_DISABLED = '#333238'; // Used to identify a disabled section.
|
|
6
10
|
export const GL_COLOR_BLUE_50 = '#e9f3fc';
|
|
7
11
|
export const GL_COLOR_BLUE_100 = '#cbe2f9';
|
|
8
12
|
export const GL_COLOR_BLUE_200 = '#9dc7f1';
|
|
@@ -3,6 +3,10 @@
|
|
|
3
3
|
* Do not edit directly
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
+
export const GL_BACKGROUND_COLOR_DEFAULT = '#fff'; // Used for the default background color.
|
|
7
|
+
export const GL_BACKGROUND_COLOR_SUBTLE = '#fbfafd'; // Used to slightly differentiate the background from the default.
|
|
8
|
+
export const GL_BACKGROUND_COLOR_STRONG = '#ececef'; // Used to make the background easily stand out from the default.
|
|
9
|
+
export const GL_BACKGROUND_COLOR_DISABLED = '#fbfafd'; // Used to identify a disabled section.
|
|
6
10
|
export const GL_COLOR_BLUE_50 = '#e9f3fc';
|
|
7
11
|
export const GL_COLOR_BLUE_100 = '#cbe2f9';
|
|
8
12
|
export const GL_COLOR_BLUE_200 = '#9dc7f1';
|
|
@@ -1,4 +1,96 @@
|
|
|
1
1
|
{
|
|
2
|
+
"background": {
|
|
3
|
+
"color": {
|
|
4
|
+
"default": {
|
|
5
|
+
"value": "#1f1e24",
|
|
6
|
+
"$type": "color",
|
|
7
|
+
"comment": "Used for the default background color.",
|
|
8
|
+
"filePath": "src/tokens/background.tokens.json",
|
|
9
|
+
"isSource": true,
|
|
10
|
+
"original": {
|
|
11
|
+
"value": {
|
|
12
|
+
"default": "{color.neutral.0}",
|
|
13
|
+
"dark": "{color.neutral.950}"
|
|
14
|
+
},
|
|
15
|
+
"$type": "color",
|
|
16
|
+
"comment": "Used for the default background color."
|
|
17
|
+
},
|
|
18
|
+
"name": "BACKGROUND_COLOR_DEFAULT",
|
|
19
|
+
"attributes": {},
|
|
20
|
+
"path": [
|
|
21
|
+
"background",
|
|
22
|
+
"color",
|
|
23
|
+
"default"
|
|
24
|
+
]
|
|
25
|
+
},
|
|
26
|
+
"subtle": {
|
|
27
|
+
"value": "#333238",
|
|
28
|
+
"$type": "color",
|
|
29
|
+
"comment": "Used to slightly differentiate the background from the default.",
|
|
30
|
+
"filePath": "src/tokens/background.tokens.json",
|
|
31
|
+
"isSource": true,
|
|
32
|
+
"original": {
|
|
33
|
+
"value": {
|
|
34
|
+
"default": "{color.neutral.10}",
|
|
35
|
+
"dark": "{color.neutral.900}"
|
|
36
|
+
},
|
|
37
|
+
"$type": "color",
|
|
38
|
+
"comment": "Used to slightly differentiate the background from the default."
|
|
39
|
+
},
|
|
40
|
+
"name": "BACKGROUND_COLOR_SUBTLE",
|
|
41
|
+
"attributes": {},
|
|
42
|
+
"path": [
|
|
43
|
+
"background",
|
|
44
|
+
"color",
|
|
45
|
+
"subtle"
|
|
46
|
+
]
|
|
47
|
+
},
|
|
48
|
+
"strong": {
|
|
49
|
+
"value": "#434248",
|
|
50
|
+
"$type": "color",
|
|
51
|
+
"comment": "Used to make the background easily stand out from the default.",
|
|
52
|
+
"filePath": "src/tokens/background.tokens.json",
|
|
53
|
+
"isSource": true,
|
|
54
|
+
"original": {
|
|
55
|
+
"value": {
|
|
56
|
+
"default": "{color.neutral.50}",
|
|
57
|
+
"dark": "{color.neutral.800}"
|
|
58
|
+
},
|
|
59
|
+
"$type": "color",
|
|
60
|
+
"comment": "Used to make the background easily stand out from the default."
|
|
61
|
+
},
|
|
62
|
+
"name": "BACKGROUND_COLOR_STRONG",
|
|
63
|
+
"attributes": {},
|
|
64
|
+
"path": [
|
|
65
|
+
"background",
|
|
66
|
+
"color",
|
|
67
|
+
"strong"
|
|
68
|
+
]
|
|
69
|
+
},
|
|
70
|
+
"disabled": {
|
|
71
|
+
"value": "#333238",
|
|
72
|
+
"$type": "color",
|
|
73
|
+
"comment": "Used to identify a disabled section.",
|
|
74
|
+
"filePath": "src/tokens/background.tokens.json",
|
|
75
|
+
"isSource": true,
|
|
76
|
+
"original": {
|
|
77
|
+
"value": {
|
|
78
|
+
"default": "{color.neutral.10}",
|
|
79
|
+
"dark": "{color.neutral.900}"
|
|
80
|
+
},
|
|
81
|
+
"$type": "color",
|
|
82
|
+
"comment": "Used to identify a disabled section."
|
|
83
|
+
},
|
|
84
|
+
"name": "BACKGROUND_COLOR_DISABLED",
|
|
85
|
+
"attributes": {},
|
|
86
|
+
"path": [
|
|
87
|
+
"background",
|
|
88
|
+
"color",
|
|
89
|
+
"disabled"
|
|
90
|
+
]
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
},
|
|
2
94
|
"color": {
|
|
3
95
|
"blue": {
|
|
4
96
|
"50": {
|
|
@@ -1,4 +1,96 @@
|
|
|
1
1
|
{
|
|
2
|
+
"background": {
|
|
3
|
+
"color": {
|
|
4
|
+
"default": {
|
|
5
|
+
"value": "#fff",
|
|
6
|
+
"$type": "color",
|
|
7
|
+
"comment": "Used for the default background color.",
|
|
8
|
+
"filePath": "src/tokens/background.tokens.json",
|
|
9
|
+
"isSource": true,
|
|
10
|
+
"original": {
|
|
11
|
+
"value": {
|
|
12
|
+
"default": "{color.neutral.0}",
|
|
13
|
+
"dark": "{color.neutral.950}"
|
|
14
|
+
},
|
|
15
|
+
"$type": "color",
|
|
16
|
+
"comment": "Used for the default background color."
|
|
17
|
+
},
|
|
18
|
+
"name": "BACKGROUND_COLOR_DEFAULT",
|
|
19
|
+
"attributes": {},
|
|
20
|
+
"path": [
|
|
21
|
+
"background",
|
|
22
|
+
"color",
|
|
23
|
+
"default"
|
|
24
|
+
]
|
|
25
|
+
},
|
|
26
|
+
"subtle": {
|
|
27
|
+
"value": "#fbfafd",
|
|
28
|
+
"$type": "color",
|
|
29
|
+
"comment": "Used to slightly differentiate the background from the default.",
|
|
30
|
+
"filePath": "src/tokens/background.tokens.json",
|
|
31
|
+
"isSource": true,
|
|
32
|
+
"original": {
|
|
33
|
+
"value": {
|
|
34
|
+
"default": "{color.neutral.10}",
|
|
35
|
+
"dark": "{color.neutral.900}"
|
|
36
|
+
},
|
|
37
|
+
"$type": "color",
|
|
38
|
+
"comment": "Used to slightly differentiate the background from the default."
|
|
39
|
+
},
|
|
40
|
+
"name": "BACKGROUND_COLOR_SUBTLE",
|
|
41
|
+
"attributes": {},
|
|
42
|
+
"path": [
|
|
43
|
+
"background",
|
|
44
|
+
"color",
|
|
45
|
+
"subtle"
|
|
46
|
+
]
|
|
47
|
+
},
|
|
48
|
+
"strong": {
|
|
49
|
+
"value": "#ececef",
|
|
50
|
+
"$type": "color",
|
|
51
|
+
"comment": "Used to make the background easily stand out from the default.",
|
|
52
|
+
"filePath": "src/tokens/background.tokens.json",
|
|
53
|
+
"isSource": true,
|
|
54
|
+
"original": {
|
|
55
|
+
"value": {
|
|
56
|
+
"default": "{color.neutral.50}",
|
|
57
|
+
"dark": "{color.neutral.800}"
|
|
58
|
+
},
|
|
59
|
+
"$type": "color",
|
|
60
|
+
"comment": "Used to make the background easily stand out from the default."
|
|
61
|
+
},
|
|
62
|
+
"name": "BACKGROUND_COLOR_STRONG",
|
|
63
|
+
"attributes": {},
|
|
64
|
+
"path": [
|
|
65
|
+
"background",
|
|
66
|
+
"color",
|
|
67
|
+
"strong"
|
|
68
|
+
]
|
|
69
|
+
},
|
|
70
|
+
"disabled": {
|
|
71
|
+
"value": "#fbfafd",
|
|
72
|
+
"$type": "color",
|
|
73
|
+
"comment": "Used to identify a disabled section.",
|
|
74
|
+
"filePath": "src/tokens/background.tokens.json",
|
|
75
|
+
"isSource": true,
|
|
76
|
+
"original": {
|
|
77
|
+
"value": {
|
|
78
|
+
"default": "{color.neutral.10}",
|
|
79
|
+
"dark": "{color.neutral.900}"
|
|
80
|
+
},
|
|
81
|
+
"$type": "color",
|
|
82
|
+
"comment": "Used to identify a disabled section."
|
|
83
|
+
},
|
|
84
|
+
"name": "BACKGROUND_COLOR_DISABLED",
|
|
85
|
+
"attributes": {},
|
|
86
|
+
"path": [
|
|
87
|
+
"background",
|
|
88
|
+
"color",
|
|
89
|
+
"disabled"
|
|
90
|
+
]
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
},
|
|
2
94
|
"color": {
|
|
3
95
|
"blue": {
|
|
4
96
|
"50": {
|
|
@@ -312,3 +312,7 @@ $gl-text-color-heading: $gl-color-neutral-0 !default; // Used for headings level
|
|
|
312
312
|
$gl-text-color-strong: $gl-color-neutral-0 !default; // Used for text with the highest contrast.
|
|
313
313
|
$gl-text-color-subtle: $gl-color-neutral-200 !default; // Used for supplemental text that doesn't need to be as prominent as other text.
|
|
314
314
|
$gl-text-color-default: $gl-color-neutral-50 !default; // Used for the default text color.
|
|
315
|
+
$gl-background-color-disabled: $gl-color-neutral-900; // Used to identify a disabled section.
|
|
316
|
+
$gl-background-color-strong: $gl-color-neutral-800; // Used to make the background easily stand out from the default.
|
|
317
|
+
$gl-background-color-subtle: $gl-color-neutral-900; // Used to slightly differentiate the background from the default.
|
|
318
|
+
$gl-background-color-default: $gl-color-neutral-950; // Used for the default background color.
|
|
@@ -312,3 +312,7 @@ $gl-text-color-heading: $gl-color-neutral-950 !default; // Used for headings lev
|
|
|
312
312
|
$gl-text-color-strong: $gl-color-neutral-950 !default; // Used for text with the highest contrast.
|
|
313
313
|
$gl-text-color-subtle: $gl-color-neutral-600 !default; // Used for supplemental text that doesn't need to be as prominent as other text.
|
|
314
314
|
$gl-text-color-default: $gl-color-neutral-800 !default; // Used for the default text color.
|
|
315
|
+
$gl-background-color-disabled: $gl-color-neutral-10; // Used to identify a disabled section.
|
|
316
|
+
$gl-background-color-strong: $gl-color-neutral-50; // Used to make the background easily stand out from the default.
|
|
317
|
+
$gl-background-color-subtle: $gl-color-neutral-10; // Used to slightly differentiate the background from the default.
|
|
318
|
+
$gl-background-color-default: $gl-color-neutral-0; // Used for the default background color.
|
|
@@ -3,6 +3,10 @@
|
|
|
3
3
|
* Do not edit directly
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
+
$gl-background-color-default: var(--gl-background-color-default);
|
|
7
|
+
$gl-background-color-subtle: var(--gl-background-color-subtle);
|
|
8
|
+
$gl-background-color-strong: var(--gl-background-color-strong);
|
|
9
|
+
$gl-background-color-disabled: var(--gl-background-color-disabled);
|
|
6
10
|
$gl-color-blue-50: var(--gl-color-blue-50);
|
|
7
11
|
$gl-color-blue-100: var(--gl-color-blue-100);
|
|
8
12
|
$gl-color-blue-200: var(--gl-color-blue-200);
|
|
@@ -214,6 +214,16 @@ const textColors = {
|
|
|
214
214
|
disabled:
|
|
215
215
|
'var(--gl-text-color-disabled, var(--gl-color-neutral-400, #89888d))',
|
|
216
216
|
};
|
|
217
|
+
const backgroundColors = {
|
|
218
|
+
default:
|
|
219
|
+
'var(--gl-background-color-default, var(--gl-color-neutral-0, #fff))',
|
|
220
|
+
subtle:
|
|
221
|
+
'var(--gl-background-color-subtle, var(--gl-color-neutral-10, #fbfafd))',
|
|
222
|
+
strong:
|
|
223
|
+
'var(--gl-background-color-strong, var(--gl-color-neutral-50, #ececef))',
|
|
224
|
+
disabled:
|
|
225
|
+
'var(--gl-background-color-disabled, var(--gl-color-neutral-10, #fbfafd))',
|
|
226
|
+
};
|
|
217
227
|
|
|
218
228
|
const colors = {
|
|
219
229
|
transparent: 'transparent',
|
|
@@ -224,6 +234,11 @@ const colors = {
|
|
|
224
234
|
...dataVizColors,
|
|
225
235
|
};
|
|
226
236
|
|
|
237
|
+
const backgroundColor = {
|
|
238
|
+
...colors,
|
|
239
|
+
...backgroundColors,
|
|
240
|
+
};
|
|
241
|
+
|
|
227
242
|
const textColor = {
|
|
228
243
|
...colors,
|
|
229
244
|
...textColors,
|
|
@@ -234,5 +249,6 @@ const textColor = {
|
|
|
234
249
|
|
|
235
250
|
module.exports = {
|
|
236
251
|
colors,
|
|
252
|
+
backgroundColor,
|
|
237
253
|
textColor,
|
|
238
254
|
};
|
package/tailwind.defaults.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const { colors, textColor } = require('./src/tokens/build/tailwind/tokens.cjs');
|
|
1
|
+
const { colors, backgroundColor, textColor } = require('./src/tokens/build/tailwind/tokens.cjs');
|
|
2
2
|
|
|
3
3
|
const gridSize = 0.5; // rem
|
|
4
4
|
const spacing = {
|
|
@@ -48,6 +48,7 @@ module.exports = {
|
|
|
48
48
|
xl: '1200px',
|
|
49
49
|
},
|
|
50
50
|
colors,
|
|
51
|
+
backgroundColor,
|
|
51
52
|
spacing,
|
|
52
53
|
fontSize: {
|
|
53
54
|
xs: '0.625rem',
|