Skip to content

Commit

Permalink
Merge pull request #1464 from PrefectHQ/nicholas/enhancement/p-button…
Browse files Browse the repository at this point in the history
…-light-press-2024-10-03

Bugfix: Light mode accent colors
  • Loading branch information
znicholasbrown authored Oct 3, 2024
2 parents d2de09a + cb0f88d commit 8eb191e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
16 changes: 8 additions & 8 deletions src/components/Button/PButton.vue
Original file line number Diff line number Diff line change
Expand Up @@ -184,40 +184,40 @@
disabled:opacity-50
select-none
aria-selected:bg-[color:var(--p-color-button-selected-bg)]
aria-selected:text-[color:var(--p-color-button-selected-test)]
aria-selected:text-[color:var(--p-color-button-selected-text)]
aria-selected:border-[color:var(--p-color-button-selected-border)]
}
.p-button--default{ @apply
.p-button--default { @apply
bg-primary
text-primary-foreground
hover:bg-primary/90
active:bg-primary/80
}
.p-button--outline{ @apply
.p-button--outline { @apply
border
border-input
bg-background
hover:bg-accent
hover:text-accent-foreground
active:bg-accent/90
active:bg-accent/60
}
.p-button--ghost{ @apply
.p-button--ghost { @apply
hover:bg-accent
hover:text-accent-foreground
active:bg-accent/90
active:bg-accent/60
}
.p-button--destructive{ @apply
.p-button--destructive { @apply
bg-destructive
text-destructive-foreground
hover:bg-destructive/90
active:bg-destructive/80
}
.p-button--link{ @apply
.p-button--link { @apply
text-primary
underline-offset-4
hover:underline
Expand Down
2 changes: 1 addition & 1 deletion src/styles/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@

--p-primary: var(--p-primary-hue) 80.34% 44%;
--p-primary-foreground: var(--p-primary-hue) 0.0% 100.0%;
--p-accent: var(--p-primary-hue) 0.0% 92%;
--p-accent: var(--p-primary-hue) 6% 85%;
--p-accent-foreground: var(--p-primary-hue) 6% 9.02%;
--p-destructive: 4 74% 49%;
--p-destructive-foreground: 0.0 0.0% 100.0%;
Expand Down

0 comments on commit 8eb191e

Please sign in to comment.