mirror of
https://github.com/nostalgic-css/NES.css.git
synced 2025-08-06 22:46:31 +02:00
fix(storybook): change isdark container font color to white (#111)
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
import { configure } from '@storybook/html'; // eslint-disable-line import/no-extraneous-dependencies
|
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
|
// automatically import all files ending in *.stories.js
|
||||||
const req = require.context('../docs', true, /.stories.js$/);
|
const req = require.context('../docs', true, /.stories.js$/);
|
||||||
|
@@ -61,13 +61,13 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="container is-dark with-title">
|
<div class="container is-dark with-title">
|
||||||
<p class="title">Container.is-dark</p>
|
<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>
|
||||||
<div class="container is-rounded">
|
<div class="container is-rounded">
|
||||||
<p>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>
|
||||||
<div class="container is-rounded is-dark">
|
<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>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
@@ -111,6 +111,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
&.is-dark {
|
&.is-dark {
|
||||||
|
color: $background-color;
|
||||||
&::before {
|
&::before {
|
||||||
background-color: $base-color;
|
background-color: $base-color;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user