Skip to content

Commit

Permalink
refactor: remove unused color class
Browse files Browse the repository at this point in the history
  • Loading branch information
kingyue737 committed Mar 25, 2024
1 parent 012d7ac commit 0a692fc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions components/DialogConfirm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ defineExpose({ open })
</v-card-text>
<v-card-actions>
<v-spacer />
<v-btn color="primary darken-1" @click="cancel"> Cancel </v-btn>
<v-btn color="primary darken-1" @click="confirm"> Confirm </v-btn>
<v-btn color="primary" @click="cancel"> Cancel </v-btn>
<v-btn color="primary" @click="confirm"> Confirm </v-btn>
<v-spacer />
</v-card-actions>
</v-card>
Expand Down
4 changes: 2 additions & 2 deletions tests/__snapshots__/component.nuxt.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ exports[`component DialogConfirm.vue > should open and close 1`] = `
<path d="M13,13H11V7H13M13,17H11V15H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z"></path>
</svg></i><span>message</span></div>
<div class="v-card-actions">
<div class="v-spacer"></div><button type="button" class="v-btn v-btn--slim v-theme--light text-primary darken-1 v-btn--density-default rounded-xl v-btn--size-default v-btn--variant-text"><span class="v-btn__overlay"></span><span class="v-btn__underlay"></span>
<div class="v-spacer"></div><button type="button" class="v-btn v-btn--slim v-theme--light text-primary v-btn--density-default rounded-xl v-btn--size-default v-btn--variant-text"><span class="v-btn__overlay"></span><span class="v-btn__underlay"></span>
<!----><span class="v-btn__content" data-no-activator=""> Cancel </span>
<!---->
<!---->
</button><button type="button" class="v-btn v-btn--slim v-theme--light text-primary darken-1 v-btn--density-default rounded-xl v-btn--size-default v-btn--variant-text"><span class="v-btn__overlay"></span><span class="v-btn__underlay"></span>
</button><button type="button" class="v-btn v-btn--slim v-theme--light text-primary v-btn--density-default rounded-xl v-btn--size-default v-btn--variant-text"><span class="v-btn__overlay"></span><span class="v-btn__underlay"></span>
<!----><span class="v-btn__content" data-no-activator=""> Confirm </span>
<!---->
<!---->
Expand Down

0 comments on commit 0a692fc

Please sign in to comment.