style: change theme color
Signed-off-by: オスカー、 <oscar@oscar.surf>
This commit is contained in:
parent
3bd575ac61
commit
3a8047c9f2
@ -19,11 +19,11 @@ module ThemeHelper
|
|||||||
|
|
||||||
if theme == 'system'
|
if theme == 'system'
|
||||||
''.html_safe.tap do |tags|
|
''.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: '#3ff2ab', 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: light)')
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
tag.meta name: 'theme-color', content: '#787878'
|
tag.meta name: 'theme-color', content: '#3ff2ab'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user