style: switch from PrimeText to EdenText logo
This commit is contained in:
1 parent
b20ea051ad
commit
cc1e606d7a
3 files changed
+11
-8
No files matched your search
Binary file not shown.
|
After Width: | Height: | Size: 9.7 KiB |
+8
-5
@@ -591,8 +591,8 @@
|
||||
<div class="toolbar-clip" id="primary-toolbar" bind:this={toolbarClipEl} onwheel={onToolbarWheel}>
|
||||
<div class="toolbar-stack" bind:this={toolbarStackEl} style="transform: translateX(-{tbScroll}px);">
|
||||
<header class:expanded={toolbarExpanded}>
|
||||
<button class="logo-btn" onclick={() => (aboutOpen = true)} aria-label="About PrimeText" title="About PrimeText">
|
||||
<img src="/PrimeText.png" alt="PrimeText" class="app-logo" />
|
||||
<button class="logo-btn" onclick={() => (aboutOpen = true)} aria-label="About EdenText" title="About EdenText">
|
||||
<img src="/EdenText.png" alt="EdenText" class="app-logo" />
|
||||
</button>
|
||||
<Toolbar editor={activeEditor} tick={activeTick} />
|
||||
<div class="header-actions">
|
||||
@@ -1014,17 +1014,20 @@
|
||||
.logo-btn {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
padding: 4px;
|
||||
justify-content: center;
|
||||
height: var(--toolbar-btn-size);
|
||||
padding: 0 0.4rem;
|
||||
margin: 0 0.25rem 0 1.4rem;
|
||||
border: none;
|
||||
border: 1px solid transparent;
|
||||
border-radius: var(--radius);
|
||||
background: transparent;
|
||||
cursor: pointer;
|
||||
transition: background 0.12s;
|
||||
transition: background 0.15s, border-color 0.15s;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.logo-btn:hover {
|
||||
background: var(--color-btn-hover);
|
||||
border-color: var(--color-primary);
|
||||
}
|
||||
|
||||
.app-logo {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<script lang="ts">
|
||||
// Placeholder until the project's repository is public; swap the URL when known.
|
||||
const REPO_URL = 'https://github.com/your-org/primetext';
|
||||
const REPO_URL = 'https://github.com/your-org/edentext';
|
||||
|
||||
let { open = $bindable(false) }: { open?: boolean } = $props();
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
bind:this={dialogEl}
|
||||
onclose={onClose}
|
||||
onclick={onClick}
|
||||
aria-label="About PrimeText"
|
||||
aria-label="About EdenText"
|
||||
>
|
||||
<div class="card">
|
||||
<button class="close" onclick={() => (open = false)} aria-label="Close" title="Close">
|
||||
@@ -40,7 +40,7 @@
|
||||
</svg>
|
||||
</button>
|
||||
|
||||
<img class="logo" src="/PrimeText.png" alt="PrimeText" />
|
||||
<img class="logo" src="/EdenText.png" alt="EdenText" />
|
||||
|
||||
<p class="tagline">A private editor for OpenDocument files — runs entirely in your browser.</p>
|
||||
|
||||
|
||||
Reference in new issue
Block a user