Separate methods for theme style and meta color tags (#29802)
This commit is contained in:
@@ -6,8 +6,10 @@ require 'yaml'
|
||||
class Themes
|
||||
include Singleton
|
||||
|
||||
MASTODON_DARK_THEME_COLOR = '#191b22'
|
||||
MASTODON_LIGHT_THEME_COLOR = '#f3f5f7'
|
||||
THEME_COLORS = {
|
||||
dark: '#191b22',
|
||||
light: '#f3f5f7',
|
||||
}.freeze
|
||||
|
||||
def initialize
|
||||
@conf = YAML.load_file(Rails.root.join('config', 'themes.yml'))
|
||||
|
||||
Reference in New Issue
Block a user