diff --git a/.vscode/settings.json b/.vscode/settings.json index 365c9fb8..75e0e589 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -5,7 +5,9 @@ "MSIL", "Per's", "Waka", + "darkfx", "hljs", - "sidetoc" + "sidetoc", + "steffen" ] } \ No newline at end of file diff --git a/Makefile b/Makefile index d0c922d9..d60cb4a8 100644 --- a/Makefile +++ b/Makefile @@ -25,9 +25,12 @@ clean: docs-clean: rm -rf _site -docs: docfx/docfx.exe +docs: docfx/docfx.exe docs/templates/darkerfx/styles/main.css ./docfx/docfx.exe docs/docfx.json +docs/templates/darkerfx/styles/main.css: docs/templates/darkerfx/styles/main.scss + sass $< $(@) + docs-autobuild: while true; do find docs Makefile src -type f | entr -d bash -c 'scripts/time_it make docs' ; done diff --git a/docs/templates/darkerfx/partials/toc.tmpl.partial b/docs/templates/darkerfx/partials/toc.tmpl.partial new file mode 100644 index 00000000..851288fb --- /dev/null +++ b/docs/templates/darkerfx/partials/toc.tmpl.partial @@ -0,0 +1,10 @@ +{{!Copyright (c) Microsoft. All rights reserved. Licensed under the MIT license. See LICENSE file in the project root for full license information.}} + + diff --git a/docs/templates/darkerfx/styles/main.css b/docs/templates/darkerfx/styles/main.css index 755c0e05..2f461372 100644 --- a/docs/templates/darkerfx/styles/main.css +++ b/docs/templates/darkerfx/styles/main.css @@ -26,6 +26,8 @@ body.theme-dark { --theme-sidenav-border: #404040; --theme-sidenav-background: #2d2d30; --theme-sidenav-filter-background: #1d1d1d; + --theme-sidenav-toc-toggle-background: #1d1d1d; + --theme-sidenav-toc-toggle-hover: #fff; --theme-toc-hover: #fff; --theme-background: #2d2d30; --theme-body-background: #171717; @@ -52,6 +54,8 @@ body.theme-light { --theme-sidenav-border: #e7e7e7; --theme-sidenav-background: #f1f1f1; --theme-sidenav-filter-background: #ffffff; + --theme-sidenav-toc-toggle-background: #f1f1f1; + --theme-sidenav-toc-toggle-hover: #337ab7; --theme-toc-hover: #4c4c4c; --theme-background: #ffffff; --theme-body-background: #ffffff; @@ -121,7 +125,27 @@ article h4 { .sidetoc > .toc { background-color: var(--theme-sidenav-background); } -body.theme-dark button, body.theme-dark a { +.sidenav { + background-color: var(--theme-sidenav-background); + padding-top: 0; } + +.sidenav > div.toc-toggle { + background-color: var(--theme-sidenav-toc-toggle-background); + margin: 0; + padding-top: 0px; } + +.sidenav a.toc-toggle { + color: var(--theme-navbar); } + +.sidenav a.toc-toggle:focus, +.sidenav a.toc-toggle:hover { + color: var(--theme-sidenav-toc-toggle-hover); } + +.sidenav > .sidetoggle { + background-color: var(--theme-sidenav-background); } + +body.theme-dark button, +body.theme-dark a { color: #5999d8; } body.theme-dark .alert > p { background-color: var(--theme-background-dark); } diff --git a/docs/templates/darkerfx/styles/main.css.map b/docs/templates/darkerfx/styles/main.css.map index 3a66a94e..4cad0ea6 100644 --- a/docs/templates/darkerfx/styles/main.css.map +++ b/docs/templates/darkerfx/styles/main.css.map @@ -1,6 +1,6 @@ { "version": 3, -"mappings": "AAAA;;;;;;;;;;;;;;GAcG;AAEH;eACgB;EACZ,kBAAkB,CAAC,QAAQ;EAC3B,YAAY,CAAC,QAAQ;EACrB,cAAc,CAAC,QAAQ;EACvB,oBAAoB,CAAC,KAAK;EAC1B,qBAAqB,CAAC,KAAK;EAC3B,kBAAkB,CAAC,KAAK;EACxB,iBAAiB,CAAC,KAAK;EACvB,2BAA2B,CAAC,QAAQ;EACpC,sBAAsB,CAAC,QAAQ;EAC/B,0BAA0B,CAAC,QAAQ;EACnC,iCAAiC,CAAC,QAAQ;EAC1C,iBAAiB,CAAC,KAAK;EACvB,kBAAkB,CAAC,QAAQ;EAC3B,uBAAuB,CAAC,QAAQ;EAChC,yBAAyB,CAAC,KAAK;EAC/B,gCAAgC,CAAC,QAAQ;EACzC,yBAAyB,CAAC,QAAQ;EAClC,yBAAyB,CAAC,QAAQ;EAClC,4BAA4B,CAAC,QAAQ;EACrC,wBAAwB,CAAC,QAAQ;EACjC,mBAAmB,CAAC,QAAQ;EAC5B,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B,6BAAa;EACT,WAAW,EAAE,IAAI", "sources": ["main.scss"], "names": [], "file": "main.css" diff --git a/docs/templates/darkerfx/styles/main.scss b/docs/templates/darkerfx/styles/main.scss index 11ddbb33..0665dce4 100644 --- a/docs/templates/darkerfx/styles/main.scss +++ b/docs/templates/darkerfx/styles/main.scss @@ -27,6 +27,8 @@ body.theme-dark { --theme-sidenav-border: #404040; --theme-sidenav-background: #2d2d30; --theme-sidenav-filter-background: #1d1d1d; + --theme-sidenav-toc-toggle-background: #1d1d1d; + --theme-sidenav-toc-toggle-hover: #fff; --theme-toc-hover: #fff; --theme-background: #2d2d30; --theme-body-background: #171717; @@ -54,6 +56,8 @@ body.theme-light { --theme-sidenav-border: #e7e7e7; --theme-sidenav-background: #f1f1f1; --theme-sidenav-filter-background: #ffffff; + --theme-sidenav-toc-toggle-background: #f1f1f1; + --theme-sidenav-toc-toggle-hover: #337ab7; --theme-toc-hover: #4c4c4c; --theme-background: #ffffff; --theme-body-background: #ffffff; @@ -138,8 +142,34 @@ article h4 { background-color: var(--theme-sidenav-background); } +.sidenav { + background-color: var(--theme-sidenav-background); + padding-top: 0; +} + +.sidenav>div.toc-toggle { + background-color: var(--theme-sidenav-toc-toggle-background); + margin: 0; + padding-top: 0px; +} + +.sidenav a.toc-toggle { + color: var(--theme-navbar); +} + +.sidenav a.toc-toggle:focus, +.sidenav a.toc-toggle:hover { + color: var(--theme-sidenav-toc-toggle-hover); +} + +.sidenav>.sidetoggle { + background-color: var(--theme-sidenav-background); +} + body.theme-dark { - button, a { + + button, + a { color: #5999d8; }