diff --git a/workloads/ecommerce/app/globals.css b/workloads/ecommerce/app/globals.css index c657470..29ac09a 100644 --- a/workloads/ecommerce/app/globals.css +++ b/workloads/ecommerce/app/globals.css @@ -1,11 +1,12 @@ @import "tailwindcss"; @theme { - /* ADR 0008 ("Navy & Coral") -- reemplaza ADR 0007 (Opcion 2, "Atelier - calido"). Ver docs-portal/docs/decisiones/0008-identidad-navy-coral.md */ - --color-ari-marino: #122844; /* ancla: header, footer, badge "Nuevo", fondo de hero */ - --color-ari-coral: #D85A30; /* acento unico de accion: CTA, precio destacado */ - --color-ari-coral-claro: #F0997B; /* acento secundario: subtitulos sobre marino, ala inferior del isotipo */ + /* ADR 0008 -- paleta final "Azul & Amarillo" (inspirada en Walmart), + iteracion sobre "Navy & Coral". Ver + docs-portal/docs/decisiones/0008-identidad-navy-coral.md */ + --color-ari-marino: #0055B8; /* ancla: header, footer, badge "Nuevo", fondo de hero */ + --color-ari-coral: #0055B8; /* boton de accion (CTA): azul solido, nunca amarillo */ + --color-ari-coral-claro: #FFC220; /* acento: badges de oferta/descuento/urgencia, detalles del isotipo -- nunca en botones */ /* Alias de compatibilidad -- ADR 0007 definio estos nombres y hoy los siguen consumiendo catalog-client.tsx, product-card.tsx y button.tsx @@ -33,8 +34,8 @@ html { scroll-behavior: smooth; } body { margin: 0; background: #FFFFFF; color: var(--color-slate-900); font-family: var(--font-inter), ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; text-rendering: optimizeLegibility; } button, a { -webkit-tap-highlight-color: transparent; } -button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid rgb(216 90 48 / .5); outline-offset: 3px; } -::selection { background: rgb(216 90 48 / .15); color: var(--color-slate-900); } +button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid rgb(0 85 184 / .5); outline-offset: 3px; } +::selection { background: rgb(0 85 184 / .15); color: var(--color-slate-900); } .content-auto { content-visibility: auto; diff --git a/workloads/ecommerce/app/icon.svg b/workloads/ecommerce/app/icon.svg index 1f9d2a7..472bc47 100644 --- a/workloads/ecommerce/app/icon.svg +++ b/workloads/ecommerce/app/icon.svg @@ -1,14 +1,15 @@ - + - + - - - - - + + + + + diff --git a/workloads/ecommerce/app/layout.tsx b/workloads/ecommerce/app/layout.tsx index eaa36a2..cacfd56 100644 --- a/workloads/ecommerce/app/layout.tsx +++ b/workloads/ecommerce/app/layout.tsx @@ -21,7 +21,7 @@ export const metadata: Metadata = { openGraph: { title: "ARI Shopping", description: "Tesoros para cada aventura.", type: "website", locale: "es_CO" }, }; -export const viewport: Viewport = { width: "device-width", initialScale: 1, themeColor: "#122844" }; +export const viewport: Viewport = { width: "device-width", initialScale: 1, themeColor: "#0055B8" }; // ADR 0008 ("Navy & Coral"): Poppins peso 700 para los "momentos de marca" // (wordmark, h1/h2, precio, CTA) + Inter para body/UI -- solo se carga el diff --git a/workloads/ecommerce/components/layout/navbar.tsx b/workloads/ecommerce/components/layout/navbar.tsx index d765f80..54b8bf6 100644 --- a/workloads/ecommerce/components/layout/navbar.tsx +++ b/workloads/ecommerce/components/layout/navbar.tsx @@ -50,7 +50,7 @@ export function Navbar({ products, categories }: { products: Product[]; categori
-
+
{/* eslint-disable-next-line @next/next/no-img-element -- vector propio, next/image no optimiza SVG sin habilitar dangerouslyAllowSVG */} diff --git a/workloads/ecommerce/components/product/product-card.tsx b/workloads/ecommerce/components/product/product-card.tsx index b2a499a..2893dec 100644 --- a/workloads/ecommerce/components/product/product-card.tsx +++ b/workloads/ecommerce/components/product/product-card.tsx @@ -36,11 +36,11 @@ export function ProductCard({ product, priority = false }: { product: Product; p
{product.name} -
{discountPercent && discountPercent > 0 && -{discountPercent}%}{product.isNew && Nuevo}{product.featured && Top}
+
{discountPercent && discountPercent > 0 && -{discountPercent}%}{product.isNew && Nuevo}{product.featured && Top}
-
{product.category}{product.collection}
+
{product.category}{product.collection}

{product.name}

{product.shortDescription}

{product.variants.length > 1 && ( diff --git a/workloads/ecommerce/public/images/brand/logo-ari.svg b/workloads/ecommerce/public/images/brand/logo-ari.svg index 3d41a14..5888a0e 100644 --- a/workloads/ecommerce/public/images/brand/logo-ari.svg +++ b/workloads/ecommerce/public/images/brand/logo-ari.svg @@ -1,15 +1,16 @@ - - + - - - - - + + + + + ARI - shopping + shopping