Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: [Skeleton] #395 - display icons for img/video/graph variants #396

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/stories/docs/TailwindPreset.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ Congratulations you can now use all the tailwind classes used in the library
fontFamily: {
primary: ['IBM Plex Sans', 'Verdana', 'Arial', 'sans-serif'],
secondary: ['Prestafont', 'Verdana', 'Arial', 'sans-serif'],
materialIcons: ['Material Icons Round']
materialIcons: ['Material Symbols Rounded']
},
fontSize: {
xs: ['0.75rem', { lineHeight: '1.125rem' }],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<component
:is="tag"
class="puik-skeleton-loader material-icons-round"
class="puik-skeleton-loader"
:class="[`puik-skeleton-loader--${variant}`]"
:style="{ width, height }"
/>
Expand Down
2 changes: 1 addition & 1 deletion packages/theme/src/puik-skeleton-loader.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.puik-skeleton-loader {
@apply rounded w-full text-primary-500 text-2xl;
@apply font-materialIcons rounded w-full text-primary-500 text-2xl;

background: linear-gradient(
90deg,
Expand Down
Loading