fix: redesing and add features

This commit is contained in:
2026-02-07 12:06:35 -06:00
parent 4f103c25b5
commit d55aac6605
40 changed files with 1486 additions and 403 deletions

11
src/utils/theme.js Normal file
View File

@@ -0,0 +1,11 @@
import tinycolor from 'tinycolor2'
export function generateThemeColors(colorArray) {
const rgbColor = `rgb(${colorArray[0]}, ${colorArray[1]}, ${colorArray[2]})`
const originalColor = tinycolor(rgbColor)
return {
background: originalColor.darken(30).toString(),
text: originalColor.brighten(40).toString() // slightly brighter for contrast
}
}