Add robust themes, drag-drop layout, and manual screenshot controls
This commit is contained in:
@@ -11,7 +11,7 @@ const DIST_DIR = path.join(__dirname, 'dist')
|
|||||||
const INDEX_FILE = path.join(DIST_DIR, 'index.html')
|
const INDEX_FILE = path.join(DIST_DIR, 'index.html')
|
||||||
|
|
||||||
const app = express()
|
const app = express()
|
||||||
app.use(express.json({ limit: '2mb' }))
|
app.use(express.json({ limit: '10mb' }))
|
||||||
|
|
||||||
app.get('/api/admin-content', async (_req, res) => {
|
app.get('/api/admin-content', async (_req, res) => {
|
||||||
try {
|
try {
|
||||||
|
|||||||
+301
-7
@@ -9,11 +9,12 @@
|
|||||||
|
|
||||||
.hero {
|
.hero {
|
||||||
border: 1px solid var(--line);
|
border: 1px solid var(--line);
|
||||||
border-radius: 24px;
|
border-radius: var(--radius-panel);
|
||||||
padding: 2rem;
|
padding: 2rem;
|
||||||
background:
|
background:
|
||||||
radial-gradient(circle at 90% 0%, var(--hero-glow) 0%, rgba(247, 216, 166, 0) 46%),
|
radial-gradient(circle at 90% 0%, var(--hero-glow) 0%, rgba(247, 216, 166, 0) 46%),
|
||||||
linear-gradient(135deg, var(--surface-soft) 0%, var(--bg-bottom) 100%);
|
linear-gradient(135deg, var(--surface-soft) 0%, var(--bg-bottom) 100%);
|
||||||
|
box-shadow: var(--shadow-elevated);
|
||||||
animation: reveal 480ms ease-out both;
|
animation: reveal 480ms ease-out both;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -86,9 +87,10 @@ h1 {
|
|||||||
|
|
||||||
.stats article {
|
.stats article {
|
||||||
border: 1px solid var(--line);
|
border: 1px solid var(--line);
|
||||||
border-radius: 14px;
|
border-radius: var(--radius-tile);
|
||||||
padding: 0.9rem 1rem;
|
padding: 0.9rem 1rem;
|
||||||
background: var(--surface);
|
background: var(--surface);
|
||||||
|
box-shadow: var(--shadow);
|
||||||
}
|
}
|
||||||
|
|
||||||
.stats p {
|
.stats p {
|
||||||
@@ -105,6 +107,29 @@ h1 {
|
|||||||
line-height: 1.25;
|
line-height: 1.25;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.home-layout {
|
||||||
|
display: grid;
|
||||||
|
grid-template-columns: minmax(0, 1.8fr) minmax(260px, 0.9fr);
|
||||||
|
gap: 1rem;
|
||||||
|
align-items: start;
|
||||||
|
}
|
||||||
|
|
||||||
|
.home-main,
|
||||||
|
.home-sidebar {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
gap: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.home-block {
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.home-sidebar .grid,
|
||||||
|
.home-sidebar .stats {
|
||||||
|
grid-template-columns: 1fr;
|
||||||
|
}
|
||||||
|
|
||||||
.grid {
|
.grid {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||||
@@ -113,12 +138,29 @@ h1 {
|
|||||||
|
|
||||||
.card {
|
.card {
|
||||||
border: 1px solid var(--line);
|
border: 1px solid var(--line);
|
||||||
border-radius: 18px;
|
border-radius: var(--radius-card);
|
||||||
padding: 1rem;
|
padding: 1rem;
|
||||||
background: var(--surface);
|
background: var(--surface);
|
||||||
|
box-shadow: var(--shadow);
|
||||||
|
transition: box-shadow 220ms ease, transform 220ms ease;
|
||||||
animation: reveal 500ms ease-out both;
|
animation: reveal 500ms ease-out both;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.card:hover {
|
||||||
|
box-shadow: var(--shadow-elevated);
|
||||||
|
transform: translateY(-2px);
|
||||||
|
}
|
||||||
|
|
||||||
|
.project-thumbnail {
|
||||||
|
width: 100%;
|
||||||
|
aspect-ratio: 16 / 9;
|
||||||
|
object-fit: cover;
|
||||||
|
border: 1px solid var(--line);
|
||||||
|
border-radius: var(--radius-note);
|
||||||
|
background: var(--surface-soft);
|
||||||
|
margin-bottom: 0.75rem;
|
||||||
|
}
|
||||||
|
|
||||||
.card h2 {
|
.card h2 {
|
||||||
margin: 0.65rem 0 0.4rem;
|
margin: 0.65rem 0 0.4rem;
|
||||||
font-family: var(--display);
|
font-family: var(--display);
|
||||||
@@ -209,7 +251,7 @@ h1 {
|
|||||||
.stack li {
|
.stack li {
|
||||||
padding: 0.28rem 0.5rem;
|
padding: 0.28rem 0.5rem;
|
||||||
background: var(--chip-bg);
|
background: var(--chip-bg);
|
||||||
border-radius: 8px;
|
border-radius: var(--radius-chip);
|
||||||
font-size: 0.8rem;
|
font-size: 0.8rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -242,7 +284,7 @@ h1 {
|
|||||||
|
|
||||||
.notes {
|
.notes {
|
||||||
border: 1px dashed var(--line);
|
border: 1px dashed var(--line);
|
||||||
border-radius: 12px;
|
border-radius: var(--radius-note);
|
||||||
padding: 1rem;
|
padding: 1rem;
|
||||||
background: var(--surface-soft);
|
background: var(--surface-soft);
|
||||||
}
|
}
|
||||||
@@ -257,6 +299,40 @@ h1 {
|
|||||||
color: var(--ink-muted);
|
color: var(--ink-muted);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.downloads-grid {
|
||||||
|
margin-top: 0.9rem;
|
||||||
|
display: grid;
|
||||||
|
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
|
||||||
|
gap: 0.8rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.download-card {
|
||||||
|
border: 1px solid var(--line);
|
||||||
|
border-radius: var(--radius-note);
|
||||||
|
padding: 0.9rem;
|
||||||
|
background: var(--surface);
|
||||||
|
box-shadow: var(--shadow);
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
gap: 0.55rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.download-card h4 {
|
||||||
|
margin: 0;
|
||||||
|
font-family: var(--display);
|
||||||
|
}
|
||||||
|
|
||||||
|
.download-card a {
|
||||||
|
width: fit-content;
|
||||||
|
text-decoration: none;
|
||||||
|
color: var(--accent);
|
||||||
|
font-weight: 700;
|
||||||
|
}
|
||||||
|
|
||||||
|
.download-card a:hover {
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
|
||||||
.readme-panel a {
|
.readme-panel a {
|
||||||
margin-top: 0.7rem;
|
margin-top: 0.7rem;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
@@ -323,9 +399,10 @@ h1 {
|
|||||||
|
|
||||||
.detail-card {
|
.detail-card {
|
||||||
border: 1px solid var(--line);
|
border: 1px solid var(--line);
|
||||||
border-radius: 14px;
|
border-radius: var(--radius-tile);
|
||||||
background: var(--surface);
|
background: var(--surface);
|
||||||
padding: 1rem;
|
padding: 1rem;
|
||||||
|
box-shadow: var(--shadow);
|
||||||
}
|
}
|
||||||
|
|
||||||
.detail-card h3 {
|
.detail-card h3 {
|
||||||
@@ -343,6 +420,52 @@ h1 {
|
|||||||
font-size: 0.9rem;
|
font-size: 0.9rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.admin-notice {
|
||||||
|
border: 1px solid var(--line);
|
||||||
|
border-radius: var(--radius-tile);
|
||||||
|
padding: 0.9rem 1rem;
|
||||||
|
background: var(--surface);
|
||||||
|
}
|
||||||
|
|
||||||
|
.admin-notice p {
|
||||||
|
margin: 0;
|
||||||
|
font-weight: 600;
|
||||||
|
}
|
||||||
|
|
||||||
|
.admin-notice.success {
|
||||||
|
border-color: #9fd0ae;
|
||||||
|
background: #edf8f0;
|
||||||
|
color: #145a32;
|
||||||
|
}
|
||||||
|
|
||||||
|
.admin-notice.error {
|
||||||
|
border-color: #d9a69a;
|
||||||
|
background: #fff1ec;
|
||||||
|
color: #8c2c13;
|
||||||
|
}
|
||||||
|
|
||||||
|
.admin-tabs {
|
||||||
|
display: flex;
|
||||||
|
gap: 0.55rem;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
}
|
||||||
|
|
||||||
|
.admin-tab {
|
||||||
|
border: 1px solid var(--line);
|
||||||
|
border-radius: 999px;
|
||||||
|
padding: 0.55rem 0.95rem;
|
||||||
|
background: var(--surface);
|
||||||
|
color: var(--ink);
|
||||||
|
font-weight: 700;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
.admin-tab.active {
|
||||||
|
background: var(--accent);
|
||||||
|
border-color: var(--accent);
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
.admin-panel {
|
.admin-panel {
|
||||||
background: var(--surface);
|
background: var(--surface);
|
||||||
}
|
}
|
||||||
@@ -363,7 +486,7 @@ h1 {
|
|||||||
.admin-input {
|
.admin-input {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
border: 1px solid var(--line);
|
border: 1px solid var(--line);
|
||||||
border-radius: 10px;
|
border-radius: var(--radius-input);
|
||||||
padding: 0.55rem 0.7rem;
|
padding: 0.55rem 0.7rem;
|
||||||
font: inherit;
|
font: inherit;
|
||||||
color: var(--ink);
|
color: var(--ink);
|
||||||
@@ -375,6 +498,87 @@ h1 {
|
|||||||
resize: vertical;
|
resize: vertical;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.admin-checkbox-row {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 0.65rem;
|
||||||
|
color: var(--ink);
|
||||||
|
}
|
||||||
|
|
||||||
|
.layout-manager {
|
||||||
|
margin-top: 1rem;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
gap: 0.7rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.layout-manager h4 {
|
||||||
|
margin: 0;
|
||||||
|
font-family: var(--display);
|
||||||
|
}
|
||||||
|
|
||||||
|
.layout-manager p {
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.layout-row {
|
||||||
|
border: 1px solid var(--line);
|
||||||
|
border-radius: 12px;
|
||||||
|
padding: 0.85rem;
|
||||||
|
background: var(--surface-soft);
|
||||||
|
display: grid;
|
||||||
|
grid-template-columns: minmax(0, 1fr) auto auto;
|
||||||
|
gap: 0.75rem;
|
||||||
|
align-items: center;
|
||||||
|
cursor: grab;
|
||||||
|
}
|
||||||
|
|
||||||
|
.layout-row:active {
|
||||||
|
cursor: grabbing;
|
||||||
|
}
|
||||||
|
|
||||||
|
.layout-row strong {
|
||||||
|
display: block;
|
||||||
|
color: var(--ink);
|
||||||
|
}
|
||||||
|
|
||||||
|
.layout-row p {
|
||||||
|
margin-top: 0.2rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.layout-select {
|
||||||
|
min-width: 10rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.layout-actions {
|
||||||
|
display: flex;
|
||||||
|
gap: 0.5rem;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
justify-content: flex-end;
|
||||||
|
}
|
||||||
|
|
||||||
|
.drag-hint {
|
||||||
|
display: inline-block;
|
||||||
|
margin-bottom: 0.25rem;
|
||||||
|
font-size: 0.75rem;
|
||||||
|
font-weight: 700;
|
||||||
|
letter-spacing: 0.04em;
|
||||||
|
text-transform: uppercase;
|
||||||
|
color: var(--ink-muted);
|
||||||
|
}
|
||||||
|
|
||||||
|
.drag-pill {
|
||||||
|
display: inline-flex;
|
||||||
|
align-items: center;
|
||||||
|
border: 1px solid var(--line);
|
||||||
|
border-radius: 999px;
|
||||||
|
padding: 0.35rem 0.65rem;
|
||||||
|
background: var(--surface);
|
||||||
|
color: var(--ink-muted);
|
||||||
|
font-size: 0.8rem;
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
|
|
||||||
.scan-row {
|
.scan-row {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
@@ -430,6 +634,84 @@ h1 {
|
|||||||
border-color: var(--accent);
|
border-color: var(--accent);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.downloads-editor {
|
||||||
|
margin-top: 1rem;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
gap: 0.8rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.downloads-editor-header {
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
align-items: center;
|
||||||
|
gap: 0.8rem;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
}
|
||||||
|
|
||||||
|
.downloads-editor-header h4 {
|
||||||
|
margin: 0;
|
||||||
|
font-family: var(--display);
|
||||||
|
}
|
||||||
|
|
||||||
|
.download-editor-card {
|
||||||
|
border: 1px solid var(--line);
|
||||||
|
border-radius: 12px;
|
||||||
|
padding: 0.9rem;
|
||||||
|
background: var(--surface-soft);
|
||||||
|
display: grid;
|
||||||
|
gap: 0.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.admin-secondary-button {
|
||||||
|
border: 1px solid var(--line);
|
||||||
|
border-radius: 10px;
|
||||||
|
padding: 0.5rem 0.8rem;
|
||||||
|
background: var(--surface);
|
||||||
|
color: var(--ink);
|
||||||
|
font-weight: 600;
|
||||||
|
cursor: pointer;
|
||||||
|
width: fit-content;
|
||||||
|
}
|
||||||
|
|
||||||
|
.admin-secondary-button:disabled {
|
||||||
|
opacity: 0.55;
|
||||||
|
cursor: not-allowed;
|
||||||
|
}
|
||||||
|
|
||||||
|
.thumbnail-actions {
|
||||||
|
display: flex;
|
||||||
|
gap: 0.55rem;
|
||||||
|
align-items: flex-end;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
}
|
||||||
|
|
||||||
|
.thumbnail-file-input {
|
||||||
|
width: min(100%, 320px);
|
||||||
|
}
|
||||||
|
|
||||||
|
.admin-thumbnail-preview {
|
||||||
|
border: 1px solid var(--line);
|
||||||
|
border-radius: var(--radius-note);
|
||||||
|
padding: 0.6rem;
|
||||||
|
background: var(--surface);
|
||||||
|
}
|
||||||
|
|
||||||
|
.admin-thumbnail-preview img {
|
||||||
|
width: 100%;
|
||||||
|
max-width: 420px;
|
||||||
|
aspect-ratio: 16 / 9;
|
||||||
|
object-fit: cover;
|
||||||
|
border-radius: var(--radius-note);
|
||||||
|
border: 1px solid var(--line);
|
||||||
|
}
|
||||||
|
|
||||||
|
.thumbnail-mode-note {
|
||||||
|
margin-top: 0.45rem;
|
||||||
|
font-size: 0.85rem;
|
||||||
|
color: var(--ink-muted);
|
||||||
|
}
|
||||||
|
|
||||||
code {
|
code {
|
||||||
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
|
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
|
||||||
background: #f0ece6;
|
background: #f0ece6;
|
||||||
@@ -471,6 +753,18 @@ code {
|
|||||||
grid-template-columns: 1fr;
|
grid-template-columns: 1fr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.home-layout {
|
||||||
|
grid-template-columns: 1fr;
|
||||||
|
}
|
||||||
|
|
||||||
|
.layout-row {
|
||||||
|
grid-template-columns: 1fr;
|
||||||
|
}
|
||||||
|
|
||||||
|
.layout-actions {
|
||||||
|
justify-content: flex-start;
|
||||||
|
}
|
||||||
|
|
||||||
.stats article:last-child {
|
.stats article:last-child {
|
||||||
grid-column: auto;
|
grid-column: auto;
|
||||||
}
|
}
|
||||||
|
|||||||
+964
-113
File diff suppressed because it is too large
Load Diff
@@ -5,6 +5,7 @@ export type Project = {
|
|||||||
title: string
|
title: string
|
||||||
domain: string
|
domain: string
|
||||||
url: string
|
url: string
|
||||||
|
thumbnailUrl?: string
|
||||||
readmeUrl?: string
|
readmeUrl?: string
|
||||||
category: string
|
category: string
|
||||||
access: 'Public' | 'Login required' | 'Mixed'
|
access: 'Public' | 'Login required' | 'Mixed'
|
||||||
|
|||||||
+108
@@ -15,6 +15,14 @@
|
|||||||
--input-bg: #fffdf9;
|
--input-bg: #fffdf9;
|
||||||
--display: 'Rockwell', 'Bookman Old Style', 'Georgia', serif;
|
--display: 'Rockwell', 'Bookman Old Style', 'Georgia', serif;
|
||||||
--body: 'Trebuchet MS', 'Segoe UI', Tahoma, sans-serif;
|
--body: 'Trebuchet MS', 'Segoe UI', Tahoma, sans-serif;
|
||||||
|
--radius-card: 18px;
|
||||||
|
--radius-tile: 14px;
|
||||||
|
--radius-panel: 24px;
|
||||||
|
--radius-note: 12px;
|
||||||
|
--radius-input: 10px;
|
||||||
|
--radius-chip: 8px;
|
||||||
|
--shadow: 0 1px 4px rgba(0, 0, 0, 0.06), 0 2px 8px rgba(0, 0, 0, 0.04);
|
||||||
|
--shadow-elevated: 0 4px 16px rgba(0, 0, 0, 0.10), 0 8px 24px rgba(0, 0, 0, 0.06);
|
||||||
|
|
||||||
font-family: var(--body);
|
font-family: var(--body);
|
||||||
line-height: 1.45;
|
line-height: 1.45;
|
||||||
@@ -57,6 +65,8 @@
|
|||||||
--pill-bg: #31445b;
|
--pill-bg: #31445b;
|
||||||
--pill-ink: #d9e5f3;
|
--pill-ink: #d9e5f3;
|
||||||
--input-bg: #121d2b;
|
--input-bg: #121d2b;
|
||||||
|
--shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
|
||||||
|
--shadow-elevated: 0 6px 24px rgba(0, 0, 0, 0.6);
|
||||||
}
|
}
|
||||||
|
|
||||||
:root[data-theme='forest'] {
|
:root[data-theme='forest'] {
|
||||||
@@ -93,6 +103,104 @@
|
|||||||
--input-bg: #fff9f4;
|
--input-bg: #fff9f4;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
:root[data-theme='rose'] {
|
||||||
|
--bg: #fcf0f4;
|
||||||
|
--ink: #2d1825;
|
||||||
|
--ink-muted: #7d4b63;
|
||||||
|
--line: #f0c4d8;
|
||||||
|
--accent: #b8325a;
|
||||||
|
--hero-glow: #f4aec8;
|
||||||
|
--bg-radial: #fde3ec;
|
||||||
|
--bg-bottom: #f8dde8;
|
||||||
|
--surface: #ffffff;
|
||||||
|
--surface-soft: #fff7fa;
|
||||||
|
--chip-bg: #fdeef3;
|
||||||
|
--pill-bg: #fbd6e5;
|
||||||
|
--pill-ink: #8a2444;
|
||||||
|
--input-bg: #fffcfd;
|
||||||
|
--radius-card: 22px;
|
||||||
|
--radius-tile: 18px;
|
||||||
|
--radius-panel: 32px;
|
||||||
|
--radius-note: 16px;
|
||||||
|
--radius-input: 12px;
|
||||||
|
--radius-chip: 10px;
|
||||||
|
--shadow: 0 2px 10px rgba(184, 50, 90, 0.08), 0 1px 4px rgba(0, 0, 0, 0.04);
|
||||||
|
--shadow-elevated: 0 6px 28px rgba(184, 50, 90, 0.14), 0 2px 8px rgba(0, 0, 0, 0.06);
|
||||||
|
--display: 'Georgia', 'Book Antiqua', 'Palatino', serif;
|
||||||
|
}
|
||||||
|
|
||||||
|
:root[data-theme='slate'] {
|
||||||
|
--bg: #f0f2f6;
|
||||||
|
--ink: #181d28;
|
||||||
|
--ink-muted: #49556e;
|
||||||
|
--line: #cdd3e0;
|
||||||
|
--accent: #3455e0;
|
||||||
|
--hero-glow: #b5c1f5;
|
||||||
|
--bg-radial: #e2e7f4;
|
||||||
|
--bg-bottom: #e4e8f0;
|
||||||
|
--surface: #ffffff;
|
||||||
|
--surface-soft: #f5f7fb;
|
||||||
|
--chip-bg: #edf0f8;
|
||||||
|
--pill-bg: #dce2f8;
|
||||||
|
--pill-ink: #1e38be;
|
||||||
|
--input-bg: #f9fafc;
|
||||||
|
--radius-card: 8px;
|
||||||
|
--radius-tile: 6px;
|
||||||
|
--radius-panel: 12px;
|
||||||
|
--radius-note: 8px;
|
||||||
|
--radius-input: 6px;
|
||||||
|
--radius-chip: 4px;
|
||||||
|
--shadow: 0 1px 6px rgba(0, 0, 0, 0.08), 0 3px 10px rgba(52, 85, 224, 0.06);
|
||||||
|
--shadow-elevated: 0 4px 20px rgba(0, 0, 0, 0.12), 0 8px 20px rgba(52, 85, 224, 0.08);
|
||||||
|
--display: 'Trebuchet MS', 'Segoe UI', Tahoma, sans-serif;
|
||||||
|
}
|
||||||
|
|
||||||
|
:root[data-theme='aurora'] {
|
||||||
|
--bg: #0c1220;
|
||||||
|
--ink: #e5edf8;
|
||||||
|
--ink-muted: #8096bb;
|
||||||
|
--line: #263050;
|
||||||
|
--accent: #00c9a7;
|
||||||
|
--hero-glow: #0a4040;
|
||||||
|
--bg-radial: #121d38;
|
||||||
|
--bg-bottom: #090f1c;
|
||||||
|
--surface: #131e34;
|
||||||
|
--surface-soft: #192438;
|
||||||
|
--chip-bg: #1e2e50;
|
||||||
|
--pill-bg: #0e3040;
|
||||||
|
--pill-ink: #7ef0d8;
|
||||||
|
--input-bg: #0c1625;
|
||||||
|
--shadow: 0 2px 12px rgba(0, 0, 0, 0.45), 0 0 20px rgba(0, 201, 167, 0.06);
|
||||||
|
--shadow-elevated: 0 6px 28px rgba(0, 0, 0, 0.6), 0 0 40px rgba(0, 201, 167, 0.12);
|
||||||
|
--display: 'Courier New', Courier, monospace;
|
||||||
|
}
|
||||||
|
|
||||||
|
:root[data-theme='amethyst'] {
|
||||||
|
--bg: #f2eff9;
|
||||||
|
--ink: #1c1435;
|
||||||
|
--ink-muted: #5e4e90;
|
||||||
|
--line: #d4c8f0;
|
||||||
|
--accent: #7c3aed;
|
||||||
|
--hero-glow: #c4b0e8;
|
||||||
|
--bg-radial: #e8e1f8;
|
||||||
|
--bg-bottom: #e2d9f5;
|
||||||
|
--surface: #ffffff;
|
||||||
|
--surface-soft: #f8f6fc;
|
||||||
|
--chip-bg: #f0ecfa;
|
||||||
|
--pill-bg: #e6dbf8;
|
||||||
|
--pill-ink: #5a28b5;
|
||||||
|
--input-bg: #fbfafe;
|
||||||
|
--radius-card: 24px;
|
||||||
|
--radius-tile: 18px;
|
||||||
|
--radius-panel: 32px;
|
||||||
|
--radius-note: 18px;
|
||||||
|
--radius-input: 14px;
|
||||||
|
--radius-chip: 10px;
|
||||||
|
--shadow: 0 2px 10px rgba(124, 58, 237, 0.10), 0 1px 4px rgba(0, 0, 0, 0.04);
|
||||||
|
--shadow-elevated: 0 6px 28px rgba(124, 58, 237, 0.16), 0 2px 8px rgba(0, 0, 0, 0.06);
|
||||||
|
--display: 'Georgia', 'Book Antiqua', 'Palatino', serif;
|
||||||
|
}
|
||||||
|
|
||||||
* {
|
* {
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user