Web pattern library, style and technical reference
Usecase | Convention | Example |
---|---|---|
File name | Lowercase, dash separated, "uon-" prefix | uon-media-gallery.css |
Class name | Lowercase, dash separated, "uon-" prefix | .uon-media-gallery |
ID name | Lowercase, dash separated, "uon-" prefix IDs should be avoided for components whereever possible. |
#uon-media-gallery |
Usecase | Convention | Example |
---|---|---|
File name | Lowercase, dash separated, "uon-" prefix | uon-media-gallery.js |
Function name | CamelCase, "uon" prefix | uonMediaGallery() |
Usecase | Convention | Example |
---|---|---|
Field name | Titlecase, dot separated, "UON" prefix | UON.Degree.Name |
Usecase | Convention | Example |
---|---|---|
Design Area name | Lowercase, underscore separated | <MySource_AREA id_name="side_menu"> |
Usecase | Convention | Example |
---|---|---|
Container Template (CCT) asset name | Sentence case | Landing page header |
CCT Metadata schema | Sentence case, " - Metadata scheme" suffix | Landing page header - Metadata schema |
CCT Paint layout | Sentence case, " - Paint layout" suffix | Landing page header - Paint layout |
CCT Simple edit layout | Sentence case, " - Edit layout" suffix | Landing page header - Edit layout |