@gitlab/ui 80.17.0 → 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 CHANGED
@@ -1,3 +1,10 @@
1
+ # [80.18.0](https://gitlab.com/gitlab-org/gitlab-ui/compare/v80.17.0...v80.18.0) (2024-06-05)
2
+
3
+
4
+ ### Features
5
+
6
+ * **DesignTokens:** add border color design tokens ([b0dda57](https://gitlab.com/gitlab-org/gitlab-ui/commit/b0dda57203ac2b7996fe294078dd62971e5779d8))
7
+
1
8
  # [80.17.0](https://gitlab.com/gitlab-org/gitlab-ui/compare/v80.16.2...v80.17.0) (2024-05-31)
2
9
 
3
10
 
@@ -7,6 +7,10 @@ const GL_BACKGROUND_COLOR_DEFAULT = '#1f1e24'; // Used for the default backgroun
7
7
  const GL_BACKGROUND_COLOR_SUBTLE = '#333238'; // Used to slightly differentiate the background from the default.
8
8
  const GL_BACKGROUND_COLOR_STRONG = '#434248'; // Used to make the background easily stand out from the default.
9
9
  const GL_BACKGROUND_COLOR_DISABLED = '#333238'; // Used to identify a disabled section.
10
+ const GL_BORDER_COLOR_DEFAULT = '#434248'; // Used for the default border color.
11
+ 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
+ const GL_BORDER_COLOR_STRONG = '#89888d'; // Used for a distinct border that emphasizes an edge or boundaries.
13
+ const GL_BORDER_COLOR_TRANSPARENT = 'transparent'; // Used when a border needs to be present, but not visibly perceived.
10
14
  const GL_COLOR_ALPHA_0 = 'transparent';
11
15
  const GL_COLOR_ALPHA_DARK_2 = 'rgba(31, 30, 36, 0.02)';
12
16
  const GL_COLOR_ALPHA_DARK_4 = 'rgba(31, 30, 36, 0.04)';
@@ -341,4 +345,4 @@ const GL_TEXT_COLOR_DANGER = '#f57f6c'; // Used for text indicating a problem, c
341
345
  const GL_TEXT_COLOR_SUCCESS = '#52b87a'; // Used for text indicating success or validity.
342
346
  const GL_TEXT_COLOR_DISABLED = '#89888d'; // Used for disabled text.
343
347
 
344
- 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_ALPHA_0, GL_COLOR_ALPHA_DARK_16, GL_COLOR_ALPHA_DARK_2, GL_COLOR_ALPHA_DARK_24, GL_COLOR_ALPHA_DARK_4, GL_COLOR_ALPHA_DARK_6, GL_COLOR_ALPHA_DARK_8, GL_COLOR_ALPHA_LIGHT_16, GL_COLOR_ALPHA_LIGHT_2, GL_COLOR_ALPHA_LIGHT_24, GL_COLOR_ALPHA_LIGHT_36, GL_COLOR_ALPHA_LIGHT_4, GL_COLOR_ALPHA_LIGHT_6, GL_COLOR_ALPHA_LIGHT_8, 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_ICON_COLOR_DANGER, GL_ICON_COLOR_DEFAULT, GL_ICON_COLOR_DISABLED, GL_ICON_COLOR_INFO, GL_ICON_COLOR_LINK, GL_ICON_COLOR_STRONG, GL_ICON_COLOR_SUBTLE, GL_ICON_COLOR_SUCCESS, GL_ICON_COLOR_WARNING, 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 };
348
+ 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_BORDER_COLOR_DEFAULT, GL_BORDER_COLOR_STRONG, GL_BORDER_COLOR_SUBTLE, GL_BORDER_COLOR_TRANSPARENT, GL_COLOR_ALPHA_0, GL_COLOR_ALPHA_DARK_16, GL_COLOR_ALPHA_DARK_2, GL_COLOR_ALPHA_DARK_24, GL_COLOR_ALPHA_DARK_4, GL_COLOR_ALPHA_DARK_6, GL_COLOR_ALPHA_DARK_8, GL_COLOR_ALPHA_LIGHT_16, GL_COLOR_ALPHA_LIGHT_2, GL_COLOR_ALPHA_LIGHT_24, GL_COLOR_ALPHA_LIGHT_36, GL_COLOR_ALPHA_LIGHT_4, GL_COLOR_ALPHA_LIGHT_6, GL_COLOR_ALPHA_LIGHT_8, 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_ICON_COLOR_DANGER, GL_ICON_COLOR_DEFAULT, GL_ICON_COLOR_DISABLED, GL_ICON_COLOR_INFO, GL_ICON_COLOR_LINK, GL_ICON_COLOR_STRONG, GL_ICON_COLOR_SUBTLE, GL_ICON_COLOR_SUCCESS, GL_ICON_COLOR_WARNING, 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 };
@@ -7,6 +7,10 @@ const GL_BACKGROUND_COLOR_DEFAULT = '#fff'; // Used for the default background c
7
7
  const GL_BACKGROUND_COLOR_SUBTLE = '#fbfafd'; // Used to slightly differentiate the background from the default.
