feat(UI): update logo

This commit is contained in:
Timi
2026-11-20 14:28:44 +08:00
parent 9ccdbe593a
commit 7c1dfc0e9f
47 changed files with 165 additions and 102 deletions
+1
View File
@@ -28,6 +28,7 @@ CI 规则(.gitea/workflows/release.yml):
- 登记事件记录日历显示客户照片 - 登记事件记录日历显示客户照片
- 新增和优化回收物流水、订单回收物、客户回收物页面 - 新增和优化回收物流水、订单回收物、客户回收物页面
- 库存日历的当日流水支持直接弹出查看详情 - 库存日历的当日流水支持直接弹出查看详情
- 让 ChatGPT 设计了一个好好看的图标
### 调整 ### 调整
Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 7.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.8 KiB

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 30 KiB

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 45 KiB

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 68 KiB

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 8.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.6 KiB

After

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 32 KiB

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 46 KiB

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 68 KiB

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.8 KiB

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 KiB

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.7 KiB

After

Width:  |  Height:  |  Size: 6.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.1 KiB

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.5 KiB

After

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.3 KiB

After

Width:  |  Height:  |  Size: 5.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.0 KiB

After

Width:  |  Height:  |  Size: 8.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.3 KiB

After

Width:  |  Height:  |  Size: 5.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.4 KiB

After

Width:  |  Height:  |  Size: 7.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.8 KiB

After

Width:  |  Height:  |  Size: 9.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.5 KiB

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 12 KiB

@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<resources> <resources>
<color name="ic_launcher_background">#0F766E</color> <color name="ic_launcher_background">#FFFFFF</color>
</resources> </resources>
+7
View File
@@ -0,0 +1,7 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" width="512" height="512" role="img" aria-labelledby="gaoRoundTitle gaoRoundDesc">
<title id="gaoRoundTitle">糕 · 护理门店管理</title>
<desc id="gaoRoundDesc">字母 G 环抱一颗心的柔化候选:收笔圆角 22、根部转角 14、缺口端 6,青绿渐变底色</desc>
<defs><linearGradient id="b" x1="0" y1="0" x2="1" y2="1"><stop offset="0" stop-color="#12907F"/><stop offset=".55" stop-color="#0F7A70"/><stop offset="1" stop-color="#0A655F"/></linearGradient></defs><rect width="512" height="512" rx="114" fill="url(#b)"/>
<path d="M403.82 124.13A198 198 0 1 0 454.00 264.00Q454.00 256.00 446.00 256.00L398.00 256.00Q384.00 256.00 384.00 270.00A128 128 0 1 1 350.20 169.13Q354.05 173.72 358.65 169.87L403.08 132.58Q407.68 128.73 403.82 124.13Z" fill="#FFFFFF"/><path d="M314 256H454A198 198 0 0 1 441.21 326H314Q292 326 292 304V278Q292 256 314 256Z" fill="#FFFFFF"/>
<path d="M12 21s-8-5.2-8-10.4A4.6 4.6 0 0 1 12 7.6 4.6 4.6 0 0 1 20 10.6C20 15.8 12 21 12 21z" transform="translate(151 198.2) scale(5.75)" fill="#FFFFFF"/>
</svg>

After

Width:  |  Height:  |  Size: 1.1 KiB

+7
View File
@@ -0,0 +1,7 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" width="512" height="512" role="img" aria-labelledby="gaoSmallTitle gaoSmallDesc">
<title id="gaoSmallTitle">糕 · 小尺寸简化图标</title>
<desc id="gaoSmallDesc">去掉心形、加粗笔画、收窄留白的 16 至 47 像素专用版本</desc>
<rect width="512" height="512" rx="114" fill="#0F766E"/>
<path d="M410.6 116.8A208 208 0 1 0 464 256L392 256A136 136 0 1 1 357.1 165Z" fill="#FFFFFF"/>
<path d="M300 256H464A208 208 0 0 1 451.1 328H300Z" fill="#FFFFFF"/>
</svg>

After

Width:  |  Height:  |  Size: 546 B

