Skip to content

Commit

Permalink
docs(theme): update darkerfx
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonboukheir committed Nov 26, 2022
1 parent 03bd62d commit 84a0933
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .docfx/templates/darkerfx/partials/affix.tmpl.partial
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@
</div>

<nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
<!-- <p><a class="back-to-top" href="#top">Back to top</a><p> -->
<h5>{{__global.inThisArticle}}</h5>
<div></div>
</nav>
</div>
</div>
6 changes: 6 additions & 0 deletions .docfx/templates/darkerfx/styles/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ body.theme-dark {
--theme-inline-code: inherit;
--theme-inline-code-background: #454545;
--theme-code-border: #404040;
--theme-code-color: inherit;
--theme-border-subnav: #404040;
--theme-border-footer: #404040;
}
Expand Down Expand Up @@ -69,6 +70,7 @@ body.theme-light {
--theme-inline-code: #c7254e;
--theme-inline-code-background: #f9f2f4;
--theme-code-border: #e7e7e7;
--theme-code-color: #333;
--theme-border-footer: #e7e7e7;
}

Expand Down Expand Up @@ -428,6 +430,10 @@ pre {
background-color: inherit;
}

legend, pre {
color: var(--theme-code-color);
}

/*
* highlight.js custom theme (dark version)
*
Expand Down

0 comments on commit 84a0933

Please sign in to comment.