8
8
  const GL_BACKGROUND_COLOR_STRONG = '#ececef'; // Used to make the background easily stand out from the default.
9
9
  const GL_BACKGROUND_COLOR_DISABLED = '#fbfafd'; // Used to identify a disabled section.
10
+ const GL_BORDER_COLOR_DEFAULT = '#dcdcde'; // Used for the default border color.
11
+ 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
+ const GL_BORDER_COLOR_STRONG = '#89888d'; // Used for a distinct border that emphasizes an edge or boundaries.
13
+ const GL_BORDER_COLOR_TRANSPARENT = 'transparent'; // Used when a border needs to be present, but not visibly perceived.
10
14
  const GL_COLOR_ALPHA_0 = 'transparent';
11
15
  const GL_COLOR_ALPHA_DARK_2 = 'rgba(31, 30, 36, 0.02)';
12
16
  const GL_COLOR_ALPHA_DARK_4 = 'rgba(31, 30, 36, 0.04)';
@@ -341,4 +345,4 @@ const GL_TEXT_COLOR_DANGER = '#c91c00'; // Used for text indicating a problem, c
341
345
  const GL_TEXT_COLOR_SUCCESS = '#217645'; // Used for text indicating success or validity.
342
346
  const GL_TEXT_COLOR_DISABLED = '#89888d'; // Used for disabled text.
343
347
 
344
- 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_ALPHA_0, GL_COLOR_ALPHA_DARK_16, GL_COLOR_ALPHA_DARK_2, GL_COLOR_ALPHA_DARK_24, GL_COLOR_ALPHA_DARK_4, GL_COLOR_ALPHA_DARK_6, GL_COLOR_ALPHA_DARK_8, GL_COLOR_ALPHA_LIGHT_16, GL_COLOR_ALPHA_LIGHT_2, GL_COLOR_ALPHA_LIGHT_24, GL_COLOR_ALPHA_LIGHT_36, GL_COLOR_ALPHA_LIGHT_4, GL_COLOR_ALPHA_LIGHT_6, GL_COLOR_ALPHA_LIGHT_8, 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_ICON_COLOR_DANGER, GL_ICON_COLOR_DEFAULT, GL_ICON_COLOR_DISABLED, GL_ICON_COLOR_INFO, GL_ICON_COLOR_LINK, GL_ICON_COLOR_STRONG, GL_ICON_COLOR_SUBTLE, GL_ICON_COLOR_SUCCESS, GL_ICON_COLOR_WARNING, 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 };
348
+ 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_BORDER_COLOR_DEFAULT, GL_BORDER_COLOR_STRONG, GL_BORDER_COLOR_SUBTLE, GL_BORDER_COLOR_TRANSPARENT, GL_COLOR_ALPHA_0, GL_COLOR_ALPHA_DARK_16, GL_COLOR_ALPHA_DARK_2, GL_COLOR_ALPHA_DARK_24, GL_COLOR_ALPHA_DARK_4, GL_COLOR_ALPHA_DARK_6, GL_COLOR_ALPHA_DARK_8, GL_COLOR_ALPHA_LIGHT_16, GL_COLOR_ALPHA_LIGHT_2, GL_COLOR_ALPHA_LIGHT_24, GL_COLOR_ALPHA_LIGHT_36, GL_COLOR_ALPHA_LIGHT_4, GL_COLOR_ALPHA_LIGHT_6, GL_COLOR_ALPHA_LIGHT_8, 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_ICON_COLOR_DANGER, GL_ICON_COLOR_DEFAULT, GL_ICON_COLOR_DISABLED, GL_ICON_COLOR_INFO, GL_ICON_COLOR_LINK, GL_ICON_COLOR_STRONG, GL_ICON_COLOR_SUBTLE, GL_ICON_COLOR_SUCCESS, GL_ICON_COLOR_WARNING, 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 };
@@ -337,6 +337,10 @@
337
337
  --gl-icon-color-strong: var(--gl-color-neutral-900); /* Used for an icon with the highest contrast. */
338
338
  --gl-icon-color-subtle: var(--gl-color-neutral-500); /* Used for a static or decorational icon. Can be paired with subtle text. */
339
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. */
340
344
  --gl-background-color-disabled: var(--gl-color-neutral-10); /* Used to identify a disabled section. */
