style(client): unify modal backdrops with dedicated scrim tokens

Replace tinted modal veils with dedicated scrim tokens so dialogs, sheets, and image lightboxes dim consistently in both light and dark themes. Enforce scrim token usage in style validation to prevent backdrops that wash out in dark mode.
This commit is contained in:
neon
2026-09-29 03:42:01 +00:00
parent e92cc36146
commit 1dd389563c
68 changed files with 109 additions and 82 deletions
@@ -104,7 +104,7 @@ async function confirmDelete() {
<template>
<Teleport to="body">
<div v-if="open" class="fixed inset-0 z-50 flex items-center justify-center">
<div class="absolute inset-0 bg-black/40 backdrop-blur-sm" @click="emit('close')" />
<div class="absolute inset-0 bg-scrim" @click="emit('close')" />
<div class="relative z-10 w-full max-w-md mx-4 bg-card border border-border rounded-lg shadow-2xl p-6">
<div class="flex items-center justify-between mb-5">
<h2 class="text-base font-semibold text-foreground">{{ t('collection.editDialog.title') }}</h2>