Skip to content

Commit

Permalink
Revert "feat(tokens): add new tokens (#2203)" (#2414)
Browse files Browse the repository at this point in the history
This reverts commit f1b05c9.
  • Loading branch information
kamleshchandnani authored Nov 12, 2024
1 parent 9235163 commit 51e72a7
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 12 deletions.
1 change: 0 additions & 1 deletion packages/blade/src/tokens/global/colors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@ export const colors: Color = {
a100: `hsla(227, 100%, 59%, ${opacity[300]})`,
a150: `hsla(227, 100%, 59%, ${opacity[400]})`,
a200: `hsla(227, 100%, 59%, ${opacity[500]})`,
a400: `hsla(227, 100%, 59%, ${opacity[800]})`,
},
emerald: {
50: `hsla(152, 60%, 95%, ${opacity[1200]})`,
Expand Down
22 changes: 11 additions & 11 deletions packages/blade/src/tokens/theme/bladeTheme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -229,14 +229,14 @@ const colors: ColorsWithModes = {
gray: {
default: globalColors.neutral.blueGrayLight.a75,
highlighted: globalColors.neutral.blueGrayLight.a100,
disabled: globalColors.neutral.blueGrayLight.a100,
disabled: globalColors.neutral.blueGrayLight.a50,
faded: globalColors.neutral.blueGrayLight.a25,
fadedHighlighted: globalColors.neutral.blueGrayLight.a75,
},
primary: {
default: globalColors.chromatic.azure[500],
highlighted: globalColors.chromatic.azure[600],
disabled: globalColors.chromatic.azure.a100,
disabled: globalColors.chromatic.azure.a50,
faded: globalColors.chromatic.azure.a50,
fadedHighlighted: globalColors.chromatic.azure.a100,
},
Expand Down Expand Up @@ -352,7 +352,7 @@ const colors: ColorsWithModes = {
normal: globalColors.chromatic.azure[600],
subtle: globalColors.chromatic.azure[500],
muted: globalColors.chromatic.azure[400],
disabled: globalColors.chromatic.azure.a200,
disabled: globalColors.chromatic.azure.a100,
},
onPrimary: {
normal: globalColors.neutral.white[500],
Expand Down Expand Up @@ -414,7 +414,7 @@ const colors: ColorsWithModes = {
normal: globalColors.chromatic.azure[600],
subtle: globalColors.chromatic.azure[500],
muted: globalColors.chromatic.azure[400],
disabled: globalColors.chromatic.azure.a200,
disabled: globalColors.chromatic.azure.a100,
},
onPrimary: {
normal: globalColors.neutral.white[500],
Expand Down Expand Up @@ -672,14 +672,14 @@ const colors: ColorsWithModes = {
gray: {
default: globalColors.neutral.blueGrayDark.a75,
highlighted: globalColors.neutral.blueGrayDark.a100,
disabled: globalColors.neutral.blueGrayDark.a100,
disabled: globalColors.neutral.blueGrayDark.a50,
faded: globalColors.neutral.blueGrayDark.a25,
fadedHighlighted: globalColors.neutral.blueGrayDark.a75,
},
primary: {
default: globalColors.chromatic.azure[400],
highlighted: globalColors.chromatic.azure[500],
disabled: globalColors.chromatic.azure.a150,
disabled: globalColors.chromatic.azure.a100,
faded: globalColors.chromatic.azure.a150,
fadedHighlighted: globalColors.chromatic.azure.a200,
},
Expand Down Expand Up @@ -732,7 +732,7 @@ const colors: ColorsWithModes = {
gray: {
default: globalColors.neutral.blueGrayDark[600],
highlighted: globalColors.neutral.blueGrayDark[600],
disabled: globalColors.neutral.blueGrayDark[700],
disabled: globalColors.neutral.blueGrayDark[800],
faded: globalColors.neutral.blueGrayDark.a100,
},
primary: {
Expand Down Expand Up @@ -795,7 +795,7 @@ const colors: ColorsWithModes = {
normal: globalColors.chromatic.azure[300],
subtle: globalColors.chromatic.azure[400],
muted: globalColors.chromatic.azure[600],
disabled: globalColors.chromatic.azure.a400,
disabled: globalColors.chromatic.azure.a200,
},
onPrimary: {
normal: globalColors.neutral.white[500],
Expand Down Expand Up @@ -857,7 +857,7 @@ const colors: ColorsWithModes = {
normal: globalColors.chromatic.azure[300],
subtle: globalColors.chromatic.azure[400],
muted: globalColors.chromatic.azure[600],
disabled: globalColors.chromatic.azure.a400,
disabled: globalColors.chromatic.azure.a200,
},
onPrimary: {
normal: globalColors.neutral.white[500],
Expand Down Expand Up @@ -887,8 +887,8 @@ const colors: ColorsWithModes = {
},
popup: {
background: {
subtle: globalColors.neutral.blueGrayDark[700],
intense: globalColors.neutral.blueGrayDark[700],
subtle: globalColors.neutral.blueGrayDark[1000],
intense: globalColors.neutral.blueGrayDark[1000],
},
border: {
subtle: globalColors.neutral.blueGrayDark.a100,
Expand Down

0 comments on commit 51e72a7

Please sign in to comment.