1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-26 05:16:41 +07:00

Исправил цвета в альтернативной теме

This commit is contained in:
muerwre 2022-08-15 13:38:08 +07:00 committed by GitHub
parent b36dcca0df
commit 1745cc636d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 442 additions and 9 deletions

View file

@ -27,15 +27,15 @@ const ThemeSwitcher: FC<ThemeSwitcherProps> = () => {
onClick={() => setTheme(id as Theme)}
>
<Group>
<Group horizontal>
{item.colors.map((color) => (
<div className={styles.palette}>
{item.colors.reverse().map((color) => (
<div
key={color}
className={styles.sample}
style={{ background: color }}
/>
))}
</Group>
</div>
<div className={styles.title}>{item.name}</div>
</Group>
</Card>