| 1 |
/* SPDX-License-Identifier: LGPL-2.1-or-later */ |
| 2 |
#badge { |
| 3 |
inline-size: 225px; |
| 4 |
block-size: 80px; |
| 5 |
background-image: url("logo.png"); |
| 6 |
background-size: contain; |
| 7 |
background-repeat: no-repeat; |
| 8 |
} |
| 9 |
|
| 10 |
#brand::before { |
| 11 |
content: "${NAME} <b>${VARIANT}</b>"; |
| 12 |
} |
| 13 |
|
| 14 |
.anaconda { |
| 15 |
/* Brand palette */ |
| 16 |
--brand-default-light: #51a2da; |
| 17 |
--brand-default: #3c6eb4; |
| 18 |
--brand-default-dark: #294172; |
| 19 |
|
| 20 |
.logo { |
| 21 |
background-image: url("logo.png"); |
| 22 |
} |
| 23 |
} |
| 24 |
|
| 25 |
:not(.pf-v6-theme-dark) .anaconda { |
| 26 |
/* Default (light theme) token mapping */ |
| 27 |
--pf-t--global--color--brand--default: var(--brand-default); |
| 28 |
--pf-t--global--color--brand--hover: var(--brand-default-dark); |
| 29 |
} |
| 30 |
|
| 31 |
.pf-v6-theme-dark .anaconda { |
| 32 |
/* Dark theme token mapping */ |
| 33 |
--pf-t--global--color--brand--default: var(--brand-default-light); |
| 34 |
--pf-t--global--color--brand--hover: var(--brand-default); |
| 35 |
} |