Skip to content

Commit

Permalink
Remove black and white options until we need them
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentSmedinga committed Jan 24, 2024
1 parent 3bbefdd commit 9fe3750
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 21 deletions.
10 changes: 0 additions & 10 deletions packages/css/src/components/badge/badge.scss
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,6 @@
}
}

.amsterdam-badge--black {
background-color: var(--amsterdam-badge-black-background-color);
color: var(--amsterdam-badge-black-color);
}

.amsterdam-badge--blue {
background-color: var(--amsterdam-badge-blue-background-color);
color: var(--amsterdam-badge-blue-color);
Expand Down Expand Up @@ -57,11 +52,6 @@
color: var(--amsterdam-badge-purple-color);
}

.amsterdam-badge--white {
background-color: var(--amsterdam-badge-white-background-color);
color: var(--amsterdam-badge-white-color);
}

.amsterdam-badge--yellow {
background-color: var(--amsterdam-badge-yellow-background-color);
color: var(--amsterdam-badge-yellow-color);
Expand Down
2 changes: 0 additions & 2 deletions packages/react/src/Badge/Badge.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,13 @@ import { forwardRef } from 'react'
import type { ForwardedRef, HTMLAttributes } from 'react'

export const badgeColors = [
'black',
'blue',
'dark-blue',
'dark-green',
'green',
'magenta',
'orange',
'purple',
'white',
'yellow',
] as const

Expand Down
8 changes: 0 additions & 8 deletions proprietary/tokens/src/components/amsterdam/badge.tokens.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@
"font-size": { "value": "{amsterdam.typography.compact.text-level.5.font-size}" },
"line-height": { "value": "{amsterdam.typography.compact.text-level.5.line-height}" }
},
"black": {
"background-color": { "value": "{amsterdam.color.primary-black}" },
"color": { "value": "{amsterdam.color.primary-white}" }
},
"blue": {
"background-color": { "value": "{amsterdam.color.blue}" },
"color": { "value": "{amsterdam.color.primary-black}" }
Expand Down Expand Up @@ -44,10 +40,6 @@
"background-color": { "value": "{amsterdam.color.purple}" },
"color": { "value": "{amsterdam.color.primary-white}" }
},
"white": {
"background-color": { "value": "{amsterdam.color.primary-white}" },
"color": { "value": "{amsterdam.color.primary-black}" }
},
"yellow": {
"background-color": { "value": "{amsterdam.color.yellow}" },
"color": { "value": "{amsterdam.color.primary-black}" }
Expand Down
2 changes: 1 addition & 1 deletion storybook/storybook-react/src/Badge/Badge.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const meta = {
control: {
type: 'inline-radio',
},
options: ['black', 'blue', 'dark-blue', 'dark-green', 'green', 'magenta', 'orange', 'purple', 'white', 'yellow'],
options: ['blue', 'dark-blue', 'dark-green', 'green', 'magenta', 'orange', 'purple', 'yellow'],
selected: 'dark-green',
},
},
Expand Down

0 comments on commit 9fe3750

Please sign in to comment.