Skip to content

Commit

Permalink
feat: refactor playground component shapes
Browse files Browse the repository at this point in the history
  • Loading branch information
driss-chelouati committed Dec 21, 2023
1 parent b698244 commit 8ee1d7f
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .playground/pages/tests/authority/prose.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ definePageMeta({
<template>
<div>
<div class="max-w-3xl mx-auto py-20">
<BaseProse shape="rounded" class="prose-md">
<BaseProse rounded="sm" class="prose-md">
<h1>Typography plugin</h1>
<p class="lead">
Until now, trying to style an article, document, or blog post with
Expand Down
2 changes: 1 addition & 1 deletion .playground/pages/tests/base/placeholder.vue
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ definePageMeta({
</template>

<div class="mt-2 flex justify-center gap-2">
<BaseButton color="primary" shape="curved" class="h-11 w-40">
<BaseButton color="primary" rounded="md" class="h-11 w-40">
Take some action
</BaseButton>
</div>
Expand Down
2 changes: 1 addition & 1 deletion .playground/pages/tests/base/placeload.vue
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ definePageMeta({
description="Placeload component composition"
>
<div class="max-w-sm">
<BaseCard shape="rounded" class="p-4 md:p-6">
<BaseCard rounded="md" class="p-4 md:p-6">
<div class="flex items-center">
<BasePlaceload class="h-10 w-10 rounded-full" />
<div class="ms-3 grow space-y-2">
Expand Down
6 changes: 3 additions & 3 deletions .playground/pages/tests/form/checkbox.vue
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ function reset() {
<div class="grid gap-6 sm:grid-cols-3">
<BaseCheckboxHeadless v-model="value" value="team_member_1">
<BaseCard
shape="rounded"
rounded="md"
class="peer-checked:!border-primary-500 peer-checked:[&_.child]:!text-primary-500 border-2 p-4 opacity-50 peer-checked:opacity-100"
>
<div class="flex w-full items-center gap-2">
Expand Down Expand Up @@ -472,7 +472,7 @@ function reset() {

<BaseCheckboxHeadless v-model="value" value="team_member_2">
<BaseCard
shape="rounded"
rounded="md"
class="peer-checked:!border-primary-500 peer-checked:[&_.child]:!text-primary-500 border-2 p-4 opacity-50 peer-checked:opacity-100"
>
<div class="flex w-full items-center gap-2">
Expand Down Expand Up @@ -504,7 +504,7 @@ function reset() {

<BaseCheckboxHeadless v-model="value" value="team_member_3">
<BaseCard
shape="rounded"
rounded="md"
class="peer-checked:!border-primary-500 peer-checked:[&_.child]:!text-primary-500 border-2 p-4 opacity-50 peer-checked:opacity-100"
>
<div class="flex w-full items-center gap-2">
Expand Down
8 changes: 4 additions & 4 deletions .playground/pages/tests/form/radio.vue
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ const headlessValue = ref('value_1')
value="value_1"
>
<BaseCard
shape="curved"
rounded="lg"
class="peer-checked:!border-success-500 peer-checked:!bg-success-500/10 relative border-2 p-5 peer-checked:[&_.child]:!opacity-100"
>
<div class="flex flex-col">
Expand Down Expand Up @@ -225,7 +225,7 @@ const headlessValue = ref('value_1')
value="value_2"
>
<BaseCard
shape="curved"
rounded="lg"
class="peer-checked:!border-success-500 peer-checked:!bg-success-500/10 relative border-2 p-5 peer-checked:[&_.child]:!opacity-100"
>
<div class="flex flex-col">
Expand Down Expand Up @@ -267,7 +267,7 @@ const headlessValue = ref('value_1')
value="value_3"
>
<BaseCard
shape="curved"
rounded="lg"
class="peer-checked:!border-success-500 peer-checked:!bg-success-500/10 relative border-2 p-5 peer-checked:[&_.child]:!opacity-100"
>
<div class="flex flex-col">
Expand Down Expand Up @@ -309,7 +309,7 @@ const headlessValue = ref('value_1')
value="value_4"
>
<BaseCard
shape="curved"
rounded="lg"
class="peer-checked:!border-success-500 peer-checked:!bg-success-500/10 relative border-2 p-5 peer-checked:[&_.child]:!opacity-100"
>
<div class="flex flex-col">
Expand Down

0 comments on commit 8ee1d7f

Please sign in to comment.