1
0
Fork 0
mirror of https://github.com/mealie-recipes/mealie.git synced 2025-07-19 13:19:41 +02:00

Feature/move label editor (#1069)

* update default color

* move labels editor
This commit is contained in:
Hayden 2022-03-19 11:31:17 -08:00 committed by GitHub
parent 8c0c8be659
commit 8f569509bf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 212 additions and 281 deletions

View file

@ -29,7 +29,6 @@ export default defineComponent({
Based on -> https://stackoverflow.com/questions/3942878/how-to-decide-font-color-in-white-or-black-depending-on-background-color
*/
const ACCESSIBILITY_THRESHOLD = 0.179;
function pickTextColorBasedOnBgColorAdvanced(bgColor: string, lightColor: string, darkColor: string) {
@ -53,4 +52,4 @@ export default defineComponent({
};
},
});
</script>
</script>