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 => (