Skip to content

Commit d6406c2

Browse files
committed
add note
1 parent 5cc6a81 commit d6406c2

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

apps/svelte.dev/src/routes/packages/+page.svelte

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
<h1>Packages</h1>
1818
<p>
1919
We've collected a few of our favourite packages that work well with Svelte and SvelteKit apps.
20+
Official packages are marked with the <span class="svelte-logo" aria-label="Svelte"></span> logo.
2021
</p>
2122
</header>
2223

@@ -44,4 +45,17 @@
4445
h1 {
4546
margin: 0 0 2rem 0;
4647
}
48+
49+
.svelte-logo {
50+
position: relative;
51+
top: 0.15em;
52+
display: inline-block;
53+
width: 1em;
54+
aspect-ratio: 1;
55+
background: #ff3e00;
56+
mask-size: contain;
57+
mask-image: url(icons/svelte-cutout);
58+
mask-repeat: no-repeat;
59+
mask-position: 50% 50%;
60+
}
4761
</style>

0 commit comments

Comments
 (0)