diff --git a/lib/philomena_web/views/setting_view.ex b/lib/philomena_web/views/setting_view.ex index 59d9a74c..929df81d 100644 --- a/lib/philomena_web/views/setting_view.ex +++ b/lib/philomena_web/views/setting_view.ex @@ -23,28 +23,26 @@ defmodule PhilomenaWeb.SettingView do end def theme_paths_json do - Jason.encode!( - %{ - "dark-red": ~p"/css/dark-red.css", - "dark-orange": ~p"/css/dark-orange.css", - "dark-yellow": ~p"/css/dark-yellow.css", - "dark-blue": ~p"/css/dark-blue.css", - "dark-green": ~p"/css/dark-green.css", - "dark-purple": ~p"/css/dark-purple.css", - "dark-cyan": ~p"/css/dark-cyan.css", - "dark-pink": ~p"/css/dark-pink.css", - "dark-silver": ~p"/css/dark-silver.css", - "light-red": ~p"/css/light-red.css", - "light-orange": ~p"/css/light-orange.css", - "light-yellow": ~p"/css/light-yellow.css", - "light-blue": ~p"/css/light-blue.css", - "light-green": ~p"/css/light-green.css", - "light-purple": ~p"/css/light-purple.css", - "light-cyan": ~p"/css/light-cyan.css", - "light-pink": ~p"/css/light-pink.css", - "light-silver": ~p"/css/light-silver.css" - } - ) + Jason.encode!(%{ + "dark-red": ~p"/css/dark-red.css", + "dark-orange": ~p"/css/dark-orange.css", + "dark-yellow": ~p"/css/dark-yellow.css", + "dark-blue": ~p"/css/dark-blue.css", + "dark-green": ~p"/css/dark-green.css", + "dark-purple": ~p"/css/dark-purple.css", + "dark-cyan": ~p"/css/dark-cyan.css", + "dark-pink": ~p"/css/dark-pink.css", + "dark-silver": ~p"/css/dark-silver.css", + "light-red": ~p"/css/light-red.css", + "light-orange": ~p"/css/light-orange.css", + "light-yellow": ~p"/css/light-yellow.css", + "light-blue": ~p"/css/light-blue.css", + "light-green": ~p"/css/light-green.css", + "light-purple": ~p"/css/light-purple.css", + "light-cyan": ~p"/css/light-cyan.css", + "light-pink": ~p"/css/light-pink.css", + "light-silver": ~p"/css/light-silver.css" + }) end def scale_options do