Per owner decision: MediaEngine (the Media product family's Go backend and SvelteKit frontend, previously its own repo referenced by 7 thin service repos via git submodule) is folded directly into shared/ as media-backend/ and media-webui/, rather than staying separate. media-backend/go.mod's replace directive now points at ../backend (a true sibling within this repo) instead of a vendored ../shared/backend copy, since there's no more nested vendoring - it's the real thing. Also moved MediaEngine's own CI (media-backend-lint.yml, media-backend-tests.yml) and dev tooling scripts (scripts/media/*, audit/lint/enforce scripts for the media-backend+media-webui content), fixing their path assumptions for the new layout, and dropped scripts/media/sync-shared.mjs (confirmed dead code, and now doubly obsolete since there's no more vendored shared/ subfolder for it to check). Added media:* script aliases to package.json for the moved tooling, namespaced to avoid colliding with this repo's own scripts. Also fixed sync-consumers.ps1's workspace-root resolution to walk up until it finds a directory containing both Original/ and Forks/, instead of assuming shared/ is always a direct child of the workspace root - it broke when shared/ moved from Web/shared to Web/Central/shared earlier in this same restructuring. Removed the now-obsolete Original/MediaEngine entry from its consumer list. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
168 lines
3.9 KiB
CSS
168 lines
3.9 KiB
CSS
@import 'tailwindcss';
|
|
@import 'tw-animate-css';
|
|
|
|
:root,
|
|
[data-theme='dark'] {
|
|
--color-bg: #0b0f14;
|
|
--color-surface: #131820;
|
|
--color-surface-hover: #1c2330;
|
|
--color-border: #2a3140;
|
|
--color-fg: #e6e9ef;
|
|
--color-muted-fg: #8b95a5;
|
|
--color-primary: #5b8cff;
|
|
--color-primary-fg: #06122b;
|
|
--color-secondary: #2563eb;
|
|
--color-secondary-fg: #ffffff;
|
|
--color-accent: #5b8cff;
|
|
--color-accent-fg: #06122b;
|
|
--color-danger: #ef4444;
|
|
--color-danger-fg: #450a0a;
|
|
--color-success: #22c55e;
|
|
--color-success-fg: #052e14;
|
|
--color-warning: #f59e0b;
|
|
--color-warning-fg: #2a1a00;
|
|
--color-ring: #5b8cff;
|
|
color-scheme: dark;
|
|
}
|
|
|
|
[data-theme='light'] {
|
|
--color-bg: #f5f7fb;
|
|
--color-surface: #ffffff;
|
|
--color-surface-hover: #eef1f7;
|
|
--color-border: #dbe1ea;
|
|
--color-fg: #10151f;
|
|
--color-muted-fg: #5b6472;
|
|
--color-primary: #2f5fe0;
|
|
--color-primary-fg: #ffffff;
|
|
--color-secondary: #1e3fae;
|
|
--color-secondary-fg: #ffffff;
|
|
--color-accent: #2f5fe0;
|
|
--color-accent-fg: #ffffff;
|
|
--color-danger: #dc2626;
|
|
--color-danger-fg: #ffffff;
|
|
--color-success: #059669;
|
|
--color-success-fg: #ffffff;
|
|
--color-warning: #b45309;
|
|
--color-warning-fg: #ffffff;
|
|
--color-ring: #2f5fe0;
|
|
color-scheme: light;
|
|
}
|
|
|
|
@media (prefers-color-scheme: light) {
|
|
:root:not([data-theme]) {
|
|
--color-bg: #f5f7fb;
|
|
--color-surface: #ffffff;
|
|
--color-surface-hover: #eef1f7;
|
|
--color-border: #dbe1ea;
|
|
--color-fg: #10151f;
|
|
--color-muted-fg: #5b6472;
|
|
--color-primary: #2f5fe0;
|
|
--color-primary-fg: #ffffff;
|
|
--color-secondary: #1e3fae;
|
|
--color-secondary-fg: #ffffff;
|
|
--color-accent: #2f5fe0;
|
|
--color-accent-fg: #ffffff;
|
|
--color-danger: #dc2626;
|
|
--color-danger-fg: #ffffff;
|
|
--color-success: #059669;
|
|
--color-success-fg: #ffffff;
|
|
--color-warning: #b45309;
|
|
--color-warning-fg: #ffffff;
|
|
--color-ring: #2f5fe0;
|
|
color-scheme: light;
|
|
}
|
|
}
|
|
|
|
@theme inline {
|
|
--color-bg: var(--color-bg);
|
|
--color-surface: var(--color-surface);
|
|
--color-surface-hover: var(--color-surface-hover);
|
|
--color-border: var(--color-border);
|
|
--color-fg: var(--color-fg);
|
|
--color-muted-fg: var(--color-muted-fg);
|
|
--color-primary: var(--color-primary);
|
|
--color-primary-fg: var(--color-primary-fg);
|
|
--color-secondary: var(--color-secondary);
|
|
--color-secondary-fg: var(--color-secondary-fg);
|
|
--color-accent: var(--color-accent);
|
|
--color-accent-fg: var(--color-accent-fg);
|
|
--color-danger: var(--color-danger);
|
|
--color-danger-fg: var(--color-danger-fg);
|
|
--color-success: var(--color-success);
|
|
--color-success-fg: var(--color-success-fg);
|
|
--color-warning: var(--color-warning);
|
|
--color-warning-fg: var(--color-warning-fg);
|
|
--color-ring: var(--color-ring);
|
|
--font-sans: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
|
|
--font-mono: 'JetBrains Mono', 'Fira Code', Consolas, monospace;
|
|
}
|
|
|
|
html,
|
|
body {
|
|
min-height: 100%;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
background: var(--color-bg);
|
|
color: var(--color-fg);
|
|
font-family: var(--font-sans);
|
|
font-size: 14px;
|
|
line-height: 1.5;
|
|
transition:
|
|
background-color 150ms ease,
|
|
color 150ms ease;
|
|
}
|
|
|
|
button,
|
|
input,
|
|
select,
|
|
textarea {
|
|
font: inherit;
|
|
}
|
|
|
|
.field {
|
|
width: 100%;
|
|
height: 2.5rem;
|
|
border: 1px solid var(--color-border);
|
|
border-radius: 0.375rem;
|
|
background: var(--color-bg);
|
|
padding: 0 0.75rem;
|
|
color: var(--color-fg);
|
|
outline: none;
|
|
}
|
|
|
|
.field:focus-visible {
|
|
box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-ring) 35%, transparent);
|
|
}
|
|
|
|
* {
|
|
scrollbar-width: thin;
|
|
scrollbar-color: var(--color-border) transparent;
|
|
}
|
|
|
|
::selection {
|
|
background: var(--color-primary);
|
|
color: var(--color-primary-fg);
|
|
}
|
|
|
|
.media-shimmer {
|
|
background: linear-gradient(
|
|
90deg,
|
|
var(--color-surface) 25%,
|
|
var(--color-surface-hover) 50%,
|
|
var(--color-surface) 75%
|
|
);
|
|
background-size: 200% 100%;
|
|
animation: media-shimmer 1.5s infinite;
|
|
}
|
|
|
|
@keyframes media-shimmer {
|
|
0% {
|
|
background-position: -200% 0;
|
|
}
|
|
100% {
|
|
background-position: 200% 0;
|
|
}
|
|
}
|