On Github davidelrizzo / Presentation--MultiBrand-Styleguides
Multi-Branded Styleguides
Learnings on constructing a multi-theme Styleguide
About Me
User Experience and Front-end Designer, 10+ years
About Suncorp Group
Suncorp Group includes leading general insurance, banking, life insurance and superannuation brands in Australia and New ZealandThe Styleguide covers Personal, Commercial and Life insurance Web applications, Self service application and Websites.
What is a front-end Styleguide?
A reusable library of front-end components; such as buttons, tables or grids, that are managed separately to any specific website or app.
Requirements@Suncorp
Support multiple brands
Support multiple platforms
Support teams using bothLESS and SASS
All components fluid and responsive
But can we turn it off for now?
IE8+ browser support
Each project needs only specific components and can only update to new Styleguide features when they have resources
(See Randeep's Tooling Presentation)
ConstructingMulti-brand
How to construct components?
Bower & Semantic versioning
Base 2.1.3 Icons 1.4.5 Grid 1.0.2 Typography 1.6.2 Buttons 1.1.3 Inputs 1.3.2 Radio/Check 1.2.5 Header 1.3.3 Toggle 1.0.1 Layout 2.1.4 Modal 1.1.0 etc...Default brand and brand layers
Default → Brand → Per site customisation
Colours
LESS overrides allow easy changes
OOCSS & SUITS naming, our way...
Icons
SVG vs Fonts vs PNGs
Managing icons is tricky
Icons are subjective!!! Which one of these represents: "My policy list"?
Icon colours: Functional Colours + DefaultIcon naming: Icon-help--primaryIcons per component: Only the ones they need!
Documentation
KSS documentation vs manual Markdown
Visual Testing
Automated diffing from documentation examples
THE END