Skip to content

Commit

Permalink
Revert "fix: button primary color to black and white (snapshot-labs#4557
Browse files Browse the repository at this point in the history
)"

This reverts commit ba0729e.
  • Loading branch information
samuveth committed Feb 16, 2024
1 parent ba0729e commit bde3fb0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 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: #ffffff;
--primary-color: #384aff;
--bg-color: #1c1b20;
--text-color: #8b949e;
--link-color: #ffffff;
Expand All @@ -23,7 +23,7 @@

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

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

0 comments on commit bde3fb0

Please sign in to comment.