diff --git a/code-guidelines.md b/code-guidelines.md index e360336..96fd460 100644 --- a/code-guidelines.md +++ b/code-guidelines.md @@ -415,7 +415,7 @@ Create names with useful or specific meaning via a mechanism that will not inhib ### Namespace -To avoid conflicts, OpenShift.io prefixes all classes with io-”. This also helps differentiate OpenShift.io from PatternFly and Bootstrap class names. +To avoid conflicts, OpenShift.io prefixes all classes with `f8-`. This also helps differentiate OpenShift.io from PatternFly and Bootstrap class names. ```less // Bad @@ -424,7 +424,7 @@ To avoid conflicts, OpenShift.io prefixes all classes with io-”. This also hel } // Good -.io-selector { +.f8-selector { ... } ``` @@ -435,7 +435,7 @@ Always use classes - avoid using an ID. Use classes over generic element tag for ```less // Bad -.io-card { +.f8-card { color: #000; h2{ @@ -444,9 +444,9 @@ Always use classes - avoid using an ID. Use classes over generic element tag for } // Good -.io-card { color: #000; } +.f8-card { color: #000; } -.io-card--title{ font-size: 2em; } +.f8-card--title{ font-size: 2em; } ``` @@ -454,34 +454,34 @@ Always use classes - avoid using an ID. Use classes over generic element tag for OpenShift.io follows the [BEM methodology](http://csswizardry.com/2013/01/mindbemding-getting-your-head-round-bem-syntax/). It's a way to decouple CSS from HTML, and modularize class names so they can be extended. -Class name structure follows the `{{io-block}}__{{element}}--{{modifier}}` structure: +Class name structure follows the `{{f8-block}}__{{element}}--{{modifier}}` structure: ```less -.io-block__element--modifier {} +.f8-block__element--modifier {} ``` Example: ```html -
Lorem ipsum dolor sit amet.