Skip to content
This repository has been archived by the owner on Mar 20, 2024. It is now read-only.

Commit

Permalink
fix logo example
Browse files Browse the repository at this point in the history
  • Loading branch information
jacob-8 committed May 19, 2023
1 parent 46b3051 commit 1d64abd
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ A spin-off from [UnoCSS](https://github.com/unocss/unocss) that allows for full-
**Update**: This code is in the process of being merged into UnoCSS: https://github.com/unocss/unocss/pull/2552 - you'll find the [docs](https://deploy-preview-2552--unocss.netlify.app/integrations/svelte-scoped#svelte-scoped) for that version to be more full-featured though of course use the install instructions from here.

[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz_small.svg)](https://stackblitz.com/fork/github/jacob-8/svelte-scoped-uno/tree/main/examples/sveltekit-vite-plugin)
*There is a strange bug just in StackBlitz whereby styles for the Logo and Prose components are not being applied, but it's still a useful way to quickly try things out.*

## Install

Expand Down
6 changes: 4 additions & 2 deletions examples/svelte-vite-plugin/src/lib/Logos.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
/>

{#if !hide}
<span class="logo" in:fly={{ y: 200, duration: 2000 }} out:fade />
<span class="logo drop-shadow-on-hover" in:fly={{ y: 200, duration: 2000 }} out:fade />
{/if}
</div>

Expand All @@ -25,7 +25,9 @@
img:hover {
filter: drop-shadow(0 0 5em gray);
}
.logo:hover {
/* .logo is a shortcut and will be hashed on compile so we can't use .logo:hover in a manually written class */
.drop-shadow-on-hover:hover {
filter: drop-shadow(0 0 2em #ff3e00aa);
}
</style>
1 change: 0 additions & 1 deletion examples/sveltekit-vite-plugin/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
Read more about [svelte-scoped-uno](../../packages/svelte-scoped-uno/README.md) for more information.

[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz_small.svg)](https://stackblitz.com/fork/github/jacob-8/svelte-scoped-uno/tree/main/examples/sveltekit-vite-plugin)
*There is a strange bug just in StackBlitz whereby styles for the Logo and Prose components are not being applied, but it's still a useful way to quickly try things out.*

## Try Locally
- PNPM: In the root of the monorepo run `pnpm install`, `pnpm stub` and `pnpm try:sveltekit`
Expand Down
1 change: 0 additions & 1 deletion packages/svelte-scoped-uno/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# svelte-scoped-uno

[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz_small.svg)](https://stackblitz.com/fork/github/jacob-8/svelte-scoped-uno/tree/main/examples/sveltekit-vite-plugin)
*There is a strange bug just in StackBlitz whereby styles for the Logo and Prose components are not being applied, but it's still a useful way to quickly try things out.*

## Setup

Expand Down

0 comments on commit 1d64abd

Please sign in to comment.