Skip to content

Record your screen, ship a demo. Free and open-source, GPU-accelerated, no watermarks, no subscriptions. Windows, macOS, Linux. Actively maintained.

feat(topbar): swap the placeholder tile for the transparent brand mark

Etienne Lescot0428b10d3526
diff --git a/src/assets/openscreen-mark.png b/src/assets/openscreen-mark.png
new file mode 100644
index 000000000..3a86c525b
Binary files /dev/null and b/src/assets/openscreen-mark.png differ
diff --git a/src/components/ai-edition/v4/EditorShellV4.module.css b/src/components/ai-edition/v4/EditorShellV4.module.css
index bd02e784d..86fb60667 100644
--- a/src/components/ai-edition/v4/EditorShellV4.module.css
+++ b/src/components/ai-edition/v4/EditorShellV4.module.css
@@ -54,17 +54,15 @@
gap: 9px;
flex-shrink: 0;
}
-.brand img,
-.brand .mark {
- width: 22px;
- height: 22px;
+/* Transparent aperture mark: no plate behind it, so it needs a touch more box
+ than a filled tile would to hold the same optical weight next to the wordmark. */
+.brand img {
+ width: 24px;
+ height: 24px;
object-fit: contain;
- border-radius: 6px;
- display: grid;
- place-items: center;
- background: var(--accent);
- color: #fff;
- font: 600 12px/1 var(--font-display);
+ display: block;
+ flex-shrink: 0;
+ user-select: none;
}
.brand .name {
font-size: 15px;
diff --git a/src/components/ai-edition/v4/EditorTopBar.tsx b/src/components/ai-edition/v4/EditorTopBar.tsx
index 793727140..35f598a45 100644
--- a/src/components/ai-edition/v4/EditorTopBar.tsx
+++ b/src/components/ai-edition/v4/EditorTopBar.tsx
@@ -11,6 +11,7 @@ import {
Sun,
} from "lucide-react";
import { useEffect, useRef, useState } from "react";
+import logoMark from "@/assets/openscreen-mark.png";
import { useI18n, useScopedT } from "@/contexts/I18nContext";
import { useTheme } from "@/hooks/useTheme";
import { getAvailableLocales, getLocaleName, getLocaleShort } from "@/i18n/loader";
@@ -70,9 +71,8 @@ export function EditorTopBar({
</button>
<span className={styles.sep} aria-hidden />
<span className={styles.brand}>
- <span className={styles.mark} aria-hidden>
- O
- </span>
+ {/* Decorative: the wordmark right beside it already names the app. */}
+ <img src={logoMark} alt="" draggable={false} />
<span className={styles.name}>OpenScreen</span>
</span>
<span className={styles.sep} aria-hidden />