mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 04:46:40 +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>
|
||||
|
|
|
@ -25,6 +25,16 @@
|
|||
@include outer_shadow;
|
||||
|
||||
border-radius: 100%;
|
||||
flex: 0 1 20px;
|
||||
height: 20px;
|
||||
flex: 0 1 24px;
|
||||
height: 24px;
|
||||
|
||||
&:not(:last-child) {
|
||||
margin-left: -8px;
|
||||
}
|
||||
}
|
||||
|
||||
.palette {
|
||||
display: flex;
|
||||
flex-direction: row-reverse;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue