diff --git a/.github/CONTRIBUTING-es.md b/.github/CONTRIBUTING-es.md index 80100d3..f319578 100644 --- a/.github/CONTRIBUTING-es.md +++ b/.github/CONTRIBUTING-es.md @@ -35,7 +35,8 @@ Este proyecto se apega al Código de Conducta convenido para Contribuyentes. Al ```sh $ npm install ``` -3. Ejecuta el servidor de desarrollo: +3. Ejecuta el servidor de desarrollo: + To view all available components in an interactive interface, use storybook. ```sh $ npm run storybook ``` diff --git a/.github/CONTRIBUTING-jp.md b/.github/CONTRIBUTING-jp.md index ab0576d..7958b80 100644 --- a/.github/CONTRIBUTING-jp.md +++ b/.github/CONTRIBUTING-jp.md @@ -35,7 +35,8 @@ ```sh $ npm install ``` -3. 開発用サーバを起動する: +3. 開発用サーバを起動する: + インタラクティブインターフェースで使用可能なすべてのコンポーネントを表示するには、storybookを使ってください ```sh $ npm run storybook ``` diff --git a/.github/CONTRIBUTING-pt-BR.md b/.github/CONTRIBUTING-pt-BR.md index 14df092..d8fb317 100644 --- a/.github/CONTRIBUTING-pt-BR.md +++ b/.github/CONTRIBUTING-pt-BR.md @@ -35,7 +35,8 @@ Nós estamos muito felizes de você querer contribuir para o projeto! Os próxim ```sh $ npm install ``` -3. Inicie o servidor de desenvolvimento: +3. Inicie o servidor de desenvolvimento: + To view all available components in an interactive interface, use storybook. ```sh $ npm run storybook ``` diff --git a/.github/CONTRIBUTING-zh-CN.md b/.github/CONTRIBUTING-zh-CN.md index a97494e..42cf63e 100644 --- a/.github/CONTRIBUTING-zh-CN.md +++ b/.github/CONTRIBUTING-zh-CN.md @@ -35,7 +35,8 @@ ```sh $ npm install ``` -3. 启动开发服务器: +3. 启动开发服务器: + To view all available components in an interactive interface, use storybook. ```sh $ npm run storybook ``` diff --git a/.github/CONTRUBUTING-ru.md b/.github/CONTRUBUTING-ru.md index 67b58da..aca7f49 100644 --- a/.github/CONTRUBUTING-ru.md +++ b/.github/CONTRUBUTING-ru.md @@ -35,7 +35,8 @@ ```sh $ npm install ``` -3. Запустите сервер: +3. Запустите сервер: + To view all available components in an interactive interface, use storybook. ```sh $ npm run storybook ``` diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 9d44d6d..0ac7ddd 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -35,7 +35,8 @@ We're really happy you want to contribute to the project! ❤️ The following s ```sh $ npm install ``` -3. Start up the dev server: +3. Start up the dev server: + To view all available components in an interactive interface, use storybook. ```sh $ npm run storybook ``` diff --git a/README.md b/README.md index d691c13..a68a11e 100644 --- a/README.md +++ b/README.md @@ -84,20 +84,6 @@ NES.css is compatible with the newest version of the following browsers: Untested * IE/Edge -## Storybook - -To view all available components in an interactive interface, use storybook. - -```bash -git clone https://github.com/nostalgic-css/NES.css -cd NES.css -npm install -npm run storybook -``` - -![Storybook Demo](assets/storybook-demo.gif "Storybook Demo") - - ## Copyright and license Code and documentation copyright 2018 [B.C.Rikko](https://github.com/BcRikko). Code released under the MIT License. Docs released under Creative Commons. diff --git a/assets/storybook-demo.gif b/assets/storybook-demo.gif deleted file mode 100644 index d65b2b7..0000000 Binary files a/assets/storybook-demo.gif and /dev/null differ diff --git a/package.json b/package.json index 8797a1c..aa43228 100644 --- a/package.json +++ b/package.json @@ -112,7 +112,9 @@ }, "lint-staged": { "scss/**/*.scss": [ - "npm run postbuild" + "npm run prebuild:stylelint", + "npm run postbuild", + "git add" ], "*.js": [ "eslint '.storybook/**/*.js' 'story/**/*.js'" diff --git a/scss/elements/balloons.scss b/scss/elements/balloons.scss index 7747852..0b20711 100644 --- a/scss/elements/balloons.scss +++ b/scss/elements/balloons.scss @@ -44,10 +44,11 @@ &.is-dark { @include rounded-corners(true); - background: $base-color; + color: $background-color; + background: $base-color; border-image-outset: 2; - box-shadow: 0px 0px 0 8px $base-color; + box-shadow: 0 0 0 8px $base-color; &.from-left, &.from-right { diff --git a/scss/form/inputs.scss b/scss/form/inputs.scss index 6609dc3..c2e35ff 100644 --- a/scss/form/inputs.scss +++ b/scss/form/inputs.scss @@ -8,7 +8,7 @@ @include compact-rounded-corners(); - width: calc(100% - #{2*$border-size}); + width: calc(100% - #{2 * $border-size}); padding: 0.5rem 1rem; margin: 4px; background-clip: padding-box; diff --git a/scss/form/selects.scss b/scss/form/selects.scss index 44e0e45..f6f3e7d 100644 --- a/scss/form/selects.scss +++ b/scss/form/selects.scss @@ -11,7 +11,7 @@ $colors: ($base-color, map-get($default-colors, "shadow")); position: relative; - width: calc(100% - #{2*$border-size}); + width: calc(100% - #{2 * $border-size}); margin: 4px; select {