chore: add favicon to WDS Storybook (#26567)

tl;dr there was no favicon, added one. Slightly different fills for
light and dark mode.

---------

Co-authored-by: Valera Melnikov <valera@appsmith.com>
This commit is contained in:
vadim 2023-08-23 11:35:01 +02:00 committed by GitHub
parent 5d7193c1e3
commit 081bf03a1c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 18 additions and 1 deletions

View File

@ -2,7 +2,10 @@
img[alt="Appsmith Design System"] {
width: 134px;
}
#storybook-explorer-tree > div {
#storybook-explorer-tree>div {
margin: unset !important;
}
</style>
<link rel="icon" type="image/svg+xml" href="/favicon.svg" sizes="any">

View File

@ -0,0 +1,14 @@
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 16 16">
<style>
.bg {
fill: #542bd1;
}
@media (prefers-color-scheme: dark) {
.bg {
fill: #734bee;
}
}
</style>
<path class="bg" d="M0 0h16v16H0z" />
<path fill="#fff" d="M3 13v-2h10v2H3Z" />
</svg>

After

Width:  |  Height:  |  Size: 303 B