From 983c659e9a5f819c8e88cf0269d8360cb442f8be Mon Sep 17 00:00:00 2001 From: simoleo89 <11816867+simoleo89@users.noreply.github.com> Date: Mon, 15 Jun 2026 21:25:12 +0200 Subject: [PATCH] style(vault): classic blue header + cool grey body (scoped to the window) Override the shared teal/cream primary-slim theme just for the Guadagni window: blue header gradient + grey-blue body, matching the reference. --- src/components/vault/VaultView.tsx | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/src/components/vault/VaultView.tsx b/src/components/vault/VaultView.tsx index ae2ea62..14dc7e9 100644 --- a/src/components/vault/VaultView.tsx +++ b/src/components/vault/VaultView.tsx @@ -47,6 +47,20 @@ const EARNINGS: EarningRow[] = [ { key: 'clubwork', textKey: 'earnings.clubwork.label', label: 'Club e Lavoro', img: imgGeneric, currencies: [ 0 ] } ]; +// Scoped colour override for the Guadagni window only: classic blue header + +// cool grey body (the shared 'primary-slim' theme is teal + cream). Higher +// specificity (.nitro-card.nitro-vault ...) than the theme so it wins. +const VAULT_STYLES = ` + .nitro-card.nitro-vault .nitro-card-header { + background: linear-gradient(180deg, #5a80b8 0%, #3f63a0 100%); + border-color: #34548a; + } + .nitro-card.nitro-vault, + .nitro-card.nitro-vault .content-area { + background: #dde1e6; + } +`; + export const VaultView: FC<{}> = props => { const [ isVisible, setIsVisible ] = useState(false); @@ -88,6 +102,7 @@ export const VaultView: FC<{}> = props => setIsVisible(false) } /> + { EARNINGS.map(row => (