+15
View File
@@ -0,0 +1,15 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" width="512" height="512" role="img" aria-labelledby="gaoIconTitle gaoIconDesc">
<title id="gaoIconTitle">糕 · 护理门店管理</title>
<desc id="gaoIconDesc">字母 G 环抱一颗心的品牌图标,照护青底色,48 像素以上使用</desc>
<defs>
<linearGradient id="gaoIconBg" x1="0" y1="0" x2="1" y2="1">
<stop offset="0" stop-color="#12907F"/>
<stop offset=".55" stop-color="#0F7A70"/>
<stop offset="1" stop-color="#0A655F"/>
</linearGradient>
</defs>
<rect width="512" height="512" rx="114" fill="url(#gaoIconBg)"/>
<path d="M407.7 128.7A198 198 0 1 0 454 256L384 256A128 128 0 1 1 354.1 173.7Z" fill="#FFFFFF"/>
<path d="M292 256H454A198 198 0 0 1 441.2 326H292Z" fill="#FFFFFF"/>
<path d="M12 21s-8-5.2-8-10.4A4.6 4.6 0 0 1 12 7.6 4.6 4.6 0 0 1 20 10.6C20 15.8 12 21 12 21z" transform="translate(151 198.2) scale(5.75)" fill="#FFFFFF"/>
</svg>

After

Width:  |  Height:  |  Size: 944 B

+7
View File
@@ -0,0 +1,7 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="40 40 432 432" width="432" height="432" role="img" aria-labelledby="gaoMarkTitle gaoMarkDesc" style="color:#0F766E">
<title id="gaoMarkTitle">糕 · 品牌符号</title>
<desc id="gaoMarkDesc">无底色的单色 G 符号,继承 currentColor,用于门头、印刷、深底反白与界面水印</desc>
<path d="M407.7 128.7A198 198 0 1 0 454 256L384 256A128 128 0 1 1 354.1 173.7Z" fill="currentColor"/>
<path d="M292 256H454A198 198 0 0 1 441.2 326H292Z" fill="currentColor"/>
<path d="M12 21s-8-5.2-8-10.4A4.6 4.6 0 0 1 12 7.6 4.6 4.6 0 0 1 20 10.6C20 15.8 12 21 12 21z" transform="translate(151 198.2) scale(5.75)" fill="currentColor"/>
</svg>

After

Width:  |  Height:  |  Size: 703 B

+2
View File
@@ -10,6 +10,7 @@
<meta name="apple-mobile-web-app-title" content="Gao Customer H5" /> <meta name="apple-mobile-web-app-title" content="Gao Customer H5" />
<meta name="format-detection" content="telephone=no" /> <meta name="format-detection" content="telephone=no" />
<meta name="theme-color" content="#ffffff" /> <meta name="theme-color" content="#ffffff" />
<link rel="icon" type="image/svg+xml" href="/icons/brand.svg" />
<link rel="manifest" href="/manifest.webmanifest" /> <link rel="manifest" href="/manifest.webmanifest" />
<link rel="apple-touch-icon" href="/icons/icon-192.png" /> <link rel="apple-touch-icon" href="/icons/icon-192.png" />
<title>糕店客户管理</title> <title>糕店客户管理</title>
@@ -19,3 +20,4 @@
<script type="module" src="/src/main.ts"></script> <script type="module" src="/src/main.ts"></script>
</body> </body>
</html> </html>
Binary file not shown.

After

Width:  |  Height:  |  Size: 60 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 6.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.5 KiB

After

Width:  |  Height:  |  Size: 17 KiB

