feat: replace heatmap grid with CommitsGrid-style animated cells

This commit is contained in:
Usman Baig
2026-03-12 00:20:04 +01:00
parent ffbfcf342f
commit 632530af7f
2 changed files with 55 additions and 60 deletions

View File

@@ -13,6 +13,21 @@ const config: Config = {
],
theme: {
extend: {
keyframes: {
'cell-highlight': {
'0%': { backgroundColor: 'transparent' },
'100%': { backgroundColor: 'var(--highlight)' },
},
'cell-flash': {
'0%': { backgroundColor: 'transparent' },
'50%': { backgroundColor: 'var(--highlight)' },
'100%': { backgroundColor: 'transparent' },
},
},
animation: {
'cell-highlight': 'cell-highlight 0.5s ease forwards',
'cell-flash': 'cell-flash 0.6s ease forwards',
},
fontFamily: {
sans: ['var(--font-plus-jakarta-sans)', 'system-ui', 'sans-serif'],
},