34 lines
1.2 KiB
Elixir
34 lines
1.2 KiB
Elixir
|
|
# This file is auto-generated by alef — DO NOT EDIT.
|
||
|
|
# alef:hash:4e15143f4af1ae8bafbdb1506ef057da924484c66a19483966333558ad437e75
|
||
|
|
# To regenerate: alef generate
|
||
|
|
# To verify freshness: alef verify --exit-code
|
||
|
|
# Issues & docs: https://github.com/kreuzberg-dev/alef
|
||
|
|
defmodule Kreuzberg.HtmlTheme do
|
||
|
|
@moduledoc "Built-in HTML theme selection."
|
||
|
|
|
||
|
|
@typedoc "Built-in HTML theme selection."
|
||
|
|
@type t :: :default | :git_hub | :dark | :light | :unstyled
|
||
|
|
|
||
|
|
@default :default
|
||
|
|
@git_hub :git_hub
|
||
|
|
@dark :dark
|
||
|
|
@light :light
|
||
|
|
@unstyled :unstyled
|
||
|
|
|
||
|
|
@doc "Sensible defaults: system font stack, neutral colours, readable line measure. CSS custom properties (`--kb-*`) are all defined so user CSS can override individual values."
|
||
|
|
@spec default() :: t()
|
||
|
|
def default, do: @default
|
||
|
|
@doc "GitHub Markdown-inspired palette and spacing."
|
||
|
|
@spec git_hub() :: t()
|
||
|
|
def git_hub, do: @git_hub
|
||
|
|
@doc "Dark background, light text."
|
||
|
|
@spec dark() :: t()
|
||
|
|
def dark, do: @dark
|
||
|
|
@doc "Minimal light theme with generous whitespace."
|
||
|
|
@spec light() :: t()
|
||
|
|
def light, do: @light
|
||
|
|
@doc "No built-in stylesheet emitted. CSS custom properties are still defined on `:root` so user stylesheets can reference `var(--kb-*)` tokens."
|
||
|
|
@spec unstyled() :: t()
|
||
|
|
def unstyled, do: @unstyled
|
||
|
|
end
|