fix(ui): tone down token-created success banner in dark mode
Add dark: variants for the green success banner on the account page so it doesn't appear overly bright against the dark background. Also tidy .gitignore to catch all .db and .db-journal files.
This commit is contained in:
parent
b5e91d9d0d
commit
6b1d6a3187
2 changed files with 5 additions and 5 deletions
4
.gitignore
vendored
4
.gitignore
vendored
|
|
@ -1,8 +1,8 @@
|
|||
target/
|
||||
result*
|
||||
brewlog.db
|
||||
*.db
|
||||
*.db-journal
|
||||
TODO.md
|
||||
SPEC.md
|
||||
backup.json
|
||||
.env
|
||||
static/css/styles.css
|
||||
|
|
@ -157,10 +157,10 @@
|
|||
</div>
|
||||
|
||||
<!-- One-time token display (hidden by default) -->
|
||||
<div id="token-created" class="mt-3 hidden rounded-lg border border-green-300 bg-green-50 p-5">
|
||||
<p class="text-sm font-medium text-green-800">Token created! Copy it now — you won't see it again.</p>
|
||||
<div id="token-created" class="mt-3 hidden rounded-lg border border-green-300 dark:border-green-800 bg-green-50 dark:bg-green-950/40 p-5">
|
||||
<p class="text-sm font-medium text-green-800 dark:text-green-300">Token created! Copy it now — you won't see it again.</p>
|
||||
<div class="mt-3 flex items-center gap-2">
|
||||
<code id="token-value" class="flex-1 rounded bg-surface px-3 py-2 text-sm font-mono text-text border border-green-200 break-all select-all"></code>
|
||||
<code id="token-value" class="flex-1 rounded bg-surface px-3 py-2 text-sm font-mono text-text border border-green-200 dark:border-green-800 break-all select-all"></code>
|
||||
<button
|
||||
type="button"
|
||||
onclick="copyToken(this)"
|
||||
|
|
|
|||
Loading…
Reference in a new issue