341
345
  --gl-background-color-strong: var(--gl-color-neutral-50); /* Used to make the background easily stand out from the default. */
342
346
  --gl-background-color-subtle: var(--gl-color-neutral-10); /* Used to slightly differentiate the background from the default. */
@@ -337,6 +337,10 @@
337
337
  --gl-icon-color-strong: var(--gl-color-neutral-10); /* Used for an icon with the highest contrast. */
338
338
  --gl-icon-color-subtle: var(--gl-color-neutral-300); /* Used for a static or decorational icon. Can be paired with subtle text. */
339
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. */
340
344
  --gl-background-color-disabled: var(--gl-color-neutral-900); /* Used to identify a disabled section. */
341
345
  --gl-background-color-strong: var(--gl-color-neutral-800); /* Used to make the background easily stand out from the default. */
342
346
  --gl-background-color-subtle: var(--gl-color-neutral-900); /* Used to slightly differentiate the background from the default. */
@@ -7,6 +7,10 @@ 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.
10
14
  export const GL_COLOR_ALPHA_0 = 'transparent';
11
15
  export const GL_COLOR_ALPHA_DARK_2 = 'rgba(31, 30, 36, 0.02)';
12
16
  export const GL_COLOR_ALPHA_DARK_4 = 'rgba(31, 30, 36, 0.04)';
@@ -7,6 +7,10 @@ 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.
10
14
  export const GL_COLOR_ALPHA_0 = 'transparent';
11
15
  export const GL_COLOR_ALPHA_DARK_2 = 'rgba(31, 30, 36, 0.02)';
12
16
  export const GL_COLOR_ALPHA_DARK_4 = 'rgba(31, 30, 36, 0.04)';
@@ -91,6 +91,95 @@
91
91
  }
92
92
  }
93
93
  },
94
+ "border": {
95
+ "color": {
96
+ "default": {
97
+ "value": "#434248",
98
+ "$type": "color",
99
+ "comment": "Used for the default border color.",
100
+ "filePath": "src/tokens/border.tokens.json",
101
+ "isSource": true,
102
+ "original": {
103
+ "value": {
104
+ "default": "{color.neutral.100}",
105
+ "dark": "{color.neutral.800}"
106
+ },
107
+ "$type": "color",
108
+ "comment": "Used for the default border color."
109
+ },
110
+ "name": "BORDER_COLOR_DEFAULT",
111
+ "attributes": {},
112
+ "path": [
113
+ "border",
114
+ "color",
115
+ "default"
116
+ ]
117
+ },
118
+ "subtle": {
119
+ "value": "#333238",
120
+ "$type": "color",
121
+ "comment": "Used for a border that has a little more definition, or is used in combination with a subtle background.",
122
+ "filePath": "src/tokens/border.tokens.json",
123
+ "isSource": true,
124
+ "original": {
125
+ "value": {
126
+ "default": "{color.neutral.50}",
127
+ "dark": "{color.neutral.900}"
128
+ },
129
+ "$type": "color",
130
+ "comment": "Used for a border that has a little more definition, or is used in combination with a subtle background."
131
+ },
132
+ "name": "BORDER_COLOR_SUBTLE",
133
+ "attributes": {},
134
+ "path": [
135
+ "border",
136
+ "color",
137
+ "subtle"
138
+ ]
139
+ },
140
+ "strong": {
141
+ "value": "#89888d",
142
+ "$type": "color",
143
+ "comment": "Used for a distinct border that emphasizes an edge or boundaries.",
144
+ "filePath": "src/tokens/border.tokens.json",
145
+ "isSource": true,
146
+ "original": {
147
+ "value": {
148
+ "default": "{color.neutral.400}",
149
+ "dark": "{color.neutral.400}"
150
+ },
151
+ "$type": "color",
152
+ "comment": "Used for a distinct border that emphasizes an edge or boundaries."
153
+ },
154
+ "name": "BORDER_COLOR_STRONG",
155
+ "attributes": {},
156
+ "path": [
157
+ "border",
158
+ "color",
159
+ "strong"
160
+ ]
161
+ },
162
+ "transparent": {
163
+ "value": "transparent",
164
+ "$type": "color",
165
+ "comment": "Used when a border needs to be present, but not visibly perceived.",
166
+ "filePath": "src/tokens/border.tokens.json",
167
+ "isSource": true,
168
+ "original": {
169
+ "value": "{color.alpha.0}",
170
+ "$type": "color",
171
+ "comment": "Used when a border needs to be present, but not visibly perceived."
172
+ },
173
+ "name": "BORDER_COLOR_TRANSPARENT",
174
+ "attributes": {},
175
+ "path": [
176
+ "border",
177
+ "color",
178
+ "transparent"
179
+ ]
180
+ }
181
+ }
182
+ },
94
183
  "color": {
95
184
  "alpha": {
96
185
  "0": {
@@ -91,6 +91,95 @@
91
91
  }
92
92
  }
93
93
  },
