.root { --stat-chip-bg: light-dark( var(--mantine-color-white), var(--mantine-color-dark-8) ); width: fit-content; padding: var(--mantine-spacing-xxs); border-radius: var(--mantine-radius-md); background-color: var(--stat-chip-bg); transition: background-color 150ms ease; @mixin hover { --stat-chip-bg: light-dark( var(--mantine-color-gray-1), var(--mantine-color-dark-6) ); } } .avatar { border: 0; background: var(--stat-chip-bg); box-shadow: 0 0 0 2px var(--stat-chip-bg); }