2023-03-05 16:07:40 +01:00
|
|
|
defmodule ChiyaWeb.Layouts do
|
|
|
|
use ChiyaWeb, :html
|
|
|
|
|
|
|
|
embed_templates "layouts/*"
|
2023-03-16 07:30:58 +01:00
|
|
|
|
|
|
|
@doc """
|
|
|
|
Defines which themes are light and which are dark themes.
|
|
|
|
This influences the prose styles in app.css.
|
|
|
|
"""
|
|
|
|
def theme_variant(:default), do: "light"
|
|
|
|
def theme_variant(:roguelight), do: "dark"
|
2023-03-05 16:07:40 +01:00
|
|
|
end
|