translation-space-designsystem v1.36.0
Translation Space Designsystem
https://translation-space-designsystem.cirro.io (Live deployment)
Installation in a ROR project
Install the package and save it as a dependency:
yarn add translation-space-designsystem
Import the system in your Sass manifest:
@import "translation-space-designsystem/src/_assets/stylesheets/app";
Make sure your postcss.config.js looks like below:
module.exports = { plugins: [ require('postcss-import'), require('postcss-nesting'), require('tailwindcss')('./node_modules/translation-space-designsystem/src/_assets/stylesheets/tailwind.config.js'), require('autoprefixer'), ] }
Install resolve-url-loader package and following snippet in your config/webpack/environment.js
environment.loaders.get('css').use.splice(-1, 0, { loader: 'resolve-url-loader' });
Development
Requirements
- Node.js
- NPM (comes with Node.js)
Install dependencies
npm install
Working locally
Starts watch tasks to compile when changes detected
npm start
Creating a production build
Minify HTML, compress JS, inline and minify CSS.
npm run build
Publishing to registry
- Make sure to update the version number in package.json file for every pull request
- CircleCI will take care of publishing to npm and also adding a tag when the commits are merged to master
- CircleCI will publish it only if the package version has been increased
5 days ago
5 days ago
9 days ago
19 days ago
19 days ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
3 months ago
4 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
6 months ago
5 months ago
6 months ago
7 months ago
7 months ago
7 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
9 months ago
10 months ago
10 months ago
11 months ago
10 months ago
11 months ago
9 months ago
8 months ago
9 months ago
11 months ago
11 months ago
11 months ago
11 months ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago