Skip to content

Instantly share code, notes, and snippets.

@daverau-optimizely
Last active September 27, 2017 18:16
Show Gist options
  • Select an option

  • Save daverau-optimizely/2d44d2dfe533c1f47583d3a0bf0e9643 to your computer and use it in GitHub Desktop.

Select an option

Save daverau-optimizely/2d44d2dfe533c1f47583d3a0bf0e9643 to your computer and use it in GitHub Desktop.
  1. Update any lego- CSS classes to oui-:

    This:

    <div class="lego-dropdown-group">
        ...
    </div>
    

    ...becomes this:

    <div class="oui-dropdown-group">
        ...
    </div>
    
  2. Add the oui- version to the SCSS:

    So this:

    .#{$namespace}dropdown-group { ... }
    

    ...becomes this:

    .#{$namespace}dropdown-group,
    .oui-dropdown-group { ... }
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment