diff --git a/v2/pink-sb/src/lib/Skeleton.svelte b/v2/pink-sb/src/lib/Skeleton.svelte new file mode 100644 index 000000000..20efb2ae6 --- /dev/null +++ b/v2/pink-sb/src/lib/Skeleton.svelte @@ -0,0 +1,47 @@ + + +
+ + diff --git a/v2/pink-sb/src/lib/index.ts b/v2/pink-sb/src/lib/index.ts index 22314eb3a..3e3c2a56e 100644 --- a/v2/pink-sb/src/lib/index.ts +++ b/v2/pink-sb/src/lib/index.ts @@ -19,6 +19,7 @@ export { default as ActionList } from './action-list/index.js'; export { default as Upload } from './upload/index.js'; export { default as Dialog } from './Dialog.svelte'; export { default as Empty } from './Empty.svelte'; +export { default as Skeleton } from './Skeleton.svelte'; export { default as Keyboard } from './Keyboard.svelte'; export { default as Icon } from './Icon.svelte'; export { default as Pagination } from './Pagination.svelte'; diff --git a/v2/pink-sb/src/stories/Skeleton.stories.svelte b/v2/pink-sb/src/stories/Skeleton.stories.svelte new file mode 100644 index 000000000..7c320389a --- /dev/null +++ b/v2/pink-sb/src/stories/Skeleton.stories.svelte @@ -0,0 +1,34 @@ + + +
+ + + +
+ + diff --git a/v2/pink-sb/src/themes/dark.json b/v2/pink-sb/src/themes/dark.json index 4cf2e8252..3599f3e0a 100644 --- a/v2/pink-sb/src/themes/dark.json +++ b/v2/pink-sb/src/themes/dark.json @@ -108,6 +108,7 @@ "color-overlay-neutral-hover": "rgba(255, 255, 255, 4%)", "color-overlay-neutral-pressed": "rgba(255, 255, 255, 8%)", "color-overlay-neutral-selected": "rgba(255, 255, 255, 8%)", + "color-overlay-skeleton": "rgba(255, 255, 255, 8%)", "color-overlay-scrim": "rgba(0, 0, 0, 48%)", "gradient-border-button-secondary-bottom": "var(--color-border-neutral-strong)", "gradient-border-button-secondary-top": "var(--color-border-neutral)", diff --git a/v2/pink-sb/src/themes/light.json b/v2/pink-sb/src/themes/light.json index 5c7088955..837b7d724 100644 --- a/v2/pink-sb/src/themes/light.json +++ b/v2/pink-sb/src/themes/light.json @@ -108,6 +108,7 @@ "color-overlay-neutral-hover": "rgba(25, 25, 28, 3%)", "color-overlay-neutral-pressed": "rgba(25, 25, 28, 4%)", "color-overlay-neutral-selected": "rgba(25, 25, 28, 4%)", + "color-overlay-skeleton": "rgba(25, 25, 28, 4%)", "color-overlay-scrim": "rgba(25, 25, 28, 80%)", "gradient-border-button-secondary-bottom": "var(--color-border-neutral)", "gradient-border-button-secondary-top": "var(--color-border-neutral-strong)",