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:
parent
479e503347
commit
a6488a10c9
@ -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$/);
|
||||
|
@ -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>
|
||||
|
@ -111,6 +111,7 @@
|
||||
}
|
||||
|
||||
&.is-dark {
|
||||
color: $background-color;
|
||||
&::before {
|
||||
background-color: $base-color;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user