Handles configuration for Mishka Chelekom components. Manages user settings including prefixes, CSS variables, and component generation options.
Summary
Functions
Creates a sample configuration file for users.
Generates the final CSS content by merging defaults with user overrides.
Loads user configuration from priv/mishka_chelekom/config.exs if it exists. Returns a map with configuration options or defaults.
Updates the component_prefix value in the user's config file. Creates the config file with sample content if it doesn't exist.
Updates the module_prefix value in the user's config file. Creates the config file with sample content if it doesn't exist.
Functions
Creates a sample configuration file for users.
Generates the final CSS content by merging defaults with user overrides.
Loads user configuration from priv/mishka_chelekom/config.exs if it exists. Returns a map with configuration options or defaults.
Updates the component_prefix value in the user's config file. Creates the config file with sample content if it doesn't exist.
Updates the module_prefix value in the user's config file. Creates the config file with sample content if it doesn't exist.