Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/button-group/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
}

.divider {
background-color: awsui.$color-border-divider-default;
background-color: awsui.$color-border-button-group-divider;
inline-size: awsui.$border-divider-section-width;
margin-block: awsui.$space-static-xs;
}
1 change: 1 addition & 0 deletions style-dictionary/classic/colors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ const tokens: StyleDictionary.ColorsDictionary = {
colorIconActionCardHover: { light: '{colorPrimary900}', dark: '{colorPrimary300}' },
colorIconActionCardActive: { light: '{colorPrimary900}', dark: '{colorPrimary300}' },
colorIconActionCardDisabled: { light: '{colorNeutral400}', dark: '{colorNeutral600}' },
colorBorderButtonGroupDivider: '{colorBorderDividerDefault}',
};

const expandedTokens: StyleDictionary.ExpandedColorScopeDictionary = merge(
Expand Down
4 changes: 3 additions & 1 deletion style-dictionary/utils/token-names.ts
Original file line number Diff line number Diff line change
Expand Up @@ -655,6 +655,7 @@ export type ColorsTokenName =
| 'colorBorderControlDefault'
| 'colorBorderControlDisabled'
| 'colorBorderDividerActive'
| 'colorBorderButtonGroupDivider'
| 'colorBorderDividerDefault'
| 'colorBorderDividerSecondary'
| 'colorBorderDividerPanelBottom'
Expand Down Expand Up @@ -838,7 +839,8 @@ export type ColorsTokenName =
| 'colorIconActionCardDefault'
| 'colorIconActionCardHover'
| 'colorIconActionCardActive'
| 'colorIconActionCardDisabled';
| 'colorIconActionCardDisabled'
| 'colorBorderButtonGroupDivider';
export type TypographyTokenName =
| 'fontBoxValueLargeWeight'
| 'fontButtonLetterSpacing'
Expand Down
1 change: 1 addition & 0 deletions style-dictionary/visual-refresh/colors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,7 @@ const tokens: StyleDictionary.ColorsDictionary = {
colorIconActionCardDisabled: { light: '{colorNeutral400}', dark: '{colorNeutral600}' },
colorBackgroundSkeleton: { light: '{colorNeutral250}', dark: '{colorNeutral750}' },
colorBackgroundSkeletonWave: { light: '{colorNeutral150}', dark: '{colorNeutral700}' },
colorBorderButtonGroupDivider: '{colorBorderDividerDefault}',
};

const expandedTokens: StyleDictionary.ExpandedColorScopeDictionary = expandColorDictionary(tokens);
Expand Down
5 changes: 5 additions & 0 deletions style-dictionary/visual-refresh/metadata/colors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1109,6 +1109,11 @@ const metadata: StyleDictionary.MetadataIndex = {
public: false,
themeable: true,
},
colorBorderButtonGroupDivider: {
description: 'The border color of the button group divider.',
public: true,
themeable: true,
},
};

export default metadata;
Loading