Appease the dog overlords
This commit is contained in:
parent
61a31f97b0
commit
63b16fd39a
|
@ -2,30 +2,30 @@
|
||||||
|
|
||||||
module ThemeHelper
|
module ThemeHelper
|
||||||
ATTRIBUTE_MAP = {
|
ATTRIBUTE_MAP = {
|
||||||
"primary_color" => %w[primary primary-rgb],
|
"primary_color" => %w[primary primary-rgb],
|
||||||
"primary_text" => "primary-text",
|
"primary_text" => "primary-text",
|
||||||
"danger_color" => "danger",
|
"danger_color" => "danger",
|
||||||
"danger_text" => "danger-text",
|
"danger_text" => "danger-text",
|
||||||
"warning_color" => "warning",
|
"warning_color" => "warning",
|
||||||
"warning_text" => "warning-text",
|
"warning_text" => "warning-text",
|
||||||
"info_color" => "info",
|
"info_color" => "info",
|
||||||
"info_text" => "info-text",
|
"info_text" => "info-text",
|
||||||
"success_color" => "success",
|
"success_color" => "success",
|
||||||
"success_text" => "success-text",
|
"success_text" => "success-text",
|
||||||
"dark_color" => "dark",
|
"dark_color" => "dark",
|
||||||
"dark_text" => "dark-text",
|
"dark_text" => "dark-text",
|
||||||
"light_color" => "light",
|
"light_color" => "light",
|
||||||
"light_text" => "light-text",
|
"light_text" => "light-text",
|
||||||
"raised_background" => %w[raised-bg raised-bg-rgb],
|
"raised_background" => %w[raised-bg raised-bg-rgb],
|
||||||
"raised_text" => "raised-text",
|
"raised_text" => "raised-text",
|
||||||
"raised_accent" => %w[raised-accent raised-accent-rgb],
|
"raised_accent" => %w[raised-accent raised-accent-rgb],
|
||||||
"raised_accent_text"=> "raised-accent-text",
|
"raised_accent_text" => "raised-accent-text",
|
||||||
"background_color" => "background",
|
"background_color" => "background",
|
||||||
"body_text" => "body-text",
|
"body_text" => "body-text",
|
||||||
"input_color" => "input-bg",
|
"input_color" => "input-bg",
|
||||||
"input_text" => "input-text",
|
"input_text" => "input-text",
|
||||||
"input_placeholder" => "input-placeholder",
|
"input_placeholder" => "input-placeholder",
|
||||||
"muted_text" => "muted-text"
|
"muted_text" => "muted-text"
|
||||||
}.freeze
|
}.freeze
|
||||||
|
|
||||||
def render_theme
|
def render_theme
|
||||||
|
|
Loading…
Reference in New Issue