94
+ "border": {
95
+ "color": {
96
+ "default": {
97
+ "value": "#dcdcde",
98
+ "$type": "color",
99
+ "comment": "Used for the default border color.",
100
+ "filePath": "src/tokens/border.tokens.json",
101
+ "isSource": true,
102
+ "original": {
103
+ "value": {
104
+ "default": "{color.neutral.100}",
105
+ "dark": "{color.neutral.800}"
106
+ },
107
+ "$type": "color",
108
+ "comment": "Used for the default border color."
109
+ },
110
+ "name": "BORDER_COLOR_DEFAULT",
111
+ "attributes": {},
112
+ "path": [
113
+ "border",
114
+ "color",
115
+ "default"
116
+ ]
117
+ },
118
+ "subtle": {
119
+ "value": "#ececef",
120
+ "$type": "color",
121
+ "comment": "Used for a border that has a little more definition, or is used in combination with a subtle background.",
122
+ "filePath": "src/tokens/border.tokens.json",
123
+ "isSource": true,
124
+ "original": {
125
+ "value": {
126
+ "default": "{color.neutral.50}",
127
+ "dark": "{color.neutral.900}"
128
+ },
129
+ "$type": "color",
130
+ "comment": "Used for a border that has a little more definition, or is used in combination with a subtle background."
131
+ },
132
+ "name": "BORDER_COLOR_SUBTLE",
133
+ "attributes": {},
134
+ "path": [
135
+ "border",
136
+ "color",
137
+ "subtle"
138
+ ]
139
+ },
140
+ "strong": {
141
+ "value": "#89888d",
142
+ "$type": "color",
143
+ "comment": "Used for a distinct border that emphasizes an edge or boundaries.",
144
+ "filePath": "src/tokens/border.tokens.json",
145
+ "isSource": true,
146
+ "original": {
147
+ "value": {
148
+ "default": "{color.neutral.400}",
149
+ "dark": "{color.neutral.400}"
150
+ },
151
+ "$type": "color",
152
+ "comment": "Used for a distinct border that emphasizes an edge or boundaries."
153
+ },
154
+ "name": "BORDER_COLOR_STRONG",
155
+ "attributes": {},
156
+ "path": [
157
+ "border",
158
+ "color",
159
+ "strong"
160
+ ]
161
+ },
162
+ "transparent": {
163
+ "value": "transparent",
164
+ "$type": "color",
165
+ "comment": "Used when a border needs to be present, but not visibly perceived.",
166
+ "filePath": "src/tokens/border.tokens.json",
167
+ "isSource": true,
168
+ "original": {
169
+ "value": "{color.alpha.0}",
170
+ "$type": "color",
171
+ "comment": "Used when a border needs to be present, but not visibly perceived."
172
+ },
173
+ "name": "BORDER_COLOR_TRANSPARENT",
174
+ "attributes": {},
175
+ "path": [
176
+ "border",
177
+ "color",
178
+ "transparent"
179
+ ]
180
+ }
181
+ }
182
+ },
94
183
  "color": {
95
184
  "alpha": {
96
185
  "0": {
@@ -335,6 +335,10 @@ $gl-icon-color-disabled: $gl-color-neutral-500; // Used for an icon within a dis
335
335
  $gl-icon-color-strong: $gl-color-neutral-10; // Used for an icon with the highest contrast.
336
336
  $gl-icon-color-subtle: $gl-color-neutral-300; // Used for a static or decorational icon. Can be paired with subtle text.
337
337
  $gl-icon-color-default: $gl-color-neutral-100; // Used for the default icon color. Can be paired with default text.
338
+ $gl-border-color-transparent: $gl-color-alpha-0; // Used when a border needs to be present, but not visibly perceived.
339
+ $gl-border-color-strong: $gl-color-neutral-400; // Used for a distinct border that emphasizes an edge or boundaries.
340
+ $gl-border-color-subtle: $gl-color-neutral-900; // Used for a border that has a little more definition, or is used in combination with a subtle background.
341
+ $gl-border-color-default: $gl-color-neutral-800; // Used for the default border color.
338
342
  $gl-background-color-disabled: $gl-color-neutral-900; // Used to identify a disabled section.
339
343
  $gl-background-color-strong: $gl-color-neutral-800; // Used to make the background easily stand out from the default.
340
344
  $gl-background-color-subtle: $gl-color-neutral-900; // Used to slightly differentiate the background from the default.
@@ -335,6 +335,10 @@ $gl-icon-color-disabled: $gl-color-neutral-300; // Used for an icon within a dis
335
335
  $gl-icon-color-strong: $gl-color-neutral-900; // Used for an icon with the highest contrast.
336
336
  $gl-icon-color-subtle: $gl-color-neutral-500; // Used for a static or decorational icon. Can be paired with subtle text.
337
337
  $gl-icon-color-default: $gl-color-neutral-700; // Used for the default icon color. Can be paired with default text.
338
+ $gl-border-color-transparent: $gl-color-alpha-0; // Used when a border needs to be present, but not visibly perceived.
339
+ $gl-border-color-strong: $gl-color-neutral-400; // Used for a distinct border that emphasizes an edge or boundaries.
340
+ $gl-border-color-subtle: $gl-color-neutral-50; // Used for a border that has a little more definition, or is used in combination with a subtle background.
341
+ $gl-border-color-default: $gl-color-neutral-100; // Used for the default border color.
338
342
  $gl-background-color-disabled: $gl-color-neutral-10; // Used to identify a disabled section.
339
343
  $gl-background-color-strong: $gl-color-neutral-50; // Used to make the background easily stand out from the default.
340
344
  $gl-background-color-subtle: $gl-color-neutral-10; // Used to slightly differentiate the background from the default.
@@ -7,6 +7,10 @@ $gl-background-color-default: var(--gl-background-color-default);
7
7
  $gl-background-color-subtle: var(--gl-background-color-subtle);
8
8
  $gl-background-color-strong: var(--gl-background-color-strong);
9
9
  $gl-background-color-disabled: var(--gl-background-color-disabled);
10
+ $gl-border-color-default: var(--gl-border-color-default);
11
+ $gl-border-color-subtle: var(--gl-border-color-subtle);
12
+ $gl-border-color-strong: var(--gl-border-color-strong);
13
+ $gl-border-color-transparent: var(--gl-border-color-transparent);
10
14
  $gl-color-alpha-0: var(--gl-color-alpha-0);
11
15
  $gl-color-alpha-dark-2: var(--gl-color-alpha-dark-2);
12
16
  $gl-color-alpha-dark-4: var(--gl-color-alpha-dark-4);
@@ -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))',
@@ -274,6 +282,11 @@ const backgroundColor = {
274
282
  ...backgroundColors,
275
283
  };
276
284
 
285
+ const borderColor = {
286
+ ...colors,
287
+ ...borderColors,
288
+ };
289
+
277
290
  const fill = {
278
291
  ...colors,
279
292
  icon: {
@@ -292,6 +305,7 @@ const textColor = {
292
305
  module.exports = {
293
306
  colors,
294
307
  backgroundColor,
308
+ borderColor,
295
309
  textColor,
296
310
  fill,
297
311
  };
@@ -22,14 +22,14 @@ var script = {
22
22
  }
23
23
  },
24
24
  methods: {
25
- isAlpha(value) {
26
- return value.startsWith('rgba(');
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.isAlpha(value)) return '';
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(" "),(!_vm.isAlpha(token.value))?_c('gl-color-contrast',{attrs:{"foreground":token.value,"background":_vm.darkBackground}}):_vm._e(),_vm._v(" "),(!_vm.isAlpha(token.value))?_c('gl-color-contrast',{attrs:{"foreground":token.value,"background":_vm.lightBackground}}):_vm._e()],1)])}),0)])};
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.17.0",
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.99.0",
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.1",
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.2.0",
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
+ }
@@ -337,6 +337,10 @@
337
337
  --gl-icon-color-strong: var(--gl-color-neutral-900); /* Used for an icon with the highest contrast. */
