Fix Subtraction Game bugs
Update background color transition to fade instead of blink. Change the minimum value for n to 2. Debug and fix issues with the reset functionality not fully clearing the game state.
This commit is contained in:
parent
68b40be8ec
commit
4eab9a899b
2 changed files with 11 additions and 3 deletions
|
|
@ -100,11 +100,16 @@ export default {
|
|||
to: {
|
||||
height: '0'
|
||||
}
|
||||
},
|
||||
'fade-red': {
|
||||
'0%, 100%': { backgroundColor: 'hsl(var(--primary))' },
|
||||
'50%': { backgroundColor: 'hsl(0, 84%, 60%)' }
|
||||
}
|
||||
},
|
||||
animation: {
|
||||
'accordion-down': 'accordion-down 0.2s ease-out',
|
||||
'accordion-up': 'accordion-up 0.2s ease-out'
|
||||
'accordion-up': 'accordion-up 0.2s ease-out',
|
||||
'fade-red': 'fade-red 1.6s ease-in-out infinite'
|
||||
},
|
||||
fontFamily: {
|
||||
'sans': ['Lato', 'ui-sans-serif', 'system-ui', '-apple-system', 'BlinkMacSystemFont', 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', 'Noto Sans', 'sans-serif'],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue