diff --git a/frontend/src/components/react/DeletePostButton.tsx b/frontend/src/components/react/DeletePostButton.tsx index 0434bd4..0f85539 100644 --- a/frontend/src/components/react/DeletePostButton.tsx +++ b/frontend/src/components/react/DeletePostButton.tsx @@ -60,7 +60,7 @@ export default function DeletePostButton({ slug, title, variant = 'full' }: Prop type="button" onClick={handleClick} disabled={busy} - className="btn btn--danger btn--sm" + className="btn btn--danger" > setVimEnabled(v => !v)} - className={`btn btn--sm${vimEnabled ? ' is-active' : ''}`} + className={`btn btn--ghost btn--sm${vimEnabled ? ' is-active' : ''}`} title={vimEnabled ? 'Vim mode ON' : 'Vim mode OFF'} > {vimEnabled ? 'VIM' : 'vim'} @@ -529,7 +529,7 @@ export default function Editor({ editSlug }: Props) { @@ -553,7 +553,7 @@ export default function Editor({ editSlug }: Props) { role="tab" aria-selected={mobileView === 'edit'} onClick={() => setMobileView('edit')} - className={`btn btn--sm flex-1${mobileView === 'edit' ? ' is-active' : ''}`} + className={`btn btn--ghost btn--sm flex-1${mobileView === 'edit' ? ' is-active' : ''}`} > Edit @@ -562,7 +562,7 @@ export default function Editor({ editSlug }: Props) { role="tab" aria-selected={mobileView === 'preview'} onClick={() => setMobileView('preview')} - className={`btn btn--sm flex-1${mobileView === 'preview' ? ' is-active' : ''}`} + className={`btn btn--ghost btn--sm flex-1${mobileView === 'preview' ? ' is-active' : ''}`} > Preview diff --git a/frontend/src/components/react/admin/Settings.tsx b/frontend/src/components/react/admin/Settings.tsx index cb63232..fb9cb90 100644 --- a/frontend/src/components/react/admin/Settings.tsx +++ b/frontend/src/components/react/admin/Settings.tsx @@ -203,7 +203,7 @@ export default function Settings() { diff --git a/frontend/src/pages/index.astro b/frontend/src/pages/index.astro index 9866d90..b30d979 100644 --- a/frontend/src/pages/index.astro +++ b/frontend/src/pages/index.astro @@ -100,7 +100,7 @@ const isAdmin = Astro.cookies.get('admin_session')?.value === '1'; New work - + Messages diff --git a/frontend/src/styles/global.css b/frontend/src/styles/global.css index bc01371..b7999f1 100644 --- a/frontend/src/styles/global.css +++ b/frontend/src/styles/global.css @@ -959,17 +959,17 @@ code, pre, kbd, samp { background: var(--mauve); color: var(--rosewater); border-color: var(--mauve); - box-shadow: 0 4px 0 -2px color-mix(in srgb, var(--mauve) 60%, black); + box-shadow: 0 4px 0 -2px color-mix(in srgb, var(--mauve) 55%, var(--crust)); } .btn--primary:hover { transform: translateY(-1px); background: var(--red); border-color: var(--red); - box-shadow: 0 6px 0 -2px color-mix(in srgb, var(--red) 60%, black); + box-shadow: 0 6px 0 -2px color-mix(in srgb, var(--red) 55%, var(--crust)); } .btn--primary:active { transform: translateY(1px); - box-shadow: 0 1px 0 -1px color-mix(in srgb, var(--mauve) 60%, black); + box-shadow: 0 1px 0 -1px color-mix(in srgb, var(--mauve) 55%, var(--crust)); } .btn--ghost { color: var(--subtext1); @@ -983,8 +983,8 @@ code, pre, kbd, samp { } .btn--danger { color: var(--red); - border-color: color-mix(in srgb, var(--red) 40%, var(--surface2)); - background: color-mix(in srgb, var(--surface0) 45%, transparent); + border-color: color-mix(in srgb, var(--red) 55%, var(--surface2)); + background: color-mix(in srgb, var(--red) 12%, transparent); } .btn--danger:hover { color: var(--rosewater);