338
338
  --gl-icon-color-subtle: var(--gl-color-neutral-500); /* Used for a static or decorational icon. Can be paired with subtle text. */
339
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. */
340
344
  --gl-background-color-disabled: var(--gl-color-neutral-10); /* Used to identify a disabled section. */
341
345
  --gl-background-color-strong: var(--gl-color-neutral-50); /* Used to make the background easily stand out from the default. */
342
346
  --gl-background-color-subtle: var(--gl-color-neutral-10); /* Used to slightly differentiate the background from the default. */
@@ -337,6 +337,10 @@
337
337
  --gl-icon-color-strong: var(--gl-color-neutral-10); /* Used for an icon with the highest contrast. */
338
338
  --gl-icon-color-subtle: var(--gl-color-neutral-300); /* Used for a static or decorational icon. Can be paired with subtle text. */
339
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. */
340
344
  --gl-background-color-disabled: var(--gl-color-neutral-900); /* Used to identify a disabled section. */
341
345
  --gl-background-color-strong: var(--gl-color-neutral-800); /* Used to make the background easily stand out from the default. */
342
346
  --gl-background-color-subtle: var(--gl-color-neutral-900); /* Used to slightly differentiate the background from the default. */
@@ -7,6 +7,10 @@ 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.
10
14
  export const GL_COLOR_ALPHA_0 = 'transparent';
