Skip to content

Commit 96fbee9

Browse files
authored
feat: updates logo (#3340)
1 parent 36a5d7e commit 96fbee9

19 files changed

+169
-63
lines changed

assets/components/SidePanel.vue

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@
22
<aside class="fixed h-screen w-[inherit] overflow-auto p-3" data-testid="navigation">
33
<h1>
44
<router-link :to="{ name: '/' }">
5-
<svg class="h-14 w-28 fill-secondary">
6-
<use href="#logo"></use>
7-
</svg>
5+
<LogoWithText class="logo h-16 w-40" />
86
</router-link>
97

108
<small class="mb-4 block text-xs font-light" v-if="hostname">
@@ -28,5 +26,18 @@
2826
</template>
2927

3028
<script lang="ts" setup>
29+
import LogoWithText from "@/logo-text.svg";
3130
const { hostname } = config;
3231
</script>
32+
33+
<style scoped lang="postcss">
34+
.logo {
35+
:deep(.content-fill) {
36+
@apply fill-base-content;
37+
}
38+
39+
:deep(.secondary-fill) {
40+
@apply fill-secondary;
41+
}
42+
}
43+
</style>

assets/components/common/MobileMenu.vue

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@
22
<nav class="fixed top-0 z-10 w-full border-b border-base-content/20 bg-base p-2" data-testid="navigation">
33
<div class="flex items-center">
44
<router-link :to="{ name: '/' }">
5-
<svg class="h-14 w-28 fill-secondary">
6-
<use href="#logo"></use>
7-
</svg>
5+
<Logo class="logo h-10 w-14" />
86
</router-link>
97

108
<div class="ml-auto flex items-center gap-2">
@@ -28,6 +26,7 @@
2826
</template>
2927

3028
<script lang="ts" setup>
29+
import Logo from "@/logo.svg";
3130
const route = useRoute();
3231
3332
const show = ref(false);
@@ -59,4 +58,10 @@ li.exited {
5958
.fade-leave-to .menu {
6059
@apply -translate-y-2;
6160
}
61+
62+
.logo {
63+
:deep(.secondary-fill) {
64+
@apply fill-secondary;
65+
}
66+
}
6267
</style>

assets/favicon.svg

Lines changed: 0 additions & 5 deletions
This file was deleted.

assets/logo-text.svg

Lines changed: 1 addition & 0 deletions
Loading

assets/logo.svg

Lines changed: 1 addition & 0 deletions
Loading

assets/main.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
--base-darker-color: 11% 0 0;
3030
--base-content-color: 89.23% 0 0;
3131
--primary-color: 70.96% 0.143 176.65;
32-
--secondary-color: 91.36% 0.11098 90.1243;
32+
--secondary-color: 81.38% 0.1448 90.1243;
3333
}
3434

3535
html[data-theme="light"] {

docs/.vitepress/config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ export default defineConfig({
2727
],
2828
],
2929
themeConfig: {
30+
logo: "/logo.svg",
3031
search: {
3132
provider: "local",
3233
},

docs/.vitepress/theme/style.css

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -149,13 +149,11 @@
149149

150150
.VPHomeHero .name {
151151
@apply text-7xl font-light;
152-
font-family: "Playfair Display Variable", serif;
153152
}
154153

155154
.VPNavBarTitle .title {
156155
@apply text-3xl font-light;
157-
color: var(--bar-title-color);
158-
font-family: "Playfair Display Variable", serif;
156+
text-transform: uppercase;
159157
}
160158

161159
.VPHero .container .image {

docs/public/logo.svg

Lines changed: 1 addition & 0 deletions
Loading
-1.35 KB
Loading

0 commit comments

Comments
 (0)