Change the theme-color
value automatically when using a built-in theme (#29795)
This commit is contained in:
parent
671167f6da
commit
672c9f5f05
3 changed files with 7 additions and 2 deletions
|
@ -6,6 +6,9 @@ require 'yaml'
|
|||
class Themes
|
||||
include Singleton
|
||||
|
||||
MASTODON_DARK_THEME_COLOR = '#191b22'
|
||||
MASTODON_LIGHT_THEME_COLOR = '#f3f5f7'
|
||||
|
||||
def initialize
|
||||
@conf = YAML.load_file(Rails.root.join('config', 'themes.yml'))
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue