Add meme-adding logic

Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
2023-07-21 09:46:13 +03:00
parent 1b2ce96c5e
commit 4b601872bc
40 changed files with 1037 additions and 324 deletions

View File

@@ -11,8 +11,8 @@ const getContrastColor = (hexColor: string) => {
const brightness = (r * 299 + g * 587 + b * 114) / 1000;
return brightness > 128
? lightTheme.colors.onSurface
: darkTheme.colors.onSurface;
? lightTheme.colors.onBackground
: darkTheme.colors.onBackground;
};
const isHexColor = (color: string) => {