Skip to content

Commit

Permalink
fix(VEmptyState): support VBtn variants when using actions slot
Browse files Browse the repository at this point in the history
  • Loading branch information
johnleider committed May 30, 2024
1 parent bc98d54 commit 99279d9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ export const VEmptyState = genericComponent<VEmptyStateSlots>()({
defaults={{
VBtn: {
class: 'v-empty-state__action-btn',
color: props.color,
color: props.color ?? 'surface-variant',
text: props.actionText,
},
}}
Expand Down
4 changes: 2 additions & 2 deletions packages/vuetify/src/components/VEmptyState/_variables.scss
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
@use '../../styles/settings';
@use "../../styles/tools/functions";

$empty-state-actions-btn-background-color: rgb(var(--v-theme-surface-variant)) !default;
$empty-state-actions-btn-color: rgb(var(--v-theme-on-surface-variant)) !default;
$empty-state-actions-btn-background-color: initial !default;
$empty-state-actions-btn-color: initial !default;
$empty-state-actions-gap: 8px !default;
$empty-state-actions-padding: 16px !default;
$empty-state-content-padding: 24px 0 !default;
Expand Down

0 comments on commit 99279d9

Please sign in to comment.