feat(admin): add route templates to editor

This commit is contained in:
RhenCloud committed 2026-08-03 08:16:34 +08:00
1 parent d6c15a32cd
commit a001efea5f
4 files changed
+178 -1

No files matched your search

+33
View File
@@ -619,6 +619,39 @@ main {
color: var(--faint);
}
.templates {
display: flex;
flex-wrap: wrap;
gap: 6px;
}
.template-chip {
padding: 5px 12px;
background: var(--surface-2);
border: 1px solid var(--border-strong);
border-radius: 999px;
color: var(--muted);
font-family: var(--ui);
font-size: 12px;
font-weight: 600;
cursor: pointer;
transition:
border-color 0.15s,
color 0.15s,
background 0.15s;
}
.template-chip:hover {
border-color: var(--accent);
color: var(--accent);
}
.template-chip.active {
background: var(--accent-dim);
border-color: var(--accent);
color: var(--accent);
}
.field input[type="text"] {
width: 100%;
padding: 10px 12px;