Skip to content

Commit

Permalink
fix: button primary color to black and white (#4557)
Browse files Browse the repository at this point in the history
  • Loading branch information
samuveth authored Feb 13, 2024
1 parent 0244fd4 commit ba0729e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/assets/css/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

[data-color-scheme='dark'] {
color-scheme: dark;
--primary-color: #384aff;
--primary-color: #ffffff;
--bg-color: #1c1b20;
--text-color: #8b949e;
--link-color: #ffffff;
Expand All @@ -23,7 +23,7 @@

[data-color-scheme='light'] {
color-scheme: light;
--primary-color: #384aff;
--primary-color: #000000;
--bg-color: white;
--text-color: #57606a;
--link-color: #444444;
Expand Down
5 changes: 4 additions & 1 deletion src/components/Tune/TuneButton.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ withDefaults(
disabled: false
}
);
const { domain } = useApp();
</script>

<template>
Expand All @@ -25,7 +27,8 @@ withDefaults(
{
primary: primary,
danger: variant === 'danger',
disabled: disabled
disabled: disabled,
'!text-skin-bg': !domain && primary
}
]"
:disabled="disabled || loading"
Expand Down

0 comments on commit ba0729e

Please sign in to comment.