mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-26 05:16:41 +07:00
Исправил цвета в альтернативной теме
This commit is contained in:
parent
b36dcca0df
commit
1745cc636d
8 changed files with 442 additions and 9 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue