-
Notifications
You must be signed in to change notification settings - Fork 712
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update KDS theme token #12742
Update KDS theme token #12742
Changes from all commits
ffb0a76
40165ca
a1de0c8
c274de2
3ed2549
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -63,7 +63,7 @@ | |
return { | ||
color: this.$themeTokens.text, | ||
':hover': { | ||
'background-color': this.$themeBrand.secondary.v_1100, | ||
'background-color': this.$themeBrand.secondary.v_300, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. here |
||
}, | ||
':focus': { | ||
...this.$coreOutline, | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -341,10 +341,10 @@ | |
cancelStyleOverrides() { | ||
return { | ||
color: this.$themeTokens.textInverted, | ||
'background-color': this.$themePalette.red.v_1100, | ||
'background-color': this.$themePalette.red.v_300, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. here |
||
// We need to use a darker color for hover than | ||
// palette.red.v_1100 but at the same time, | ||
// palette.red.v_1100 is the darkest available red | ||
// palette.red.v_300 but at the same time, | ||
// palette.red.v_300 is the darkest available red | ||
// in the palette. Using this hardcoded color was | ||
// agreed with designers. | ||
':hover': { 'background-color': '#A81700' }, | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ | |
<KIcon | ||
icon="warning" | ||
class="icon" | ||
:color="$themePalette.yellow.v_1100" | ||
:color="$themePalette.yellow.v_600" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The token on line 6 should also be updated |
||
/> | ||
</div> | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think here, because you previous had updated some of the code from v_1100 to v_600, you have now converted "twice", and there are a few places where you've changed
v_1100
tov_300
. First, fromv_1100
tov_600
(correct) and then when you went through with the additional updates, you changed the already updatedv_600
tov_300
.I'll mark the places where this "double" remapping has happened