Cinder.Theme.Dsl (Cinder v0.1.1)
View SourceSpark DSL for defining Cinder themes.
This module provides a DSL for creating modular, reusable theme definitions that can be used across projects. It follows the same pattern as AshAuthentication's override system.
Example
defmodule MyApp.CustomTheme do
use Cinder.Theme
component Cinder.Components.Table do
set :container_class, "my-custom-table-container"
set :row_class, "my-custom-row hover:bg-blue-50"
end
component Cinder.Components.Filters do
set :container_class, "my-filter-container"
set :text_input_class, "my-text-input"
end
end