Gets the primary color from theme configuration.
FlowbitePhoenix.Config (FlowbitePhoenix v0.1.2)
View SourceConfiguration management for FlowbitePhoenix.
This module provides centralized configuration management for themes, colors, and other customizable aspects of FlowbitePhoenix components.
Summary
Functions
Gets alert configuration.
Returns available color options for components.
Returns available size options for components.
Gets badge configuration.
Gets button configuration.
Gets component-specific configuration.
Checks if dark mode is enabled in configuration.
Gets a specific configuration value by path.
Gets the complete configuration for FlowbitePhoenix.
Gets the Gettext backend if configured.
Gets input configuration.
Gets the primary color from theme configuration.
Validates the configuration and returns any errors.
Functions
Gets alert configuration.
Returns available color options for components.
Returns available size options for components.
Gets badge configuration.
Gets button configuration.
Gets component-specific configuration.
Checks if dark mode is enabled in configuration.
Gets a specific configuration value by path.
Examples
FlowbitePhoenix.Config.get([:theme, :primary_color])
# => "blue"
FlowbitePhoenix.Config.get([:button, :base_classes])
# => "focus:ring-4 focus:outline-none..."
Gets the complete configuration for FlowbitePhoenix.
Merges application configuration with defaults.
Gets the Gettext backend if configured.
Gets input configuration.
Validates the configuration and returns any errors.