1
0

style: change theme color

Signed-off-by: オスカー、 <oscar@oscar.surf>
This commit is contained in:
オスカー、 2024-10-28 21:25:08 +09:00
parent 3bd575ac61
commit 3a8047c9f2
Signed by: SWREI
GPG Key ID: 139D6573F92DA9F7

View File

@ -19,11 +19,11 @@ module ThemeHelper
if theme == 'system'
''.html_safe.tap do |tags|
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)')
tags << tag.meta(name: 'theme-color', content: '#3ff2ab', media: '(prefers-color-scheme: dark)')
tags << tag.meta(name: 'theme-color', content: '#3ff2ab', media: '(prefers-color-scheme: light)')
end
else
tag.meta name: 'theme-color', content: '#787878'
tag.meta name: 'theme-color', content: '#3ff2ab'
end
end