-
Notifications
You must be signed in to change notification settings - Fork 32
Home
-
id
&class
names should be prefixed withunl-
. For example:unl-scarlet
. -
id
&class
names use hyphens (-
) between words, all lowercase.
All custom developed styles should be done in Sass. CSS is generated through an automated build process.
For style organization, we're attempting to adhere to the [ITCSS methodology] (https://benmarshall.me/itcss/).
The following directories are in the /wdn/templates_5.3/scss directory.
Sass variables and CSS custom properties (CSS variables) set values across the framework.
Commonly used declarations can be reused with mixins.
Functions do not output any CSS but are used to calculate values.
Generic styles reset browser defaults and provide a consistent foundation for other styles.
Basic styles are applied directly to HTML elements.
Objects provide layout and structure to a page.
Components consist of a wide variety of user interface (UI) regions.
Utilities are helper classes that, in most cases, make targeted adjustments to one style.