Skip to content

ryanlabouve/ember-cli-tachyons-sass

Repository files navigation

ember-cli-tachyons-sass

Installs tachyons, but the SASS version with easy theming.

Installation

ember install ember-cli-tachyons-sass

Usage

Make sure you have ember-cli-sass installed and setup first.

Then import ember-cli-tachyons-sass and over-ride any variables for theming:

// Override any variables for theming: https://github.com/tachyons-css/tachyons-sass/blob/master/scss/_variables.scss
$font-size-headline: 9rem;

// Import ember-cli-tachyons-sass to your project
@import 'ember-cli-tachyons-sass';

Other cool things

This also means it's easy for us to add things to the *-ns media-query space.

@media #{$breakpoint-not-small} {
  // This will be red on all "not small" devices
  .red-ns {
    color: red;
  }
}

Contributing

Just make an issue and let's start a conversation!

Installation

  • git clone <repository-url>
  • cd ember-cli-tachyons-sass
  • npm install

Linting

  • npm run lint:js
  • npm run lint:js -- --fix

Running tests

  • ember test – Runs the test suite on the current Ember version
  • ember test --server – Runs the test suite in "watch mode"
  • ember try:each – Runs the test suite against multiple Ember versions

Running the dummy application

  • ember serve
  • Visit the dummy application at by running ember o

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

License

This project is licensed under the MIT License.

About

Themable SASS version of Tachyons for Ember

Resources

License

Stars

Watchers

Forks

Packages

No packages published