In Punica, the default theme map in themes.scss
is structured to help you create your own theme. The classnames
, components
, elements
, and utilities
keys are fully optional and can be used as needed for your project.
If you've finished creating your theme, simply update the $active-theme
variable in the punica.scss
starter file with your theme's name and recompile Punica.
In Punica, if you want to override default settings, variables, and class names in the options.scss
and utilities.scss
API files, you can use the classnames, components, elements, and utilities keys within your theme map. These keys allow you to customize Punica's default settings and recompile it to fit your project's needs.
If you want to change the class names of an element or component through your theme map;
If you want to modify the settings of a component through your theme map;
If you want to modify the settings of an element through your theme map;
If you want to modify the settings of an utility through your theme map;