From 63b16fd39ae6e1bdb0f20607eac793a357176972 Mon Sep 17 00:00:00 2001 From: Andreas Nedbal Date: Sun, 29 Jan 2023 21:13:38 +0100 Subject: [PATCH] Appease the dog overlords --- app/helpers/theme_helper.rb | 48 ++++++++++++++++++------------------- 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/app/helpers/theme_helper.rb b/app/helpers/theme_helper.rb index c618b212..4c1a735f 100644 --- a/app/helpers/theme_helper.rb +++ b/app/helpers/theme_helper.rb @@ -2,30 +2,30 @@ module ThemeHelper ATTRIBUTE_MAP = { - "primary_color" => %w[primary primary-rgb], - "primary_text" => "primary-text", - "danger_color" => "danger", - "danger_text" => "danger-text", - "warning_color" => "warning", - "warning_text" => "warning-text", - "info_color" => "info", - "info_text" => "info-text", - "success_color" => "success", - "success_text" => "success-text", - "dark_color" => "dark", - "dark_text" => "dark-text", - "light_color" => "light", - "light_text" => "light-text", - "raised_background" => %w[raised-bg raised-bg-rgb], - "raised_text" => "raised-text", - "raised_accent" => %w[raised-accent raised-accent-rgb], - "raised_accent_text"=> "raised-accent-text", - "background_color" => "background", - "body_text" => "body-text", - "input_color" => "input-bg", - "input_text" => "input-text", - "input_placeholder" => "input-placeholder", - "muted_text" => "muted-text" + "primary_color" => %w[primary primary-rgb], + "primary_text" => "primary-text", + "danger_color" => "danger", + "danger_text" => "danger-text", + "warning_color" => "warning", + "warning_text" => "warning-text", + "info_color" => "info", + "info_text" => "info-text", + "success_color" => "success", + "success_text" => "success-text", + "dark_color" => "dark", + "dark_text" => "dark-text", + "light_color" => "light", + "light_text" => "light-text", + "raised_background" => %w[raised-bg raised-bg-rgb], + "raised_text" => "raised-text", + "raised_accent" => %w[raised-accent raised-accent-rgb], + "raised_accent_text" => "raised-accent-text", + "background_color" => "background", + "body_text" => "body-text", + "input_color" => "input-bg", + "input_text" => "input-text", + "input_placeholder" => "input-placeholder", + "muted_text" => "muted-text" }.freeze def render_theme