Theme changes
This commit is contained in:
@@ -58,8 +58,8 @@ function ThemeCard({
|
||||
padding: '8px',
|
||||
margin: '8px',
|
||||
borderRadius: '10px',
|
||||
backgroundColor: 'var(--color-text-acc)',
|
||||
color: 'var(--color-background)',
|
||||
backgroundColor: 'var(--mantine-color-accent-0)',
|
||||
color: 'var(--mantine-color-background-0)',
|
||||
}}
|
||||
>{`"${cardTheme.name}"`}</Text>
|
||||
<Text c='red'>This action cannot be undone!</Text>
|
||||
@@ -205,12 +205,13 @@ function ThemeCard({
|
||||
position: 'absolute',
|
||||
left: 0,
|
||||
top: 27 - shiftEdit,
|
||||
backgroundColor: shiftEdit === 0 ? 'white' : 'var(--color-background)',
|
||||
backgroundColor:
|
||||
shiftEdit === 0 ? 'white' : 'var(--mantine-color-background-0)',
|
||||
borderRadius: '50%',
|
||||
padding: '8px',
|
||||
margin: '4px',
|
||||
border: 'solid 2px',
|
||||
borderColor: shiftEdit === 0 ? 'black' : 'var(--color-text-pri)',
|
||||
borderColor: shiftEdit === 0 ? 'black' : 'var(--mantine-color-primary-0)',
|
||||
transition: 'all 0.2s',
|
||||
}}
|
||||
>
|
||||
@@ -221,7 +222,7 @@ function ThemeCard({
|
||||
style={{
|
||||
fontSize: '2em',
|
||||
fontWeight: 'bold',
|
||||
color: shiftEdit === 0 ? 'black' : 'var(--color-text-pri)',
|
||||
color: shiftEdit === 0 ? 'black' : 'var(--mantine-color-primary-0)',
|
||||
}}
|
||||
/>
|
||||
</Group>
|
||||
@@ -241,12 +242,14 @@ function ThemeCard({
|
||||
position: 'absolute',
|
||||
right: 0,
|
||||
top: 27 - shiftShuffle,
|
||||
backgroundColor: shiftShuffle === 0 ? 'white' : 'var(--color-background)',
|
||||
backgroundColor:
|
||||
shiftShuffle === 0 ? 'white' : 'var(--mantine-color-background-0)',
|
||||
borderRadius: '50%',
|
||||
padding: '8px',
|
||||
margin: '4px',
|
||||
border: 'solid 2px',
|
||||
borderColor: shiftShuffle === 0 ? 'black' : 'var(--color-text-pri)',
|
||||
borderColor:
|
||||
shiftShuffle === 0 ? 'black' : 'var(--mantine-color-primary-0)',
|
||||
transition: 'all 0.2s',
|
||||
}}
|
||||
>
|
||||
@@ -265,7 +268,7 @@ function ThemeCard({
|
||||
style={{
|
||||
fontSize: '2em',
|
||||
fontWeight: 'bold',
|
||||
color: shiftShuffle === 0 ? 'black' : 'var(--color-text-pri)',
|
||||
color: shiftShuffle === 0 ? 'black' : 'var(--mantine-color-primary-0)',
|
||||
}}
|
||||
/>
|
||||
</Group>
|
||||
|
||||
Reference in New Issue
Block a user