Skip to content

[WIP] This is a UI addon that intends to help standardize the Ember family of websites and make it easier to make the Ember website an Ember app.

License

Notifications You must be signed in to change notification settings

s-chiriac/ember-styleguide

 
 

Repository files navigation

ember-styleguide Build Status

This addon is intended to provide basic components for easier style coordination among the Ember family of websites, although the original intent is to support the emberjs.com website. We are committed to the goal of meeting WCAG 2.0 AA conformance standards.

Contributions are encouraged! Here's where you can see the designs in progress - feel free to submit ideas of your own! https://codepen.io/melsumner/pen/9d551738a81e319a773395a2cfa1a82e

Installation

  • git clone <repository-url> this repository
  • cd ember-styleguide
  • npm install

Running

Running Tests

  • npm test (Runs ember try:each to test your addon against multiple Ember versions)
  • ember test
  • ember test --server

Building

  • ember build

For more information on using ember-cli, visit https://ember-cli.com/.

WIP Notes

  • Permanent: each component has the component name attached as a CSS class. This makes it a little easier to scope styling.
  • WIP: it may feel as though there is duplicated code throughout these components; during the WIP process, we are favoring duplication over abstraction.
  • Now: ember-font-awesome for the font icons
  • The es-pagewrapper component has a property to indicate if there will be a sidebar or not. There might be a better way to do this.
  • In this addon, the section element is used as a container and is intended to span the full width of the viewport.

Styleguide Notes

  • one h1 per page
  • heading elements should never require extra classes or CSS treatments
  • valid HTML should be used

About

[WIP] This is a UI addon that intends to help standardize the Ember family of websites and make it easier to make the Ember website an Ember app.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 49.9%
  • CSS 31.4%
  • HTML 18.7%