Separate methods for theme style and meta color tags (#29802)
This commit is contained in:
parent
52ab8a59c6
commit
b61ae28f8d
5 changed files with 123 additions and 14 deletions
|
@ -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'))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue