Namespaces
Component namespaces mirror the namespaces in CivicTheme library as defined in civictheme.info.yml
.
CivicTheme defines two sets of namespaces: atomic component namespaces and civictheme atomic namespaces.
CivicTheme namespace definitions
Sub-theme namespaces
Any sub-theme of CivicTheme must implement the following component namespaces (note how they are also contained in civictheme.info.yml
). These namespaces allow the overriding of CivicTheme components.
The CivicTheme namespaces (ct-base
, ct-atoms
, ct-molecules
etc.) are used to provide access to the unaltered CivicTheme namespaces so the original civictheme component can be extended and then overridden by a sub-theme.
Last updated