From a7f9a34d89d206812ebc2cc995b6993d7e43bb39 Mon Sep 17 00:00:00 2001 From: Noa Himesaka Date: Thu, 17 Oct 2024 00:31:57 +0900 Subject: [PATCH] use YuruToot theme color --- app/helpers/theme_helper.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/helpers/theme_helper.rb b/app/helpers/theme_helper.rb index c5d226f70e..1a6362792e 100644 --- a/app/helpers/theme_helper.rb +++ b/app/helpers/theme_helper.rb @@ -19,11 +19,11 @@ module ThemeHelper if theme == 'system' ''.html_safe.tap do |tags| - tags << tag.meta(name: 'theme-color', content: Themes::THEME_COLORS[:dark], media: '(prefers-color-scheme: dark)') - tags << tag.meta(name: 'theme-color', content: Themes::THEME_COLORS[:light], media: '(prefers-color-scheme: light)') + tags << tag.meta(name: 'theme-color', content: '#787878', media: '(prefers-color-scheme: dark)') + tags << tag.meta(name: 'theme-color', content: '#787878', media: '(prefers-color-scheme: light)') end else - tag.meta name: 'theme-color', content: theme_color_for(theme) + tag.meta name: 'theme-color', content: '#787878' end end