Skip to content

Commit 44961ee

Browse files
authored
💄 Adjust outlined buttons background color (#1289)
1 parent fecf0f2 commit 44961ee

4 files changed

Lines changed: 6 additions & 6 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@equinor/amplify-component-lib",
3-
"version": "13.1.2",
3+
"version": "13.1.3",
44
"description": "Frontend Typescript components for the Amplify team",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",

src/molecules/Button/tokens/danger.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export const DANGER_TOKENS: ButtonTokens = {
1919
disabled: DISABLED_TOKENS.filled,
2020
},
2121
outlined: {
22-
backgroundColor: colors.ui.background__default.rgba,
22+
backgroundColor: 'transparent',
2323
color: colors.interactive.danger__resting.rgba,
2424
borderColor: colors.interactive.danger__resting.rgba,
2525
outlineColor: colors.interactive.danger__resting.rgba,
@@ -30,7 +30,7 @@ export const DANGER_TOKENS: ButtonTokens = {
3030
borderColor: colors.interactive.danger__hover.rgba,
3131
},
3232
pressed: {
33-
backgroundColor: colors.ui.background__default.rgba,
33+
backgroundColor: 'transparent',
3434
color: colors.interactive.danger__hover.rgba,
3535
borderColor: colors.interactive.danger__hover.rgba,
3636
},

src/molecules/Button/tokens/disabled.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export const DISABLED_TOKENS = {
66
color: colors.interactive.disabled__text.rgba,
77
},
88
outlined: {
9-
backgroundColor: colors.ui.background__default.rgba,
9+
backgroundColor: 'transparent',
1010
color: colors.interactive.disabled__text.rgba,
1111
borderColor: colors.interactive.disabled__text.rgba,
1212
},

src/molecules/Button/tokens/primary.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export const PRIMARY_TOKENS: ButtonTokens = {
2020
disabled: DISABLED_TOKENS.filled,
2121
},
2222
outlined: {
23-
backgroundColor: colors.ui.background__default.rgba,
23+
backgroundColor: 'transparent',
2424
color: colors.interactive.primary__resting.rgba,
2525
borderColor: colors.interactive.primary__resting.rgba,
2626
outlineColor: colors.interactive.primary__resting.rgba,
@@ -31,7 +31,7 @@ export const PRIMARY_TOKENS: ButtonTokens = {
3131
borderColor: colors.interactive.primary__hover.rgba,
3232
},
3333
pressed: {
34-
backgroundColor: colors.ui.background__default.rgba,
34+
backgroundColor: 'transparent',
3535
color: colors.interactive.primary__pressed.rgba,
3636
borderColor: colors.interactive.primary__pressed.rgba,
3737
},

0 commit comments

Comments
 (0)