refactor(web): esquinas como variables del tema (--radius)

Los radios estaban escritos en cada componente. Ahora salen de --radius
(campos), --radius-lg (botones), --radius-pill (insignias) y --radius-panel
(tablas y ventanas, 0 por defecto). Sin cambio visual: un tema nuevo puede
redondear la interfaz sin tocar componentes.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
GeorgeandClaude Sonnet 5.5 committed 2026-10-13 20:05:32 -05:00
1 parent 598307960e
commit fad66abec4
10 files changed
+22 -11

No files matched your search

+1 -1
View File
@@ -26,7 +26,7 @@ import { MenuService } from '../../core/menu/menu.service';
.sub { margin: 2px 0 16px; color: var(--quiet); }
h2 { margin: 12px 0 6px; font-size: 13px; color: var(--quiet); text-transform: uppercase; letter-spacing: .4px; }
.links { display: flex; flex-wrap: wrap; gap: 6px; }
a { padding: 4px 12px; background: var(--panel); border: 1px solid var(--line); border-radius: 3px; color: var(--ink); text-decoration: none; }
a { padding: 4px 12px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg); color: var(--ink); text-decoration: none; }
a:hover { background: var(--row-sel); border-color: var(--focus); }
`,
})
@@ -52,7 +52,7 @@ label {
width: 100%;
padding: 2px 8px;
border: 1px solid var(--field-b);
border-radius: 2px;
border-radius: var(--radius);
background: var(--field);
}
.in:focus {
@@ -64,7 +64,7 @@ label {
margin-top: 14px;
height: 32px;
border: 1px solid var(--btn-b);
border-radius: 3px;
border-radius: var(--radius-lg);
background: var(--btn);
cursor: pointer;
}