11
15
  export const GL_COLOR_ALPHA_DARK_2 = 'rgba(31, 30, 36, 0.02)';
12
16
  export const GL_COLOR_ALPHA_DARK_4 = 'rgba(31, 30, 36, 0.04)';
@@ -7,6 +7,10 @@ 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.
10
14
  export const GL_COLOR_ALPHA_0 = 'transparent';
11
15
  export const GL_COLOR_ALPHA_DARK_2 = 'rgba(31, 30, 36, 0.02)';
12
16
  export const GL_COLOR_ALPHA_DARK_4 = 'rgba(31, 30, 36, 0.04)';
@@ -91,6 +91,95 @@
91
91
  }
92
92
  }
93
93
  },
94
+ "border": {
95
+ "color": {
96
+ "default": {
97
+ "value": "#434248",
98
+ "$type": "color",
99
+ "comment": "Used for the default border color.",
100
+ "filePath": "src/tokens/border.tokens.json",
101
+ "isSource": true,
102
+ "original": {
103
+ "value": {
104
+ "default": "{color.neutral.100}",
105
+ "dark": "{color.neutral.800}"
106
+ },
107
+ "$type": "color",
108
+ "comment": "Used for the default border color."
109
+ },
110
+ "name": "BORDER_COLOR_DEFAULT",
111
+ "attributes": {},
112
+ "path": [
113
+ "border",
114
+ "color",
115
+ "default"
116
+ ]
117
+ },
118
+ "subtle": {
119
+ "value": "#333238",
120
+ "$type": "color",
121
+ "comment": "Used for a border that has a little more definition, or is used in combination with a subtle background.",
122
+ "filePath": "src/tokens/border.tokens.json",
123
+ "isSource": true,
124
+ "original": {
125
+ "value": {
126
+ "default": "{color.neutral.50}",
127
+ "dark": "{color.neutral.900}"
128
+ },
129
+ "$type": "color",
130
+ "comment": "Used for a border that has a little more definition, or is used in combination with a subtle background."
131
+ },
132
+ "name": "BORDER_COLOR_SUBTLE",
133
+ "attributes": {},
134
+ "path": [
135
+ "border",
136
+ "color",
137
+ "subtle"
138
+ ]
139
+ },
140
+ "strong": {
141
+ "value": "#89888d",
142
+ "$type": "color",
143
+ "comment": "Used for a distinct border that emphasizes an edge or boundaries.",
144
+ "filePath": "src/tokens/border.tokens.json",
145
+ "isSource": true,
146
+ "original": {
147
+ "value": {
148
+ "default": "{color.neutral.400}",
149
+ "dark": "{color.neutral.400}"
150
+ },
151
+ "$type": "color",
152
+ "comment": "Used for a distinct border that emphasizes an edge or boundaries."
153
+ },
154
+ "name": "BORDER_COLOR_STRONG",
155
+ "attributes": {},
156
+ "path": [
157
+ "border",
158
+ "color",
159
+ "strong"
160
+ ]
161
+ },
162
+ "transparent": {
163
+ "value": "transparent",
164
+ "$type": "color",
165
+ "comment": "Used when a border needs to be present, but not visibly perceived.",
166
+ "filePath": "src/tokens/border.tokens.json",
167
+ "isSource": true,
168
+ "original": {
169
+ "value": "{color.alpha.0}",
170
+ "$type": "color",
171
+ "comment": "Used when a border needs to be present, but not visibly perceived."
172
+ },
173
+ "name": "BORDER_COLOR_TRANSPARENT",
174
+ "attributes": {},
175
+ "path": [
176
+ "border",
177
+ "color",
178
+ "transparent"
179
+ ]
180
+ }
181
+ }
182
+ },
94
183
  "color": {
95
184
  "alpha": {
96
185
  "0": {
@@ -91,6 +91,95 @@
91
91
  }
92
92
  }
93
93
  },
