Skip to content

Commit

Permalink
add nfdi themed docs template
Browse files Browse the repository at this point in the history
  • Loading branch information
kMutagene committed Jan 12, 2024
1 parent f30f2e1 commit 1d20f24
Show file tree
Hide file tree
Showing 2 changed files with 123 additions and 0 deletions.
11 changes: 11 additions & 0 deletions arc-validate.sln
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,16 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "qcPackage_prototypes", "qcP
playgrounds\qcPackage_prototypes\invenio_prototype_v0.2.0.fsx = playgrounds\qcPackage_prototypes\invenio_prototype_v0.2.0.fsx
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "docs", "docs", "{DB01DF70-3713-4445-AC79-A09ECE093294}"
ProjectSection(SolutionItems) = preProject
docs\index.ipynb = docs\index.ipynb
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "content", "content", "{588EA1DC-90EB-4827-B3D1-B89C27776E58}"
ProjectSection(SolutionItems) = preProject
docs\content\fsdocs-theme.css = docs\content\fsdocs-theme.css
EndProjectSection
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand Down Expand Up @@ -136,6 +146,7 @@ Global
{02699157-EFC4-4E1A-94CC-B9825E2D1CB8} = {7994D526-5B21-4EBD-9CCB-EFA04EE303CF}
{A83F65C9-925E-437C-A457-EF8B9C6B154D} = {B3F07465-2108-4C43-843A-9F503044FDB7}
{9B3B6E39-DB2F-4A91-944B-EFAAD961FCE7} = {7994D526-5B21-4EBD-9CCB-EFA04EE303CF}
{588EA1DC-90EB-4827-B3D1-B89C27776E58} = {DB01DF70-3713-4445-AC79-A09ECE093294}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {FF9C2722-38D9-48C4-8095-4726C56E92DE}
Expand Down
112 changes: 112 additions & 0 deletions docs/content/fsdocs-theme.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
:root {
/* fslab colors */
--dataplant-mint: #1fc2a7;
--dataplant-lightblue: #4FB3D9;
--dataplant-darkblue: #2D3E50;
--dataplant-yellow: #F9CD69;
--dataplant-olive: #b4ce82;
--dataplant-red: #c21f3a;
/* light theme */
--primary: var(--dataplant-mint);
--text-color: var(--dataplant-darkblue);
--text-hover: var(--dataplant-lightblue);
--heading-color: var(--dataplant-mint);
--code-color: var(--dataplant-red);
--header-border: var(--dataplant-darkblue);
--menu-item-hover-background: var(--dataplant-mint);
--mobile-menu-background: var(--header-background);
--link-color: var(--dataplant-lightblue);
--link-hover: var(--dataplant-mint);
--nav-category: rgb(156, 163, 175);
--aside-background: var(--header-background);
--menu-color: var(--text-color);
--fsdocs-theme-toggle-light-color: var(--dataplant-mint);
--fsdocs-theme-toggle-dark-color: #FFF;
--header-link-color: var(--dataplant-darkblue);
--nav-item-active-border-color: var(--dataplant-mint);
/* --code-strings-color: #0093A1;
--code-printf-color: #6B2FBA;
--code-escaped-color: #EA8675;
--code-identifiers-color: #6B2FBA;
--code-module-color: #009999;
--code-reference-color: #4974D1;
--code-value-color: #1B6600;
--code-interface-color: #43AEC6;
--code-typearg-color: #43AEC6;
--code-disposable-color: #43AEC6;
--code-property-color: #43AEC6;
--code-punctuation-color: #43AEC6;
--code-punctuation2-color: var(--text-color);
--code-function-color: #6B2FBA;
--code-function2-color: #6B2FBA;
--code-activepattern-color: #4ec9b0;
--code-unioncase-color: #4ec9b0;
--code-enumeration-color: #8C6C41;
--code-keywords-color: #0F54D6;
--code-comment-color: #707070;
--code-operators-color: #0F54D6;
--code-numbers-color: #009999;
--code-linenumbers-color: #80b0b0;
--code-mutable-color: #1b6600;
--code-inactive-color: #808080;
--code-preprocessor-color: #af75c1;
--code-fsioutput-color: #808080;
--code-tooltip-color: #d1d1d1; */
}

table.pre, #content > pre.fssnip {
border: 1px solid var(--dataplant-darkblue);
}

:not(td) > .fssnip {
border: 1px solid var(--dataplant-darkblue);
}

[data-theme=dark] {
--text-color: #F7F7F7;
--heading-color: var(--dataplant-mint);
--header-border: var(--dataplant-lightblue);
--code-color: var(--dataplant-yellow);
--menu-item-hover-background: var(--dataplant-lightblue);
--doc-tip-background: #2e293a;
--search-background: #020202;
--nav-category: rgb(207, 211, 215);
--header-link-color: var(--dataplant-lightblue);
--nav-item-active-border-color: var(--dataplant-lightblue);
/* --code-strings-color: #86b4b9;
--code-printf-color: #6B2FBA;
--code-escaped-color: #EA8675;
--code-identifiers-color: #d1b3f5;
--code-module-color: #15e1e1;
--code-reference-color: #40fddd;
--code-value-color: #ffb4e9;
--code-interface-color: #43AEC6;
--code-typearg-color: #43AEC6;
--code-disposable-color: #6dd6f1;
--code-property-color: #6acfe7;
--code-punctuation-color: #43AEC6;
--code-punctuation2-color: var(--text-color);
--code-function-color: #6B2FBA;
--code-function2-color: #cbda9d;
--code-activepattern-color: #4ec9b0;
--code-unioncase-color: #4ec9b0;
--code-enumeration-color: #8C6C41;
--code-keywords-color: #a7c2f8;
--code-comment-color: #84d16e;
--code-operators-color: #b4c6ee;
--code-numbers-color: #009999;
--code-linenumbers-color: #80b0b0;
--code-mutable-color: #1b6600;
--code-inactive-color: #808080;
--code-preprocessor-color: #af75c1;
--code-fsioutput-color: #808080;
--code-tooltip-color: #d1d1d1; */

table .pre, #content > pre.fssnip {
border: 1px solid var(--dataplant-lightblue);
}

:not(td) > .fssnip {
border: 1px solid var(--dataplant-lightblue);
}
}

0 comments on commit 1d20f24

Please sign in to comment.