diff --git a/frontend/app.vue b/frontend/app.vue index 5271096..307e248 100644 --- a/frontend/app.vue +++ b/frontend/app.vue @@ -3,7 +3,9 @@ -

API is not available

+

+ API is not available +

Please try again later

diff --git a/frontend/components/DisplayedTag.vue b/frontend/components/DisplayedTag.vue index 59daa65..488dacc 100644 --- a/frontend/components/DisplayedTag.vue +++ b/frontend/components/DisplayedTag.vue @@ -25,6 +25,6 @@ function getTextColor(hexColor: string): string { const g = parseInt(hex.substring(2, 4), 16) const b = parseInt(hex.substring(4, 6), 16) const luminance = (0.2126 * r + 0.7152 * g + 0.0722 * b) / 255 - return luminance > 0.5 ? 'black' : 'white' + return luminance > 0.6 ? 'black' : 'white' } diff --git a/frontend/components/admin/Navbar.vue b/frontend/components/admin/Navbar.vue index ad7055b..92aafd9 100644 --- a/frontend/components/admin/Navbar.vue +++ b/frontend/components/admin/Navbar.vue @@ -23,17 +23,17 @@ icon