Skip to content

Commit

Permalink
Fix wrong dark mode color
Browse files Browse the repository at this point in the history
  • Loading branch information
diskdance committed Dec 26, 2024
1 parent dac7dc3 commit 430954e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions gadgets/variant-ally-dialog/src/components/VAButton.vue
Original file line number Diff line number Diff line change
Expand Up @@ -101,15 +101,15 @@ defineProps<{
}
&:active {
color: @color-inverted;
color: @color-inverted-fixed;
background-color: @background-color-progressive--active;
border-color: @border-color-progressive--active;
}
}
&:disabled {
background-color: @background-color-disabled;
color: @color-inverted;
color: @color-disabled-emphasized;
border-color: @border-color-transparent;
cursor: @cursor-not-allowed;
}
Expand Down
2 changes: 1 addition & 1 deletion gadgets/variant-ally-dialog/src/components/VAIcon.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export type { Icon };

<template>
<svg
class="va-icon-button__icon"
class="va-icon"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
:width="size"
Expand Down
2 changes: 2 additions & 0 deletions gadgets/variant-ally-dialog/src/styles/tokens.less
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@
@color-visited: var(--color-visited, #6a60b0);
@color-emphasized: var(--color-emphasized, #101418);
@color-inverted: var(--color-inverted, #fff);
@color-inverted-fixed: var(--color-inverted-fixed, #fff);
@color-disabled: var(--color-disabled, #a2a9b1);
@color-disabled-emphasized: var(--color-disabled-emphasized, #a2a9b1);
@color-subtle: var(--color-subtle, #54595d);

/* Background colors */
Expand Down

0 comments on commit 430954e

Please sign in to comment.