feat(theme): bump accent chroma, push sensory zones apart, richer status tokens
Phase 10b colour push: theme reads as Magnotia, not "subdued generic dark". Same lightness band as Phase 10a (AA preserved), more chroma across accent, status tokens, and zone surfaces. Dark accent: #c98555 -> #d68450 (subtle/hover/glow recomputed). Light accent: #a06a3e -> #a3683a. Dark status: success #7ec89a -> #5fc28a, danger #e87171 -> #e85f5f, warning #e8c86e -> #e8be4a. Light status: success #2f7549 -> #1f7344, danger #a83838 -> #b32626, warning #b89a3e -> #a08a1f. Sensory zones pushed further apart so each zone reads as its own environment: cave cools toward blue-grey, energy warms toward red-orange, reset cools toward green. AA on body text verified for every Card surface in both themes. Stale accent rgba (201,133,85) replaced with new (214,132,80) across nine files. --shadow-accent in colors_and_type.css mirrored. No secondary tint token added: Magnotia's identity is amber-as-the-only- meaningful-colour. Cheaper to add a second meaningful colour later if a real need appears than to dilute the discipline now. Default surfaces, text tokens, and borders untouched per scope.
This commit is contained in:
@@ -817,7 +817,7 @@
|
||||
? 'bg-warning opacity-60 cursor-wait'
|
||||
: !tauriRuntimeAvailable
|
||||
? 'bg-bg-elevated text-text-tertiary cursor-not-allowed'
|
||||
: 'bg-accent hover:bg-accent-hover shadow-[0_4px_20px_rgba(201,133,85,0.3)]'}"
|
||||
: 'bg-accent hover:bg-accent-hover shadow-[0_4px_20px_rgba(214,132,80,0.3)]'}"
|
||||
onclick={toggleRecording}
|
||||
disabled={modelLoading || !tauriRuntimeAvailable}
|
||||
aria-label={page.recording ? "Stop recording" : "Start recording"}
|
||||
|
||||
@@ -187,7 +187,7 @@
|
||||
<div class="flex items-center gap-2 px-7 pb-3">
|
||||
<button
|
||||
class="btn-lg rounded-lg font-medium text-white bg-accent hover:bg-accent-hover
|
||||
shadow-[0_2px_8px_rgba(201,133,85,0.2)]"
|
||||
shadow-[0_2px_8px_rgba(214,132,80,0.2)]"
|
||||
onclick={handleBrowse}
|
||||
disabled={transcribing}
|
||||
>
|
||||
@@ -213,7 +213,7 @@
|
||||
<div class="px-7 pb-3 animate-fade-in">
|
||||
<div class="h-[3px] bg-bg-elevated rounded-full overflow-hidden">
|
||||
<div
|
||||
class="h-full bg-accent rounded-full shadow-[0_0_8px_rgba(201,133,85,0.4)]"
|
||||
class="h-full bg-accent rounded-full shadow-[0_0_8px_rgba(214,132,80,0.4)]"
|
||||
style="width: {progress}%; transition-duration: var(--duration-ui)"
|
||||
></div>
|
||||
</div>
|
||||
|
||||
@@ -1043,7 +1043,7 @@
|
||||
placeholder="Search settings"
|
||||
bind:value={settingsSearch}
|
||||
class="w-full bg-bg-input border border-border rounded-lg pl-9 pr-9 py-2 text-[13px] text-text placeholder:text-text-tertiary
|
||||
focus:outline-none focus:border-accent focus:shadow-[0_0_0_3px_rgba(201,133,85,0.1)]"
|
||||
focus:outline-none focus:border-accent focus:shadow-[0_0_0_3px_rgba(214,132,80,0.1)]"
|
||||
aria-label="Search settings"
|
||||
/>
|
||||
{#if searchActive}
|
||||
@@ -1083,7 +1083,7 @@
|
||||
<div class="flex items-center gap-3">
|
||||
<select
|
||||
class="bg-bg-input border border-border rounded-lg px-3 py-2 text-[13px] text-text
|
||||
focus:outline-none focus:border-accent focus:shadow-[0_0_0_3px_rgba(201,133,85,0.1)]
|
||||
focus:outline-none focus:border-accent focus:shadow-[0_0_0_3px_rgba(214,132,80,0.1)]
|
||||
appearance-none cursor-pointer min-w-[280px] max-w-full"
|
||||
bind:value={settings.microphoneDevice}
|
||||
onfocus={refreshAudioDevices}
|
||||
@@ -1142,7 +1142,7 @@
|
||||
<div class="flex items-center gap-2 flex-wrap">
|
||||
<select
|
||||
class="bg-bg-input border border-border rounded-lg px-3 py-2 text-[13px] text-text
|
||||
focus:outline-none focus:border-accent focus:shadow-[0_0_0_3px_rgba(201,133,85,0.1)]
|
||||
focus:outline-none focus:border-accent focus:shadow-[0_0_0_3px_rgba(214,132,80,0.1)]
|
||||
appearance-none cursor-pointer min-w-[220px]"
|
||||
value={profilesStore.activeProfileId}
|
||||
onchange={onActiveProfileChange}
|
||||
@@ -1212,7 +1212,7 @@
|
||||
onblur={renameActiveProfile}
|
||||
onkeydown={(e) => { if (e.key === 'Enter') e.target.blur(); }}
|
||||
class="bg-bg-input border border-border rounded-lg px-3 py-2 text-[13px] text-text min-w-[280px]
|
||||
focus:outline-none focus:border-accent focus:shadow-[0_0_0_3px_rgba(201,133,85,0.1)]"
|
||||
focus:outline-none focus:border-accent focus:shadow-[0_0_0_3px_rgba(214,132,80,0.1)]"
|
||||
/>
|
||||
</div>
|
||||
|
||||
@@ -1228,7 +1228,7 @@
|
||||
onblur={saveInitialPrompt}
|
||||
placeholder="e.g. Meeting between Jake and Wren about CORBEL's Furnished World architecture."
|
||||
class="w-full h-[96px] bg-bg-input border border-border rounded-lg px-3 py-2 text-[12px] text-text resize-none
|
||||
focus:outline-none focus:border-accent focus:shadow-[0_0_0_3px_rgba(201,133,85,0.1)]"
|
||||
focus:outline-none focus:border-accent focus:shadow-[0_0_0_3px_rgba(214,132,80,0.1)]"
|
||||
></textarea>
|
||||
<div class="flex items-center gap-3 mt-1">
|
||||
{#if initialPromptDirty}
|
||||
@@ -1254,7 +1254,7 @@
|
||||
bind:value={newVocabTerm}
|
||||
onkeydown={(e) => { if (e.key === 'Enter') addVocabTerm(); }}
|
||||
class="flex-1 bg-bg-input border border-border rounded-lg px-3 py-2 text-[13px] text-text
|
||||
focus:outline-none focus:border-accent focus:shadow-[0_0_0_3px_rgba(201,133,85,0.1)]"
|
||||
focus:outline-none focus:border-accent focus:shadow-[0_0_0_3px_rgba(214,132,80,0.1)]"
|
||||
/>
|
||||
<input
|
||||
type="text"
|
||||
@@ -1262,7 +1262,7 @@
|
||||
bind:value={newVocabNote}
|
||||
onkeydown={(e) => { if (e.key === 'Enter') addVocabTerm(); }}
|
||||
class="flex-1 bg-bg-input border border-border rounded-lg px-3 py-2 text-[13px] text-text
|
||||
focus:outline-none focus:border-accent focus:shadow-[0_0_0_3px_rgba(201,133,85,0.1)]"
|
||||
focus:outline-none focus:border-accent focus:shadow-[0_0_0_3px_rgba(214,132,80,0.1)]"
|
||||
/>
|
||||
<button
|
||||
type="button"
|
||||
@@ -1288,7 +1288,7 @@
|
||||
rows="4"
|
||||
disabled={bulkVocabBusy}
|
||||
class="w-full bg-bg border border-border rounded-lg px-3 py-2 text-[13px] text-text font-mono
|
||||
focus:outline-none focus:border-accent focus:shadow-[0_0_0_3px_rgba(201,133,85,0.1)]
|
||||
focus:outline-none focus:border-accent focus:shadow-[0_0_0_3px_rgba(214,132,80,0.1)]
|
||||
disabled:opacity-50 resize-y"
|
||||
></textarea>
|
||||
<div class="flex items-center gap-2 mt-2">
|
||||
@@ -1583,7 +1583,7 @@
|
||||
{#if hasGpuAcceleration()}
|
||||
<select
|
||||
class="bg-bg-input border border-border rounded-lg px-3 py-2 text-[13px] text-text
|
||||
focus:outline-none focus:border-accent focus:shadow-[0_0_0_3px_rgba(201,133,85,0.1)]
|
||||
focus:outline-none focus:border-accent focus:shadow-[0_0_0_3px_rgba(214,132,80,0.1)]
|
||||
appearance-none cursor-pointer w-[220px]"
|
||||
bind:value={settings.device}
|
||||
>
|
||||
@@ -1614,7 +1614,7 @@
|
||||
{#if currentModelIsEnglishOnly()}
|
||||
<select
|
||||
class="bg-bg-input border border-border rounded-lg px-3 py-2 text-[13px] text-text
|
||||
focus:outline-none focus:border-accent focus:shadow-[0_0_0_3px_rgba(201,133,85,0.1)]
|
||||
focus:outline-none focus:border-accent focus:shadow-[0_0_0_3px_rgba(214,132,80,0.1)]
|
||||
appearance-none cursor-not-allowed w-[220px]"
|
||||
bind:value={settings.language}
|
||||
disabled
|
||||
@@ -1624,7 +1624,7 @@
|
||||
{:else}
|
||||
<select
|
||||
class="bg-bg-input border border-border rounded-lg px-3 py-2 text-[13px] text-text
|
||||
focus:outline-none focus:border-accent focus:shadow-[0_0_0_3px_rgba(201,133,85,0.1)]
|
||||
focus:outline-none focus:border-accent focus:shadow-[0_0_0_3px_rgba(214,132,80,0.1)]
|
||||
appearance-none cursor-pointer w-[140px]"
|
||||
bind:value={settings.language}
|
||||
>
|
||||
@@ -2317,7 +2317,7 @@
|
||||
<button
|
||||
class="rounded-lg font-medium px-3.5 py-[6px] text-[12px]
|
||||
{$currentLocale === option.code
|
||||
? 'bg-accent text-bg shadow-[0_1px_4px_rgba(201,133,85,0.3)]'
|
||||
? 'bg-accent text-bg shadow-[0_1px_4px_rgba(214,132,80,0.3)]'
|
||||
: 'text-text-secondary hover:text-text hover:bg-hover'}"
|
||||
style="transition-duration: var(--duration-ui)"
|
||||
onclick={() => setLocale(option.code)}
|
||||
|
||||
Reference in New Issue
Block a user