Skip to content

Commit

Permalink
feat(VSkeletonLoader): add new default type ossein
Browse files Browse the repository at this point in the history
  • Loading branch information
johnleider committed Sep 27, 2023
1 parent a62b689 commit 9e61694
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
4 changes: 4 additions & 0 deletions packages/docs/src/components/doc/MadeWithVuetify.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
max-width="900"
>
<v-row>
<v-col v-for="n in 9" :key="n" cols="12" md="4">
<v-skeleton-loader height="180" width="100%" class="rounded" />
</v-col>

<v-col
v-for="project in items"
:key="project.id"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,16 @@
&__actions
justify-content: end

.v-skeleton-loader__ossein
height: 100%

.v-skeleton-loader__avatar,
.v-skeleton-loader__button,
.v-skeleton-loader__chip,
.v-skeleton-loader__divider,
.v-skeleton-loader__heading,
.v-skeleton-loader__image,
.v-skeleton-loader__ossein,
.v-skeleton-loader__text
background: $skeleton-loader-text-background

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ export const rootTypes = {
'list-item-avatar-two-line': 'avatar, sentences',
'list-item-three-line': 'paragraph',
'list-item-avatar-three-line': 'avatar, paragraph',
ossein: 'ossein',
paragraph: 'text@3',
sentences: 'text@2',
subtitle: 'text',
Expand Down Expand Up @@ -118,7 +119,7 @@ export const makeVSkeletonLoaderProps = propsFactory({
| VSkeletonLoaderType | (string & {})
| ReadonlyArray<VSkeletonLoaderType | (string & {})>
>,
default: 'image',
default: 'ossein',
},

...makeDimensionProps(),
Expand Down

0 comments on commit 9e61694

Please sign in to comment.