+55 -84
View File
@@ -1,95 +1,66 @@
/**
* 从 public/icons/icon-512.png 生成 Android 各密度的启动图标
*
* 传统图标用完整图,圆形图标裁圆,自适应前景留 10% 余量避免被系统裁切
*
* 运行:node scripts/generate-android-icons.mjs
*/
import sharp from "sharp"; import sharp from "sharp";
const SOURCE = "public/icons/icon-512.png"; const source = "public/icons/brand.svg";
const RES = "android/app/src/main/res"; const res = "android/app/src/main/res";
const transparent = { r: 0, g: 0, b: 0, alpha: 0 };
const white = { r: 255, g: 255, b: 255, alpha: 1 };
/** 传统图标边长 */ async function render(size, ratio, background = transparent) {
const LEGACY = { mdpi: 48, hdpi: 72, xhdpi: 96, xxhdpi: 144, xxxhdpi: 192 }; const inner = Math.round(size * ratio);
const icon = await sharp(source).resize(inner, inner).png().toBuffer();
/** 自适应前景边长,108dp 基准 */ return await sharp({ create: { width: size, height: size, channels: 4, background } })
const FOREGROUND = { mdpi: 108, hdpi: 162, xhdpi: 216, xxhdpi: 324, xxxhdpi: 432 }; .composite([{ input: icon, gravity: "centre" }]).png().toBuffer();
/** 前景内容占画布的比例,低于安全区 66.7%,留余量 */
const FOREGROUND_RATIO = 0.9;
const { data } = await sharp(SOURCE).raw().toBuffer({ resolveWithObject: true });
const hex = `#${[data[0], data[1], data[2]].map(v => v.toString(16).padStart(2, "0")).join("")}`;
console.log(`图标底色:${hex}`);
for (const [density, size] of Object.entries(LEGACY)) {
const dir = `${RES}/mipmap-${density}`;
await sharp(SOURCE).resize(size, size, { fit: "cover" }).png().toFile(`${dir}/ic_launcher.png`);
const circle = Buffer.from(
`<svg width="${size}" height="${size}"><circle cx="${size / 2}" cy="${size / 2}" r="${size / 2}" fill="#fff"/></svg>`
);
await sharp(SOURCE)
.resize(size, size, { fit: "cover" })
.composite([{ input: circle, blend: "dest-in" }])
.png()
.toFile(`${dir}/ic_launcher_round.png`);
console.log(`${density}: 传统 ${size},圆形 ${size}`);
} }
for (const [density, size] of Object.entries(FOREGROUND)) { // 统一图形像素的颜色,通过透明度保留边缘抗锯齿。
const inner = Math.round(size * FOREGROUND_RATIO); const { data: pixels, info } = await sharp(await render(1024, 1)).raw().toBuffer({ resolveWithObject: true });
const offset = Math.round((size - inner) / 2); const colors = [[8, 127, 131], [157, 223, 201]];
const scaled = await sharp(SOURCE).resize(inner, inner, { fit: "cover" }).png().toBuffer(); for (let i = 0; i < pixels.length; i += 4) {
await sharp({ if (pixels[i + 3] === 0) continue;
create: { width: size, height: size, channels: 4, background: { r: 0, g: 0, b: 0, alpha: 0 } } const color = colors.reduce((closest, candidate) => {
}) const distance = candidate.reduce((sum, channel, index) => sum + (channel - pixels[i + index]) ** 2, 0);
.composite([{ input: scaled, top: offset, left: offset }]) return distance < closest.distance ? { value: candidate, distance } : closest;
.png() }, { value: colors[0], distance: Infinity }).value;
.toFile(`${RES}/mipmap-${density}/ic_launcher_foreground.png`); for (let channel = 0; channel < 3; channel++) pixels[i + channel] = color[channel];
}
await sharp(pixels, { raw: info }).png().toFile("public/icons/brand-transparent.png");
await sharp(await render(1024, 1, white)).toFile("public/icons/brand-white.png");
for (const size of [192, 512]) {
await sharp(await render(size, 1, white)).toFile(`public/icons/icon-${size}.png`);
}
await sharp(await render(512, .8, white)).toFile("public/icons/icon-maskable-512.png");
console.log(`${density}: 前景 ${size}(内容 ${inner})`); // 按图形实际边界居中;自适应图标的可见区域约为画布的三分之二。
const androidMark = await sharp(source).trim({ background: "#00000000", threshold: 1 }).png().toBuffer();
async function renderAndroid(size, ratio, background = transparent) {
const inner = Math.round(size * ratio);
const icon = await sharp(androidMark).resize(inner, inner, { fit: "contain" }).png().toBuffer();
return await sharp({ create: { width: size, height: size, channels: 4, background } })
.composite([{ input: icon, gravity: "centre" }]).png().toBuffer();
}
const legacy = { mdpi: 48, hdpi: 72, xhdpi: 96, xxhdpi: 144, xxxhdpi: 192 };
const foreground = { mdpi: 108, hdpi: 162, xhdpi: 216, xxhdpi: 324, xxxhdpi: 432 };
for (const [density, size] of Object.entries(legacy)) {
const dir = `${res}/mipmap-${density}`;
const icon = await renderAndroid(size, .66, white);
await sharp(icon).toFile(`${dir}/ic_launcher.png`);
const circle = Buffer.from(`<svg width="${size}" height="${size}"><circle cx="${size / 2}" cy="${size / 2}" r="${size / 2}" fill="white"/></svg>`);
await sharp(icon).composite([{ input: circle, blend: "dest-in" }]).png().toFile(`${dir}/ic_launcher_round.png`);
await sharp(await renderAndroid(foreground[density], .44)).toFile(`${dir}/ic_launcher_foreground.png`);
} }
/** const splash = {
* 启动图尺寸,背景铺图标底色,中间放 logo "drawable": [480, 320], "drawable-land-mdpi": [480, 320], "drawable-land-hdpi": [800, 480],
* "drawable-land-xhdpi": [1280, 720], "drawable-land-xxhdpi": [1600, 960], "drawable-land-xxxhdpi": [1920, 1280],
* 键为 drawable 目录名,值为画布宽高 "drawable-port-mdpi": [320, 480], "drawable-port-hdpi": [480, 800], "drawable-port-xhdpi": [720, 1280],
*/ "drawable-port-xxhdpi": [960, 1600], "drawable-port-xxxhdpi": [1280, 1920]
const SPLASH = {
"drawable": [480, 320],
"drawable-land-mdpi": [480, 320],
"drawable-land-hdpi": [800, 480],
"drawable-land-xhdpi": [1280, 720],
"drawable-land-xxhdpi": [1600, 960],
"drawable-land-xxxhdpi": [1920, 1280],
"drawable-port-mdpi": [320, 480],
"drawable-port-hdpi": [480, 800],
"drawable-port-xhdpi": [720, 1280],
"drawable-port-xxhdpi": [960, 1600],
"drawable-port-xxxhdpi": [1280, 1920]
}; };
for (const [dir, [width, height]] of Object.entries(splash)) {
/** logo 占短边的比例 */ const size = Math.round(Math.min(width, height) * .28);
const SPLASH_LOGO_RATIO = 0.28; const icon = await render(size, 1);
await sharp({ create: { width, height, channels: 4, background: white } })
for (const [dir, [width, height]] of Object.entries(SPLASH)) { .composite([{ input: icon, gravity: "centre" }]).png().toFile(`${res}/${dir}/splash.png`);
const logo = Math.round(Math.min(width, height) * SPLASH_LOGO_RATIO);
const scaled = await sharp(SOURCE).resize(logo, logo, { fit: "cover" }).png().toBuffer();
await sharp({
create: { width, height, channels: 3, background: { r: data[0], g: data[1], b: data[2] } }
})
.composite([{
input: scaled,
top: Math.round((height - logo) / 2),
left: Math.round((width - logo) / 2)
}])
.png()
.toFile(`${RES}/${dir}/splash.png`);
console.log(`${dir}: ${width}x${height},logo ${logo}`);
} }
console.log("完成");
+21
View File
@@ -0,0 +1,21 @@
import { readFile, writeFile } from "node:fs/promises";
import sharp from "sharp";
const light = await readFile("public/icons/brand.svg", "utf8");
const dark = light.replaceAll("#087f83", "#4dc9be").replaceAll("#9ddfc9", "#d0f5e7");
await writeFile("public/icons/brand-dark.svg", dark, "utf8");
const { data, info } = await sharp(Buffer.from(dark)).resize(1024, 1024).ensureAlpha().raw().toBuffer({ resolveWithObject: true });
const colors = [[77, 201, 190], [208, 245, 231]];
for (let i = 0; i < data.length; i += 4) {
if (data[i + 3] === 0) continue;
const color = colors.reduce((closest, candidate) => {
const distance = candidate.reduce((sum, channel, index) => sum + (channel - data[i + index]) ** 2, 0);
return distance < closest.distance ? { value: candidate, distance } : closest;
}, { value: colors[0], distance: Infinity }).value;
for (let channel = 0; channel < 3; channel++) data[i + channel] = color[channel];
}
const icon = await sharp(data, { raw: info }).png().toBuffer();
await sharp(icon).toFile("public/icons/brand-dark-transparent.png");
await sharp({ create: { width: 1024, height: 1024, channels: 4, background: "#10161f" } })
.composite([{ input: icon }]).png().toFile("public/icons/brand-dark-background.png");
+3
View File
@@ -45,6 +45,8 @@ watch(
const rootElement = document.documentElement; const rootElement = document.documentElement;
rootElement.classList.toggle("theme-dark", themeMode === "dark"); rootElement.classList.toggle("theme-dark", themeMode === "dark");
rootElement.dataset.theme = themeMode; rootElement.dataset.theme = themeMode;
const favicon = document.querySelector<HTMLLinkElement>("link[rel='icon']");
if (favicon) favicon.href = themeMode === "dark" ? "/icons/brand-dark.svg" : "/icons/brand.svg";
void syncSystemBars(themeMode).catch(() => undefined); void syncSystemBars(themeMode).catch(() => undefined);
}, },
{ immediate: true } { immediate: true }
@@ -81,3 +83,4 @@ onUnmounted(() => {
window.removeEventListener("pointerdown", unlockSoundOnUserGesture); window.removeEventListener("pointerdown", unlockSoundOnUserGesture);
}); });
</script> </script>
+14 -1
View File
@@ -3,12 +3,14 @@
v-model="tabVal" v-model="tabVal"
class="diselect" class="diselect"
:items="navList" :items="navList"
logo-text="糕"
tab-bar-float tab-bar-float
:hide-nav="!tabBarStore.isShowing" :hide-nav="!tabBarStore.isShowing"
@change="onChangeTab" @change="onChangeTab"
@rail-click="onRailClick" @rail-click="onRailClick"
> >
<template #logo>
<logo class="brand-icon" />
</template>
<template #rail-extra> <template #rail-extra>
<t-button <t-button
class="ai-entry" class="ai-entry"
@@ -42,6 +44,7 @@
<script setup lang="ts"> <script setup lang="ts">
import { AppShell, PageTransition, useLayout } from "timi-tdesign-mobile"; import { AppShell, PageTransition, useLayout } from "timi-tdesign-mobile";
import Logo from "@/pages/user/component/Logo.vue";
import { useGlobalUIStore } from "@/store/globalUI"; import { useGlobalUIStore } from "@/store/globalUI";
import { useTabBarStore } from "@/store/tabBarStore"; import { useTabBarStore } from "@/store/tabBarStore";
import { gaoRoleCodes, permissionCodes } from "@/utils/permission"; import { gaoRoleCodes, permissionCodes } from "@/utils/permission";
@@ -214,6 +217,13 @@ const pageClass = computed(() => ({
</script> </script>
<style scoped lang="less"> <style scoped lang="less">
.brand-icon {
width: 100%;
height: 100%;
background: #fff;
border-radius: .5rem;
}
.ai-entry { .ai-entry {
--td-button-border-radius: var(--tui-rail-item-radius, .75rem); --td-button-border-radius: var(--tui-rail-item-radius, .75rem);
@@ -241,3 +251,6 @@ const pageClass = computed(() => ({
} }
} }
</style> </style>
+29 -15
View File
@@ -1,26 +1,40 @@
<template> <template>
<div class="logo"> <span class="logo brand-logo" role="img" aria-label="糕店护理管理">
<span>糕</span> <img class="light" src="/icons/brand.svg" alt="" />
</div> <img class="dark" src="/icons/brand-dark.svg" alt="" />
</span>
</template> </template>
<script setup lang="ts">
</script>
<style scoped lang="less"> <style scoped lang="less">
.logo { .brand-logo {
color: #FFF;
width: 5rem; width: 5rem;
height: 5rem; height: 5rem;
display: grid; display: block;
background: #0f766e; background: #fff;
box-shadow: 0 .75rem 1.5rem rgba(15, 118, 110, .22);
place-items: center;
border-radius: 1.25rem; border-radius: 1.25rem;
span { img {
font-size: 2rem; width: 100%;
font-weight: 800; height: 100%;
}
.dark {
display: none;
} }
} }
:global(html.theme-dark .brand-logo) {
background: #263943;
box-shadow: inset 0 0 0 .0625rem rgba(208, 245, 231, .12);
}
:global(html.theme-dark .brand-logo .light) {
display: none;
}
:global(html.theme-dark .brand-logo .dark) {
display: block;
}
</style> </style>