Skip to content

Commit

Permalink
feat(nightingale-formatter): create dark theme for html
Browse files Browse the repository at this point in the history
  • Loading branch information
christophehurpeau committed Jan 31, 2021
1 parent 643c049 commit b0ae0cd
Show file tree
Hide file tree
Showing 31 changed files with 230 additions and 51 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,10 @@ <h3><span class="tsd-flag ts-flagReadonly">Readonly</span> open</h3>
<a href="nightingale_formatter_src_styletohtmlstyle.styletohtmlstyle.html" class="tsd-kind-icon">Style<wbr>ToHtml<wbr>Style</a>
</li>
<li class=" tsd-kind-variable tsd-parent-kind-module">
<a href="../modules/nightingale_formatter_src_styletohtmlstyle.html#default" class="tsd-kind-icon">default</a>
<a href="../modules/nightingale_formatter_src_styletohtmlstyle.html#styletohtmlstylethemedark" class="tsd-kind-icon">style<wbr>ToHtml<wbr>Style<wbr>Theme<wbr>Dark</a>
</li>
<li class=" tsd-kind-variable tsd-parent-kind-module">
<a href="../modules/nightingale_formatter_src_styletohtmlstyle.html#styletohtmlstylethemelight" class="tsd-kind-icon">style<wbr>ToHtml<wbr>Style<wbr>Theme<wbr>Light</a>
</li>
</ul>
</nav>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,10 @@ <h3 class="tsd-before-signature">Indexable</h3>
</ul>
<ul class="after-current">
<li class=" tsd-kind-variable tsd-parent-kind-module">
<a href="../modules/nightingale_formatter_src_styletohtmlstyle.html#default" class="tsd-kind-icon">default</a>
<a href="../modules/nightingale_formatter_src_styletohtmlstyle.html#styletohtmlstylethemedark" class="tsd-kind-icon">style<wbr>ToHtml<wbr>Style<wbr>Theme<wbr>Dark</a>
</li>
<li class=" tsd-kind-variable tsd-parent-kind-module">
<a href="../modules/nightingale_formatter_src_styletohtmlstyle.html#styletohtmlstylethemelight" class="tsd-kind-icon">style<wbr>ToHtml<wbr>Style<wbr>Theme<wbr>Light</a>
</li>
</ul>
</nav>
Expand Down
35 changes: 31 additions & 4 deletions docs/modules/nightingale_formatter_src.html
Original file line number Diff line number Diff line change
Expand Up @@ -72,19 +72,27 @@ <h2>Index</h2>
<section class="tsd-index-section ">
<h3>References</h3>
<ul class="tsd-index-list">
<li class="tsd-kind-reference tsd-parent-kind-module"><a href="nightingale_formatter_src.html#styletohtmlstyle" class="tsd-kind-icon">Style<wbr>ToHtml<wbr>Style</a></li>
<li class="tsd-kind-reference tsd-parent-kind-module"><a href="nightingale_formatter_src.html#formatobject" class="tsd-kind-icon">format<wbr>Object</a></li>
<li class="tsd-kind-reference tsd-parent-kind-module"><a href="nightingale_formatter_src.html#formatrecordtostring" class="tsd-kind-icon">format<wbr>Record<wbr>ToString</a></li>
<li class="tsd-kind-reference tsd-parent-kind-module"><a href="nightingale_formatter_src.html#leveltostyles" class="tsd-kind-icon">level<wbr>ToStyles</a></li>
<li class="tsd-kind-reference tsd-parent-kind-module"><a href="nightingale_formatter_src.html#leveltosymbol" class="tsd-kind-icon">level<wbr>ToSymbol</a></li>
<li class="tsd-kind-reference tsd-parent-kind-module"><a href="nightingale_formatter_src.html#styletohexcolor" class="tsd-kind-icon">style<wbr>ToHex<wbr>Color</a></li>
<li class="tsd-kind-reference tsd-parent-kind-module"><a href="nightingale_formatter_src.html#styletohtmlstyle" class="tsd-kind-icon">style<wbr>ToHtml<wbr>Style</a></li>
<li class="tsd-kind-reference tsd-parent-kind-module"><a href="nightingale_formatter_src.html#styletohtmlstyle-1" class="tsd-kind-icon">style<wbr>ToHtml<wbr>Style</a></li>
<li class="tsd-kind-reference tsd-parent-kind-module"><a href="nightingale_formatter_src.html#styletohtmlstylethemedark" class="tsd-kind-icon">style<wbr>ToHtml<wbr>Style<wbr>Theme<wbr>Dark</a></li>
<li class="tsd-kind-reference tsd-parent-kind-module"><a href="nightingale_formatter_src.html#styletohtmlstylethemelight" class="tsd-kind-icon">style<wbr>ToHtml<wbr>Style<wbr>Theme<wbr>Light</a></li>
</ul>
</section>
</div>
</section>
</section>
<section class="tsd-panel-group tsd-member-group ">
<h2>References</h2>
<section class="tsd-panel tsd-member tsd-kind-reference tsd-parent-kind-module">
<a name="styletohtmlstyle" class="tsd-anchor"></a>
<h3>Style<wbr>ToHtml<wbr>Style</h3>
Re-exports <a href="../interfaces/nightingale_formatter_src_styletohtmlstyle.styletohtmlstyle.html">StyleToHtmlStyle</a>
</section>
<section class="tsd-panel tsd-member tsd-kind-reference tsd-parent-kind-module">
<a name="formatobject" class="tsd-anchor"></a>
<h3>format<wbr>Object</h3>
Expand All @@ -111,9 +119,19 @@ <h3>style<wbr>ToHex<wbr>Color</h3>
Renames and exports <a href="nightingale_formatter_src_styletohexcolor.html#default">default</a>
</section>
<section class="tsd-panel tsd-member tsd-kind-reference tsd-parent-kind-module">
<a name="styletohtmlstyle" class="tsd-anchor"></a>
<a name="styletohtmlstyle-1" class="tsd-anchor"></a>
<h3>style<wbr>ToHtml<wbr>Style</h3>
Renames and exports <a href="nightingale_formatter_src_styletohtmlstyle.html#default">default</a>
Renames and exports <a href="nightingale_formatter_src_styletohtmlstyle.html#styletohtmlstylethemelight">styleToHtmlStyleThemeLight</a>
</section>
<section class="tsd-panel tsd-member tsd-kind-reference tsd-parent-kind-module">
<a name="styletohtmlstylethemedark" class="tsd-anchor"></a>
<h3>style<wbr>ToHtml<wbr>Style<wbr>Theme<wbr>Dark</h3>
Re-exports <a href="nightingale_formatter_src_styletohtmlstyle.html#styletohtmlstylethemedark">styleToHtmlStyleThemeDark</a>
</section>
<section class="tsd-panel tsd-member tsd-kind-reference tsd-parent-kind-module">
<a name="styletohtmlstylethemelight" class="tsd-anchor"></a>
<h3>style<wbr>ToHtml<wbr>Style<wbr>Theme<wbr>Light</h3>
Re-exports <a href="nightingale_formatter_src_styletohtmlstyle.html#styletohtmlstylethemelight">styleToHtmlStyleThemeLight</a>
</section>
</section>
</div>
Expand All @@ -130,6 +148,9 @@ <h3>style<wbr>ToHtml<wbr>Style</h3>
</nav>
<nav class="tsd-navigation secondary menu-sticky">
<ul class="before-current">
<li class=" tsd-kind-reference tsd-parent-kind-module">
<a href="nightingale_formatter_src.html#styletohtmlstyle" class="tsd-kind-icon">Style<wbr>ToHtml<wbr>Style</a>
</li>
<li class=" tsd-kind-reference tsd-parent-kind-module">
<a href="nightingale_formatter_src.html#formatobject" class="tsd-kind-icon">format<wbr>Object</a>
</li>
Expand All @@ -146,7 +167,13 @@ <h3>style<wbr>ToHtml<wbr>Style</h3>
<a href="nightingale_formatter_src.html#styletohexcolor" class="tsd-kind-icon">style<wbr>ToHex<wbr>Color</a>
</li>
<li class=" tsd-kind-reference tsd-parent-kind-module">
<a href="nightingale_formatter_src.html#styletohtmlstyle" class="tsd-kind-icon">style<wbr>ToHtml<wbr>Style</a>
<a href="nightingale_formatter_src.html#styletohtmlstyle-1" class="tsd-kind-icon">style<wbr>ToHtml<wbr>Style</a>
</li>
<li class=" tsd-kind-reference tsd-parent-kind-module">
<a href="nightingale_formatter_src.html#styletohtmlstylethemedark" class="tsd-kind-icon">style<wbr>ToHtml<wbr>Style<wbr>Theme<wbr>Dark</a>
</li>
<li class=" tsd-kind-reference tsd-parent-kind-module">
<a href="nightingale_formatter_src.html#styletohtmlstylethemelight" class="tsd-kind-icon">style<wbr>ToHtml<wbr>Style<wbr>Theme<wbr>Light</a>
</li>
</ul>
</nav>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ <h3><span class="tsd-flag ts-flagConst">Const</span> default</h3>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/christophehurpeau/nightingale/blob/master/packages/nightingale-formatter/src/styleToHexColor.ts#L5">nightingale-formatter/src/styleToHexColor.ts:5</a></li>
<li>Defined in <a href="https://github.com/christophehurpeau/nightingale/blob/master/packages/nightingale-formatter/src/index.ts#L4">nightingale-formatter/src/index.ts:4</a></li>
<li>Defined in <a href="https://github.com/christophehurpeau/nightingale/blob/master/packages/nightingale-formatter/src/index.ts#L10">nightingale-formatter/src/index.ts:10</a></li>
</ul>
</aside>
</section>
Expand Down
28 changes: 22 additions & 6 deletions docs/modules/nightingale_formatter_src_styletohtmlstyle.html
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,8 @@ <h3>Interfaces</h3>
<section class="tsd-index-section ">
<h3>Variables</h3>
<ul class="tsd-index-list">
<li class="tsd-kind-variable tsd-parent-kind-module"><a href="nightingale_formatter_src_styletohtmlstyle.html#default" class="tsd-kind-icon">default</a></li>
<li class="tsd-kind-variable tsd-parent-kind-module"><a href="nightingale_formatter_src_styletohtmlstyle.html#styletohtmlstylethemedark" class="tsd-kind-icon">style<wbr>ToHtml<wbr>Style<wbr>Theme<wbr>Dark</a></li>
<li class="tsd-kind-variable tsd-parent-kind-module"><a href="nightingale_formatter_src_styletohtmlstyle.html#styletohtmlstylethemelight" class="tsd-kind-icon">style<wbr>ToHtml<wbr>Style<wbr>Theme<wbr>Light</a></li>
</ul>
</section>
</div>
Expand All @@ -88,13 +89,25 @@ <h3>Variables</h3>
<section class="tsd-panel-group tsd-member-group ">
<h2>Variables</h2>
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-module">
<a name="default" class="tsd-anchor"></a>
<h3><span class="tsd-flag ts-flagConst">Const</span> default</h3>
<div class="tsd-signature tsd-kind-icon">default<span class="tsd-signature-symbol">:</span> <a href="../interfaces/nightingale_formatter_src_styletohtmlstyle.styletohtmlstyle.html" class="tsd-signature-type" data-tsd-kind="Interface">StyleToHtmlStyle</a><span class="tsd-signature-symbol"> = ...</span></div>
<a name="styletohtmlstylethemedark" class="tsd-anchor"></a>
<h3><span class="tsd-flag ts-flagConst">Const</span> style<wbr>ToHtml<wbr>Style<wbr>Theme<wbr>Dark</h3>
<div class="tsd-signature tsd-kind-icon">style<wbr>ToHtml<wbr>Style<wbr>Theme<wbr>Dark<span class="tsd-signature-symbol">:</span> <a href="../interfaces/nightingale_formatter_src_styletohtmlstyle.styletohtmlstyle.html" class="tsd-signature-type" data-tsd-kind="Interface">StyleToHtmlStyle</a><span class="tsd-signature-symbol"> = ...</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/christophehurpeau/nightingale/blob/master/packages/nightingale-formatter/src/styleToHtmlStyle.ts#L59">nightingale-formatter/src/styleToHtmlStyle.ts:59</a></li>
<li>Defined in <a href="https://github.com/christophehurpeau/nightingale/blob/master/packages/nightingale-formatter/src/index.ts#L4">nightingale-formatter/src/index.ts:4</a></li>
</ul>
</aside>
</section>
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-module">
<a name="styletohtmlstylethemelight" class="tsd-anchor"></a>
<h3><span class="tsd-flag ts-flagConst">Const</span> style<wbr>ToHtml<wbr>Style<wbr>Theme<wbr>Light</h3>
<div class="tsd-signature tsd-kind-icon">style<wbr>ToHtml<wbr>Style<wbr>Theme<wbr>Light<span class="tsd-signature-symbol">:</span> <a href="../interfaces/nightingale_formatter_src_styletohtmlstyle.styletohtmlstyle.html" class="tsd-signature-type" data-tsd-kind="Interface">StyleToHtmlStyle</a><span class="tsd-signature-symbol"> = ...</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/christophehurpeau/nightingale/blob/master/packages/nightingale-formatter/src/styleToHtmlStyle.ts#L12">nightingale-formatter/src/styleToHtmlStyle.ts:12</a></li>
<li>Defined in <a href="https://github.com/christophehurpeau/nightingale/blob/master/packages/nightingale-formatter/src/index.ts#L3">nightingale-formatter/src/index.ts:3</a></li>
<li>Defined in <a href="https://github.com/christophehurpeau/nightingale/blob/master/packages/nightingale-formatter/src/index.ts#L5">nightingale-formatter/src/index.ts:5</a></li>
<li>Defined in <a href="https://github.com/christophehurpeau/nightingale/blob/master/packages/nightingale-formatter/src/index.ts#L8">nightingale-formatter/src/index.ts:8</a></li>
</ul>
</aside>
</section>
Expand All @@ -120,7 +133,10 @@ <h3><span class="tsd-flag ts-flagConst">Const</span> default</h3>
<a href="../interfaces/nightingale_formatter_src_styletohtmlstyle.styletohtmlstyle.html" class="tsd-kind-icon">Style<wbr>ToHtml<wbr>Style</a>
</li>
<li class=" tsd-kind-variable tsd-parent-kind-module">
<a href="nightingale_formatter_src_styletohtmlstyle.html#default" class="tsd-kind-icon">default</a>
<a href="nightingale_formatter_src_styletohtmlstyle.html#styletohtmlstylethemedark" class="tsd-kind-icon">style<wbr>ToHtml<wbr>Style<wbr>Theme<wbr>Dark</a>
</li>
<li class=" tsd-kind-variable tsd-parent-kind-module">
<a href="nightingale_formatter_src_styletohtmlstyle.html#styletohtmlstylethemelight" class="tsd-kind-icon">style<wbr>ToHtml<wbr>Style<wbr>Theme<wbr>Light</a>
</li>
</ul>
</nav>
Expand Down
18 changes: 16 additions & 2 deletions packages/nightingale-formatter/dist/index-browser-dev.cjs.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

15 changes: 13 additions & 2 deletions packages/nightingale-formatter/dist/index-browser-dev.es.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

18 changes: 16 additions & 2 deletions packages/nightingale-formatter/dist/index-browser.cjs.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

15 changes: 13 additions & 2 deletions packages/nightingale-formatter/dist/index-browser.es.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

14 changes: 12 additions & 2 deletions packages/nightingale-formatter/dist/index-browsermodern-dev.es.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

Loading

0 comments on commit b0ae0cd

Please sign in to comment.