94
+ "border": {
95
+ "color": {
96
+ "default": {
97
+ "value": "#dcdcde",
98
+ "$type": "color",
99
+ "comment": "Used for the default border color.",
100
+ "filePath": "src/tokens/border.tokens.json",
101
+ "isSource": true,
102
+ "original": {
103
+ "value": {
104
+ "default": "{color.neutral.100}",
105
+ "dark": "{color.neutral.800}"
106
+ },
107
+ "$type": "color",
108
+ "comment": "Used for the default border color."
109
+ },
110
+ "name": "BORDER_COLOR_DEFAULT",
111
+ "attributes": {},
112
+ "path": [
113
+ "border",
114
+ "color",
115
+ "default"
116
+ ]
117
+ },
118
+ "subtle": {
119
+ "value": "#ececef",
120
+ "$type": "color",
121
+ "comment": "Used for a border that has a little more definition, or is used in combination with a subtle background.",
122
+ "filePath": "src/tokens/border.tokens.json",
123
+ "isSource": true,
124
+ "original": {
125
+ "value": {
126
+ "default": "{color.neutral.50}",
127
+ "dark": "{color.neutral.900}"
128
+ },
129
+ "$type": "color",
130
+ "comment": "Used for a border that has a little more definition, or is used in combination with a subtle background."
131
+ },
132
+ "name": "BORDER_COLOR_SUBTLE",
133
+ "attributes": {},
134
+ "path": [
135
+ "border",
136
+ "color",
137
+ "subtle"
138
+ ]
139
+ },
140
+ "strong": {
141
+ "value": "#89888d",
142
+ "$type": "color",
143
+ "comment": "Used for a distinct border that emphasizes an edge or boundaries.",
144
+ "filePath": "src/tokens/border.tokens.json",
145
+ "isSource": true,
146
+ "original": {
147
+ "value": {
148
+ "default": "{color.neutral.400}",
149
+ "dark": "{color.neutral.400}"
150
+ },
151
+ "$type": "color",
152
+ "comment": "Used for a distinct border that emphasizes an edge or boundaries."
153
+ },
154
+ "name": "BORDER_COLOR_STRONG",
155
+ "attributes": {},
156
+ "path": [
157
+ "border",
158
+ "color",
159
+ "strong"
160
+ ]
161
+ },
162
+ "transparent": {
163
+ "value": "transparent",
164
+ "$type": "color",
165
+ "comment": "Used when a border needs to be present, but not visibly perceived.",
166
+ "filePath": "src/tokens/border.tokens.json",
167
+ "isSource": true,
168
+ "original": {
169
+ "value": "{color.alpha.0}",
170
+ "$type": "color",
171
+ "comment": "Used when a border needs to be present, but not visibly perceived."
172
+ },
173
+ "name": "BORDER_COLOR_TRANSPARENT",
174
+ "attributes": {},
175
+ "path": [
176
+ "border",
177
+ "color",
178
+ "transparent"
179
+ ]
180
+ }
181
+ }
182
+ },
94
183
  "color": {
95
184
  "alpha": {
96
185
  "0": {
@@ -335,6 +335,10 @@ $gl-icon-color-disabled: $gl-color-neutral-500; // Used for an icon within a dis
335
335
  $gl-icon-color-strong: $gl-color-neutral-10; // Used for an icon with the highest contrast.
336
336
  $gl-icon-color-subtle: $gl-color-neutral-300; // Used for a static or decorational icon. Can be paired with subtle text.
337
337
  $gl-icon-color-default: $gl-color-neutral-100; // Used for the default icon color. Can be paired with default text.
338
+ $gl-border-color-transparent: $gl-color-alpha-0; // Used when a border needs to be present, but not visibly perceived.
339
+ $gl-border-color-strong: $gl-color-neutral-400; // Used for a distinct border that emphasizes an edge or boundaries.
340
+ $gl-border-color-subtle: $gl-color-neutral-900; // Used for a border that has a little more definition, or is used in combination with a subtle background.
341
+ $gl-border-color-default: $gl-color-neutral-800; // Used for the default border color.
338
342
  $gl-background-color-disabled: $gl-color-neutral-900; // Used to identify a disabled section.
339
343
  $gl-background-color-strong: $gl-color-neutral-800; // Used to make the background easily stand out from the default.
340
344
  $gl-background-color-subtle: $gl-color-neutral-900; // Used to slightly differentiate the background from the default.
@@ -335,6 +335,10 @@ $gl-icon-color-disabled: $gl-color-neutral-300; // Used for an icon within a dis
335
335
  $gl-icon-color-strong: $gl-color-neutral-900; // Used for an icon with the highest contrast.
336
336
  $gl-icon-color-subtle: $gl-color-neutral-500; // Used for a static or decorational icon. Can be paired with subtle text.
337
337
  $gl-icon-color-default: $gl-color-neutral-700; // Used for the default icon color. Can be paired with default text.
338
+ $gl-border-color-transparent: $gl-color-alpha-0; // Used when a border needs to be present, but not visibly perceived.
339
+ $gl-border-color-strong: $gl-color-neutral-400; // Used for a distinct border that emphasizes an edge or boundaries.
340
+ $gl-border-color-subtle: $gl-color-neutral-50; // Used for a border that has a little more definition, or is used in combination with a subtle background.
341
+ $gl-border-color-default: $gl-color-neutral-100; // Used for the default border color.
338
342
  $gl-background-color-disabled: $gl-color-neutral-10; // Used to identify a disabled section.
339
343
  $gl-background-color-strong: $gl-color-neutral-50; // Used to make the background easily stand out from the default.
340
344
  $gl-background-color-subtle: $gl-color-neutral-10; // Used to slightly differentiate the background from the default.
@@ -7,6 +7,10 @@ $gl-background-color-default: var(--gl-background-color-default);
7
7
  $gl-background-color-subtle: var(--gl-background-color-subtle);
8
8
  $gl-background-color-strong: var(--gl-background-color-strong);
9
9
  $gl-background-color-disabled: var(--gl-background-color-disabled);
10
+ $gl-border-color-default: var(--gl-border-color-default);
11
+ $gl-border-color-subtle: var(--gl-border-color-subtle);
12
+ $gl-border-color-strong: var(--gl-border-color-strong);
13
+ $gl-border-color-transparent: var(--gl-border-color-transparent);
10
14
  $gl-color-alpha-0: var(--gl-color-alpha-0);
11
15
  $gl-color-alpha-dark-2: var(--gl-color-alpha-dark-2);
12
16
  $gl-color-alpha-dark-4: var(--gl-color-alpha-dark-4);
@@ -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))',
@@ -274,6 +282,11 @@ const backgroundColor = {
274
282
  ...backgroundColors,
275
283
  };
276
284
 
285
+ const borderColor = {
286
+ ...colors,
287
+ ...borderColors,
288
+ };
289
+
277
290
  const fill = {
278
291
  ...colors,
279
292
  icon: {
@@ -292,6 +305,7 @@ const textColor = {
292
305
  module.exports = {
293
306
  colors,
294
307
  backgroundColor,
308
+ borderColor,
295
309
  textColor,
296
310
  fill,
297
311
  };
@@ -22,14 +22,14 @@ export default {
22
22
  },
23
23
  },
24
24
  methods: {
25
- isAlpha(value) {
26
- return value.startsWith('rgba(');
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.isAlpha(value)) return '';
32
+ if (!this.isHex(value)) return '';
33
33
  if (!this.isBackgroundColorStory) return '';
34
34
 
35
35
  const textColorVariant = colorFromBackground(value, 4.5);
@@ -68,12 +68,12 @@ export default {
68
68
  </gl-badge>
69
69
  <code class="gl-reset-color">{{ token.value }}</code>
70
70
  <gl-color-contrast
71
- v-if="!isAlpha(token.value)"
71
+ v-if="isHex(token.value)"
72
72
  :foreground="token.value"
73
73
  :background="darkBackground"
74
74
  />
75
75
  <gl-color-contrast
76
- v-if="!isAlpha(token.value)"
76
+ v-if="isHex(token.value)"
77
77
  :foreground="token.value"
78
78
  :background="lightBackground"
79
79
  />
@@ -1,6 +1,7 @@
1
1
  const {
2
2
  colors,
3
3
  backgroundColor,
4
+ borderColor,
4
5
  fill,
5
6
  textColor,
6
7
  } = require('./src/tokens/build/tailwind/tokens.cjs');
@@ -54,6 +55,7 @@ module.exports = {
54
55
  },
55
56
  colors,
56
57
  backgroundColor,
58
+ borderColor,
57
59
  fill,
58
60
  spacing,
59
61
  fontSize: {
package/translations.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "ClearIconButton.title": "Clear",
3
- "GlSorting.sortAscending": "Sort direction: ascending",
4
- "GlSorting.sortDescending": "Sort direction: descending",
5
- "GlSearchBoxByType.clearButtonTitle": "Clear",
6
- "GlSearchBoxByType.input.placeholder": "Search",
7
- "GlKeysetPagination.prevText": "Previous",
3
+ "GlBreadcrumb.showMoreLabel": "Show more breadcrumbs",
4
+ "GlCollapsibleListbox.srOnlyResultsLabel": "Results count",
8
5
  "GlKeysetPagination.navigationLabel": "Pagination",
9
6
  "GlKeysetPagination.nextText": "Next",
10
- "GlBreadcrumb.showMoreLabel": "Show more breadcrumbs",
11
- "GlCollapsibleListbox.srOnlyResultsLabel": "Results count"
7
+ "GlKeysetPagination.prevText": "Previous",
8
+ "GlSearchBoxByType.clearButtonTitle": "Clear",
9
+ "GlSearchBoxByType.input.placeholder": "Search",
10
+ "GlSorting.sortAscending": "Sort direction: ascending",
11
+ "GlSorting.sortDescending": "Sort direction: descending"
12
12
  }