1
0
mirror of https://github.com/nostalgic-css/NES.css.git synced 2025-01-17 21:58:27 +01:00

fix(storybook): change isdark container font color to white (#111)

This commit is contained in:
Abdullah Samman 2018-12-08 08:54:14 +02:00 committed by GitHub
parent 479e503347
commit a6488a10c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 3 deletions

View File

@ -1,6 +1,6 @@
import { configure } from '@storybook/html'; // eslint-disable-line import/no-extraneous-dependencies
import '../css/nes.min.css';
import '../css/nes.css'; // eslint-disable-line import/no-unresolved
// automatically import all files ending in *.stories.js
const req = require.context('../docs', true, /.stories.js$/);

View File

@ -61,13 +61,13 @@
</div>
<div class="container is-dark with-title">
<p class="title">Container.is-dark</p>
<p style="color: white;">Good morning. Thou hast had a good night's sleep, I hope.</p>
<p>Good morning. Thou hast had a good night's sleep, I hope.</p>
</div>
<div class="container is-rounded">
<p>Good morning. Thou hast had a good night's sleep, I hope.</p>
</div>
<div class="container is-rounded is-dark">
<p style="color: white;">Good morning. Thou hast had a good night's sleep, I hope.</p>
<p>Good morning. Thou hast had a good night's sleep, I hope.</p>
</div>
</div>
</section>

View File

@ -111,6 +111,7 @@
}
&.is-dark {
color: $background-color;
&::before {
background-color: $base-color;
}