feat(theme): refine light mode palette, transparent retro monitor, and component contrast
This commit is contained in:
parent
fbda8f2329
commit
382525c42a
|
|
@ -150,6 +150,18 @@
|
||||||
box-shadow: 0 0 12px rgba(226, 185, 74, 0.3);
|
box-shadow: 0 0 12px rgba(226, 185, 74, 0.3);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
:host-context([data-theme='zen-light']) .send-request-btn,
|
||||||
|
:host-context(body.theme-light) .send-request-btn {
|
||||||
|
background: #0f172a;
|
||||||
|
color: #ffffff;
|
||||||
|
}
|
||||||
|
|
||||||
|
:host-context([data-theme='zen-light']) .send-request-btn:hover:not(:disabled),
|
||||||
|
:host-context(body.theme-light) .send-request-btn:hover:not(:disabled) {
|
||||||
|
background: #1e293b;
|
||||||
|
box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2);
|
||||||
|
}
|
||||||
|
|
||||||
.send-request-btn.loading {
|
.send-request-btn.loading {
|
||||||
opacity: 0.7;
|
opacity: 0.7;
|
||||||
cursor: not-allowed;
|
cursor: not-allowed;
|
||||||
|
|
|
||||||
|
|
@ -253,3 +253,45 @@
|
||||||
.launcher-bot-svg { width: 26px; height: 26px; }
|
.launcher-bot-svg { width: 26px; height: 26px; }
|
||||||
.chat-window-card { width: 100%; height: 430px; max-height: calc(100vh - 100px); }
|
.chat-window-card { width: 100%; height: 430px; max-height: calc(100vh - 100px); }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Adaptación Modo Claro */
|
||||||
|
:host-context([data-theme='zen-light']) .chat-launcher-btn,
|
||||||
|
:host-context(body.theme-light) .chat-launcher-btn {
|
||||||
|
background: rgba(255, 255, 255, 0.94);
|
||||||
|
box-shadow: 0 8px 28px rgba(15, 23, 42, 0.15), 0 0 14px rgba(217, 119, 6, 0.2);
|
||||||
|
}
|
||||||
|
|
||||||
|
:host-context([data-theme='zen-light']) .chat-launcher-btn:hover,
|
||||||
|
:host-context(body.theme-light) .chat-launcher-btn:hover {
|
||||||
|
background: #ffffff;
|
||||||
|
box-shadow: 0 12px 36px rgba(15, 23, 42, 0.22), 0 0 20px rgba(217, 119, 6, 0.35);
|
||||||
|
}
|
||||||
|
|
||||||
|
:host-context([data-theme='zen-light']) .chat-window-card,
|
||||||
|
:host-context(body.theme-light) .chat-window-card {
|
||||||
|
background: rgba(255, 255, 255, 0.97);
|
||||||
|
box-shadow: 0 14px 42px rgba(15, 23, 42, 0.14), 0 0 1px 1px rgba(15, 23, 42, 0.08);
|
||||||
|
}
|
||||||
|
|
||||||
|
:host-context([data-theme='zen-light']) .chat-header,
|
||||||
|
:host-context(body.theme-light) .chat-header,
|
||||||
|
:host-context([data-theme='zen-light']) .chat-input-bar,
|
||||||
|
:host-context(body.theme-light) .chat-input-bar {
|
||||||
|
background: #f8f9fb;
|
||||||
|
}
|
||||||
|
|
||||||
|
:host-context([data-theme='zen-light']) .avatar-ring,
|
||||||
|
:host-context(body.theme-light) .avatar-ring {
|
||||||
|
background: #ffffff;
|
||||||
|
}
|
||||||
|
|
||||||
|
:host-context([data-theme='zen-light']) .quick-chip-btn,
|
||||||
|
:host-context(body.theme-light) .quick-chip-btn {
|
||||||
|
background: rgba(15, 23, 42, 0.03);
|
||||||
|
}
|
||||||
|
|
||||||
|
:host-context([data-theme='zen-light']) .quick-chip-btn:hover,
|
||||||
|
:host-context(body.theme-light) .quick-chip-btn:hover {
|
||||||
|
background: rgba(217, 119, 6, 0.08);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -286,6 +286,18 @@
|
||||||
box-shadow: 0 0 16px rgba(197, 155, 39, 0.35);
|
box-shadow: 0 0 16px rgba(197, 155, 39, 0.35);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
:host-context([data-theme='zen-light']) .submit-btn,
|
||||||
|
:host-context(body.theme-light) .submit-btn {
|
||||||
|
background-color: #0f172a;
|
||||||
|
color: #ffffff;
|
||||||
|
}
|
||||||
|
|
||||||
|
:host-context([data-theme='zen-light']) .submit-btn:hover:not(:disabled),
|
||||||
|
:host-context(body.theme-light) .submit-btn:hover:not(:disabled) {
|
||||||
|
background-color: #1e293b;
|
||||||
|
box-shadow: 0 4px 16px rgba(15, 23, 42, 0.25);
|
||||||
|
}
|
||||||
|
|
||||||
.submit-btn:active:not(:disabled) {
|
.submit-btn:active:not(:disabled) {
|
||||||
transform: scale(0.98);
|
transform: scale(0.98);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -209,6 +209,18 @@
|
||||||
box-shadow: 0 0 10px rgba(226, 185, 74, 0.3);
|
box-shadow: 0 0 10px rgba(226, 185, 74, 0.3);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
:host-context([data-theme='zen-light']) .submit-firm-btn,
|
||||||
|
:host-context(body.theme-light) .submit-firm-btn {
|
||||||
|
background: #0f172a;
|
||||||
|
color: #ffffff;
|
||||||
|
}
|
||||||
|
|
||||||
|
:host-context([data-theme='zen-light']) .submit-firm-btn:hover:not(:disabled),
|
||||||
|
:host-context(body.theme-light) .submit-firm-btn:hover:not(:disabled) {
|
||||||
|
background: #1e293b;
|
||||||
|
box-shadow: 0 4px 14px rgba(15, 23, 42, 0.25);
|
||||||
|
}
|
||||||
|
|
||||||
.submit-firm-btn:disabled {
|
.submit-firm-btn:disabled {
|
||||||
opacity: 0.6;
|
opacity: 0.6;
|
||||||
cursor: not-allowed;
|
cursor: not-allowed;
|
||||||
|
|
|
||||||
|
|
@ -11,8 +11,8 @@
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
padding-top: clamp(4.5rem, 8vh, 6.5rem);
|
padding-top: clamp(4.5rem, 8vh, 6.5rem);
|
||||||
background: #ffffff;
|
background: var(--zen-bg-base, #f8f9fb);
|
||||||
color: #000000;
|
color: var(--zen-text-primary, #0f172a);
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
@ -82,14 +82,14 @@
|
||||||
font-weight: 800;
|
font-weight: 800;
|
||||||
letter-spacing: -0.04em;
|
letter-spacing: -0.04em;
|
||||||
line-height: 1.05;
|
line-height: 1.05;
|
||||||
color: #000000;
|
color: var(--zen-text-primary, #0f172a);
|
||||||
}
|
}
|
||||||
|
|
||||||
.hero-subtext {
|
.hero-subtext {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
font-family: var(--font-sans);
|
font-family: var(--font-sans);
|
||||||
font-size: clamp(1rem, 1.4vw, 1.15rem);
|
font-size: clamp(1rem, 1.4vw, 1.15rem);
|
||||||
color: #52525b;
|
color: var(--zen-text-secondary, #475569);
|
||||||
line-height: 1.5;
|
line-height: 1.5;
|
||||||
max-width: 520px;
|
max-width: 520px;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
display: block;
|
display: block;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
min-height: 100vh;
|
min-height: 100vh;
|
||||||
background-color: #121517;
|
background-color: var(--zen-bg-base, #121517);
|
||||||
color: var(--zen-text-primary);
|
color: var(--zen-text-primary);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -12,7 +12,7 @@
|
||||||
width: 100%;
|
width: 100%;
|
||||||
min-height: 100vh;
|
min-height: 100vh;
|
||||||
position: relative;
|
position: relative;
|
||||||
background-color: #121517;
|
background-color: var(--zen-bg-base, #121517);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ==============================================================================
|
/* ==============================================================================
|
||||||
|
|
@ -170,38 +170,38 @@
|
||||||
/* Modo Claro Adaptativo para el Header y Navegación */
|
/* Modo Claro Adaptativo para el Header y Navegación */
|
||||||
:host-context([data-theme='zen-light']) .zen-header,
|
:host-context([data-theme='zen-light']) .zen-header,
|
||||||
:host-context(body.theme-light) .zen-header {
|
:host-context(body.theme-light) .zen-header {
|
||||||
background: rgba(255, 255, 255, 0.85);
|
background: rgba(248, 249, 251, 0.88);
|
||||||
border-bottom: 1px solid rgba(0, 0, 0, 0.08);
|
border-bottom: 1px solid var(--zen-border-subtle, rgba(15, 23, 42, 0.08));
|
||||||
}
|
}
|
||||||
|
|
||||||
:host-context([data-theme='zen-light']) .nav-item,
|
:host-context([data-theme='zen-light']) .nav-item,
|
||||||
:host-context(body.theme-light) .nav-item {
|
:host-context(body.theme-light) .nav-item {
|
||||||
color: #52525b;
|
color: var(--zen-text-secondary, #475569);
|
||||||
}
|
}
|
||||||
|
|
||||||
:host-context([data-theme='zen-light']) .nav-item:hover,
|
:host-context([data-theme='zen-light']) .nav-item:hover,
|
||||||
:host-context(body.theme-light) .nav-item:hover {
|
:host-context(body.theme-light) .nav-item:hover {
|
||||||
color: #000000;
|
color: var(--zen-text-primary, #0f172a);
|
||||||
background: rgba(0, 0, 0, 0.05);
|
background: rgba(15, 23, 42, 0.05);
|
||||||
}
|
}
|
||||||
|
|
||||||
:host-context([data-theme='zen-light']) .nav-item.active,
|
:host-context([data-theme='zen-light']) .nav-item.active,
|
||||||
:host-context(body.theme-light) .nav-item.active {
|
:host-context(body.theme-light) .nav-item.active {
|
||||||
color: #000000;
|
color: var(--zen-text-primary, #0f172a);
|
||||||
background: rgba(0, 0, 0, 0.08);
|
background: rgba(15, 23, 42, 0.08);
|
||||||
border-color: rgba(0, 0, 0, 0.25);
|
border-color: rgba(15, 23, 42, 0.25);
|
||||||
}
|
}
|
||||||
|
|
||||||
:host-context([data-theme='zen-light']) .cyber-matrix-stage-wrapper,
|
:host-context([data-theme='zen-light']) .cyber-matrix-stage-wrapper,
|
||||||
:host-context(body.theme-light) .cyber-matrix-stage-wrapper {
|
:host-context(body.theme-light) .cyber-matrix-stage-wrapper {
|
||||||
background-color: #fafafa;
|
background-color: var(--zen-bg-base, #f8f9fb);
|
||||||
background-image: radial-gradient(rgba(0, 0, 0, 0.06) 1px, transparent 1px);
|
background-image: radial-gradient(rgba(15, 23, 42, 0.06) 1px, transparent 1px);
|
||||||
background-size: 26px 26px;
|
background-size: 26px 26px;
|
||||||
}
|
}
|
||||||
|
|
||||||
:host-context([data-theme='zen-light']) .fullscreen-stage,
|
:host-context([data-theme='zen-light']) .fullscreen-stage,
|
||||||
:host-context(body.theme-light) .fullscreen-stage {
|
:host-context(body.theme-light) .fullscreen-stage {
|
||||||
border-bottom-color: rgba(0, 0, 0, 0.06);
|
border-bottom-color: rgba(15, 23, 42, 0.06);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ==============================================================================
|
/* ==============================================================================
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,11 @@
|
||||||
(click)="scrollToSection('hero')"
|
(click)="scrollToSection('hero')"
|
||||||
[attr.aria-label]="i18n.t().navHome"
|
[attr.aria-label]="i18n.t().navHome"
|
||||||
>
|
>
|
||||||
<img src="assets/images/logo.jpg" alt="Bryan Baño" class="brand-logo" />
|
<img
|
||||||
|
[src]="themeService.isLightMode() ? 'assets/images/logo-light.png' : 'assets/images/logo.jpg'"
|
||||||
|
alt="Bryan Baño"
|
||||||
|
class="brand-logo"
|
||||||
|
/>
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
<!-- Barra de Navegación Rápida Zen -->
|
<!-- Barra de Navegación Rápida Zen -->
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
<div class="vintage-monitor-wrapper" (click)="closeStartMenu()">
|
<div class="vintage-monitor-wrapper" (click)="closeStartMenu()">
|
||||||
<!-- 1. Imagen del Monitor CRT en el Fondo (Chasis, Biseles, Botones y Base) -->
|
<!-- 1. Imagen del Monitor CRT en el Fondo (Transparente sin corte de bordes) -->
|
||||||
<img src="/assets/images/monitor.webp" alt="Monitor CRT Vintage" class="monitor-background-img" loading="eager" />
|
<img src="/assets/images/monitor-transparent.webp" alt="Monitor CRT Vintage" class="monitor-background-img" loading="eager" />
|
||||||
|
|
||||||
<!-- 2. Pantalla Windows XP Sobrepuesta en el Área del Tubo (100% Visible e Interactiva) -->
|
<!-- 2. Pantalla Windows XP Sobrepuesta en el Área del Tubo (100% Visible e Interactiva) -->
|
||||||
<div class="monitor-screen-glass">
|
<div class="monitor-screen-glass">
|
||||||
|
|
|
||||||
|
|
@ -59,11 +59,16 @@
|
||||||
font-family: var(--font-sans);
|
font-family: var(--font-sans);
|
||||||
font-size: clamp(2rem, 5cqw, 3rem);
|
font-size: clamp(2rem, 5cqw, 3rem);
|
||||||
font-weight: 900;
|
font-weight: 900;
|
||||||
color: #ffffff;
|
color: var(--zen-text-primary);
|
||||||
line-height: 1.1;
|
line-height: 1.1;
|
||||||
letter-spacing: -0.03em;
|
letter-spacing: -0.03em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
:host-context([data-theme='zen-light']) .ascii-portrait,
|
||||||
|
:host-context(body.theme-light) .ascii-portrait {
|
||||||
|
color: #475569;
|
||||||
|
}
|
||||||
|
|
||||||
.about-description {
|
.about-description {
|
||||||
margin: 0 0 var(--space-4) 0;
|
margin: 0 0 var(--space-4) 0;
|
||||||
color: var(--zen-text-secondary);
|
color: var(--zen-text-secondary);
|
||||||
|
|
|
||||||
|
|
@ -327,3 +327,61 @@
|
||||||
width: 290px;
|
width: 290px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* ==============================================================================
|
||||||
|
ADAPTACIÓN PARA MODO CLARO (ZEN LIGHT)
|
||||||
|
============================================================================== */
|
||||||
|
|
||||||
|
:host-context([data-theme='zen-light']) .hud-pill,
|
||||||
|
:host-context(body.theme-light) .hud-pill {
|
||||||
|
background: rgba(255, 255, 255, 0.85);
|
||||||
|
border-color: rgba(15, 23, 42, 0.12);
|
||||||
|
color: #475569;
|
||||||
|
box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
|
||||||
|
}
|
||||||
|
|
||||||
|
:host-context([data-theme='zen-light']) .hud-pill:hover,
|
||||||
|
:host-context(body.theme-light) .hud-pill:hover,
|
||||||
|
:host-context([data-theme='zen-light']) .hud-pill.active,
|
||||||
|
:host-context(body.theme-light) .hud-pill.active {
|
||||||
|
background: #ffffff;
|
||||||
|
border-color: rgba(15, 23, 42, 0.25);
|
||||||
|
color: #0f172a;
|
||||||
|
}
|
||||||
|
|
||||||
|
:host-context([data-theme='zen-light']) .hud-ping-badge,
|
||||||
|
:host-context(body.theme-light) .hud-ping-badge {
|
||||||
|
background: rgba(15, 23, 42, 0.05);
|
||||||
|
border-color: rgba(15, 23, 42, 0.08);
|
||||||
|
}
|
||||||
|
|
||||||
|
:host-context([data-theme='zen-light']) .hud-drawer,
|
||||||
|
:host-context(body.theme-light) .hud-drawer {
|
||||||
|
background: rgba(255, 255, 255, 0.96);
|
||||||
|
backdrop-filter: blur(16px);
|
||||||
|
-webkit-backdrop-filter: blur(16px);
|
||||||
|
border-color: rgba(15, 23, 42, 0.1);
|
||||||
|
box-shadow: 0 20px 48px rgba(15, 23, 42, 0.12), 0 0 1px 1px rgba(15, 23, 42, 0.05);
|
||||||
|
}
|
||||||
|
|
||||||
|
:host-context([data-theme='zen-light']) .node-card,
|
||||||
|
:host-context(body.theme-light) .node-card,
|
||||||
|
:host-context([data-theme='zen-light']) .metric-tile,
|
||||||
|
:host-context(body.theme-light) .metric-tile {
|
||||||
|
background: #f1f4f8;
|
||||||
|
border-color: rgba(15, 23, 42, 0.08);
|
||||||
|
}
|
||||||
|
|
||||||
|
:host-context([data-theme='zen-light']) .zen-action-btn,
|
||||||
|
:host-context(body.theme-light) .zen-action-btn {
|
||||||
|
border-color: rgba(15, 23, 42, 0.15);
|
||||||
|
color: #475569;
|
||||||
|
}
|
||||||
|
|
||||||
|
:host-context([data-theme='zen-light']) .zen-action-btn:hover,
|
||||||
|
:host-context(body.theme-light) .zen-action-btn:hover {
|
||||||
|
background: rgba(15, 23, 42, 0.05);
|
||||||
|
border-color: #0f172a;
|
||||||
|
color: #0f172a;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -235,3 +235,10 @@
|
||||||
.ghost-spacer {
|
.ghost-spacer {
|
||||||
visibility: hidden;
|
visibility: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
:host-context([data-theme='zen-light']) .arch-terminal-card,
|
||||||
|
:host-context(body.theme-light) .arch-terminal-card {
|
||||||
|
box-shadow: 0 20px 48px rgba(15, 23, 42, 0.16), 0 1px 3px rgba(15, 23, 42, 0.08);
|
||||||
|
border-color: rgba(15, 23, 42, 0.12);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Binary file not shown.
|
After Width: | Height: | Size: 37 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 280 KiB |
|
|
@ -69,40 +69,40 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ==============================================================================
|
/* ==============================================================================
|
||||||
TEMA: VERCEL-INSPIRED ZEN LIGHT (Modo Claro & Glassmorphism)
|
TEMA: VERCEL-INSPIRED ZEN LIGHT (Modo Claro de Alto Contraste & Glassmorphism)
|
||||||
============================================================================== */
|
============================================================================== */
|
||||||
|
|
||||||
[data-theme='zen-light'],
|
[data-theme='zen-light'],
|
||||||
body.theme-light {
|
body.theme-light {
|
||||||
--zen-bg-abyss: #ffffff;
|
--zen-bg-abyss: #f1f4f8;
|
||||||
--zen-bg-base: #fbfbfc;
|
--zen-bg-base: #f8f9fb;
|
||||||
--zen-bg-surface: rgba(255, 255, 255, 0.88);
|
--zen-bg-surface: rgba(255, 255, 255, 0.92);
|
||||||
--zen-bg-elevated: #f4f4f6;
|
--zen-bg-elevated: #ffffff;
|
||||||
--zen-bg-overlay: rgba(255, 255, 255, 0.9);
|
--zen-bg-overlay: rgba(248, 249, 251, 0.88);
|
||||||
|
|
||||||
--zen-border-subtle: rgba(0, 0, 0, 0.08);
|
--zen-border-subtle: rgba(15, 23, 42, 0.09);
|
||||||
--zen-border-focus: #000000;
|
--zen-border-focus: #0f172a;
|
||||||
--zen-border-kintsugi: #c59b27;
|
--zen-border-kintsugi: #d97706;
|
||||||
|
|
||||||
--zen-text-primary: #000000;
|
--zen-text-primary: #0f172a;
|
||||||
--zen-text-secondary: #52525b;
|
--zen-text-secondary: #475569;
|
||||||
--zen-text-muted: #71717a;
|
--zen-text-muted: #64748b;
|
||||||
--zen-text-gold: #b45309;
|
--zen-text-gold: #b45309;
|
||||||
|
|
||||||
--zen-accent-kintsugi: #000000;
|
--zen-accent-kintsugi: #d97706;
|
||||||
--zen-accent-matcha: #16a34a;
|
--zen-accent-matcha: #15803d;
|
||||||
--zen-accent-sakura: #e11d48;
|
--zen-accent-sakura: #be123c;
|
||||||
--zen-accent-amber: #d97706;
|
--zen-accent-amber: #b45309;
|
||||||
--zen-accent-cyan: #0284c7;
|
--zen-accent-cyan: #0369a1;
|
||||||
|
|
||||||
--term-bg: #090b0e;
|
--term-bg: #090b0e;
|
||||||
--term-prompt: #4e9b6f;
|
--term-prompt: #4e9b6f;
|
||||||
--term-text: #d8dee9;
|
--term-text: #d8dee9;
|
||||||
--term-cursor: #e2b94a;
|
--term-cursor: #e2b94a;
|
||||||
|
|
||||||
--zen-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
|
--zen-shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
|
||||||
--zen-shadow-md: 0 8px 24px rgba(0, 0, 0, 0.07);
|
--zen-shadow-md: 0 8px 24px rgba(15, 23, 42, 0.07);
|
||||||
--zen-shadow-window: 0 20px 48px rgba(0, 0, 0, 0.1), 0 0 1px 1px rgba(0, 0, 0, 0.06);
|
--zen-shadow-window: 0 20px 48px rgba(15, 23, 42, 0.1), 0 0 1px 1px rgba(15, 23, 42, 0.06);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Tema 2: Retro CRT Ámbar (Estación de trabajo vintage) */
|
/* Tema 2: Retro CRT Ámbar (Estación de trabajo vintage) */
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue