Add Lotusdocs theme

This commit is contained in:
Abner Coimbre
2026-01-11 16:46:05 -08:00
parent d051d46d1f
commit 8a4d04db58
577 changed files with 40404 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
/* Chroma CSS */
.docs-content .main-content code {
color: var(--text-default);
}
.docs-content .main-content pre {
background-color: var(--code-block-bg) !important;
code {
color: #f5fbff;
background: var(--code-block-bg);
}
}

View File

@@ -0,0 +1,761 @@
/*! @docsearch/css 3.3.0 | MIT License | © Algolia, Inc. and contributors | https://docsearch.algolia.com */
:root {
--docsearch-primary-color: var(--primary);
--docsearch-text-color: #1c1e21;
--docsearch-spacing: 12px;
--docsearch-icon-stroke-width: 1.4;
--docsearch-highlight-color: var(--docsearch-primary-color);
--docsearch-muted-color: #666d78;
--docsearch-container-background: rgba(101, 108, 133, 0.8);
--docsearch-logo-color: #5468ff;
--docsearch-modal-width: 560px;
--docsearch-modal-height: 600px;
--docsearch-modal-background: #f5f6f7;
--docsearch-modal-shadow: inset 1px 1px 0 0 hsla(0, 0%, 100%, 0.5), 0 3px 8px 0 #555a64;
--docsearch-searchbox-height: 56px;
--docsearch-searchbox-background: var(--body-bg);
--docsearch-searchbox-border: #e5e5e5;
--docsearch-searchbox-focus-background: #fff;
--docsearch-searchbox-shadow: inset 0 0 0 2px var(--docsearch-primary-color);
--docsearch-hit-height: 56px;
--docsearch-hit-color: #444950;
--docsearch-hit-active-color: #fff;
--docsearch-hit-background: #fff;
--docsearch-hit-shadow: 0 1px 3px 0 #d4d9e1;
--docsearch-key-gradient: linear-gradient(-225deg, #d5dbe4, #f8f8f8);
--docsearch-key-shadow: inset 0 -2px 0 0 #cdcde6, inset 0 0 1px 1px #fff, 0 1px 2px 1px rgba(30, 35, 90, 0.4);
--docsearch-key-color: #fff;
--docsearch-key-background-color: var(--docsearch-primary-color);
--docsearch-footer-height: 44px;
--docsearch-footer-background: #fff;
--docsearch-footer-shadow: 0 -1px 0 0 #e0e3e8, 0 -3px 6px 0 rgba(69, 98, 155, 0.12)
}
[data-dark-mode] {
--docsearch-text-color: #f5f6f7;
--docsearch-container-background: rgba(9, 10, 17, 0.8);
--docsearch-modal-background: var(--dark);
--docsearch-modal-shadow: inset 1px 1px 0 0 #2c2e40, 0 3px 8px 0 #000309;
--docsearch-searchbox-background: var(--body-bg);
--docsearch-searchbox-border: var(--gray-800);
--docsearch-searchbox-focus-background: #000;
--docsearch-hit-color: #bec3c9;
--docsearch-hit-shadow: none;
--docsearch-hit-background: #090a11;
--docsearch-key-gradient: linear-gradient(-26.5deg, #565872, #31355b);
--docsearch-key-shadow: inset 0 -2px 0 0 #282d55, inset 0 0 1px 1px #51577d, 0 2px 2px 0 rgba(3, 4, 9, 0.3);
--docsearch-key-color: var(--primary-200);
--docsearch-key-background-color: hsl(var(--primary-hsl), 0.15);
--docsearch-footer-background: #1e2136;
--docsearch-footer-shadow: inset 0 1px 0 0 rgba(73, 76, 106, 0.5), 0 -4px 8px 0 rgba(0, 0, 0, 0.2);
--docsearch-logo-color: #fff;
--docsearch-muted-color: #7f8497
}
.DocSearch-Button {
align-items: center;
background: none;
border: 1px solid var(--docsearch-searchbox-border);
border-radius: 4px;
color: var(--docsearch-muted-color);
cursor: pointer;
display: flex;
font-weight: 500;
height: 36px;
justify-content: space-between;
margin: 0 0 0 16px;
padding: 0 8px;
user-select: none
}
.DocSearch-Button:active,
.DocSearch-Button:focus,
.DocSearch-Button:hover {
background: var(--docsearch-searchbox-focus-background);
// box-shadow: var(--docsearch-searchbox-shadow);
border: 1px solid var(--docsearch-searchbox-border);
color: var(--docsearch-text-color);
outline: none
}
.DocSearch-Button-Container {
align-items: center;
display: flex
}
.DocSearch-Search-Icon {
stroke-width: 1.6
}
.DocSearch-Button .DocSearch-Search-Icon {
color: var(--docsearch-text-color)
}
.DocSearch-Button-Placeholder {
font-size: 1rem;
padding: 0 12px 0 6px
}
.DocSearch-Button-Keys {
display: flex;
min-width: calc(40px + .8em)
}
.DocSearch-Command-Key {
align-items: center;
background: var(--docsearch-key-background-color);
border-radius: 3px;
// box-shadow: var(--docsearch-key-shadow);
color: var(--docsearch-key-color);
display: flex;
height: 18px;
justify-content: center;
margin-right: .4em;
position: relative;
// padding: 0 0 2px;
border: 0;
top: 1px;
width: 56px
}
.DocSearch-Button-Key {
align-items: center;
background: var(--docsearch-key-background-color);
border-radius: 3px;
// box-shadow: var(--docsearch-key-shadow);
color: var(--docsearch-key-color);
display: flex;
height: 18px;
justify-content: center;
margin-right: .4em;
position: relative;
// padding: 0 0 2px;
border: 0;
top: 1px;
width: 20px;
font-size: 11px;
}
@media (max-width:768px) {
.DocSearch-Button-Keys,
.DocSearch-Button-Placeholder {
display: none
}
}
.DocSearch--active {
overflow: hidden !important
}
.DocSearch-Container,
.DocSearch-Container * {
box-sizing: border-box
}
.DocSearch-Container {
background-color: var(--docsearch-container-background);
height: 100vh;
left: 0;
position: fixed;
top: 0;
width: 100vw;
z-index: 200
}
.DocSearch-Container a {
text-decoration: none
}
.DocSearch-Link {
appearance: none;
background: none;
border: 0;
color: var(--docsearch-highlight-color);
cursor: pointer;
font: inherit;
margin: 0;
padding: 0
}
.DocSearch-Modal {
background: var(--docsearch-modal-background);
border-radius: 6px;
box-shadow: var(--docsearch-modal-shadow);
flex-direction: column;
margin: 65px calc(100vw - 925px) auto auto;
max-width: var(--docsearch-modal-width);
position: relative
}
@media (max-width:1024px) {
.DocSearch-Modal {
margin: 65px calc(100vw - 640px) auto auto;
}
}
.DocSearch-SearchBar {
display: flex;
padding: var(--docsearch-spacing) var(--docsearch-spacing) 0
}
.DocSearch-Form {
align-items: center;
background: var(--docsearch-searchbox-focus-background);
border-radius: 4px;
box-shadow: var(--docsearch-searchbox-shadow);
display: flex;
height: var(--docsearch-searchbox-height);
margin: 0;
padding: 0 var(--docsearch-spacing);
position: relative;
width: 100%
}
.DocSearch-Input {
appearance: none;
background: transparent;
border: 0;
color: var(--docsearch-text-color);
flex: 1;
font: inherit;
font-size: 1.2em;
height: 100%;
outline: none;
padding: 0 0 0 8px;
width: 80%
}
.DocSearch-Input::placeholder {
color: var(--docsearch-muted-color);
opacity: 1
}
.DocSearch-Input::-webkit-search-cancel-button,
.DocSearch-Input::-webkit-search-decoration,
.DocSearch-Input::-webkit-search-results-button,
.DocSearch-Input::-webkit-search-results-decoration {
display: none
}
.DocSearch-LoadingIndicator,
.DocSearch-MagnifierLabel,
.DocSearch-Reset {
margin: 0;
padding: 0
}
.DocSearch-MagnifierLabel,
.DocSearch-Reset {
align-items: center;
color: var(--docsearch-highlight-color);
display: flex;
justify-content: center
}
.DocSearch-Container--Stalled .DocSearch-MagnifierLabel,
.DocSearch-LoadingIndicator {
display: none
}
.DocSearch-Container--Stalled .DocSearch-LoadingIndicator {
align-items: center;
color: var(--docsearch-highlight-color);
display: flex;
justify-content: center
}
@media screen and (prefers-reduced-motion:reduce) {
.DocSearch-Reset {
animation: none;
appearance: none;
background: none;
border: 0;
border-radius: 50%;
color: var(--docsearch-icon-color);
cursor: pointer;
right: 0;
stroke-width: var(--docsearch-icon-stroke-width)
}
}
.DocSearch-Reset {
animation: fade-in .1s ease-in forwards;
appearance: none;
background: none;
border: 0;
border-radius: 50%;
color: var(--docsearch-icon-color);
cursor: pointer;
padding: 2px;
right: 0;
stroke-width: var(--docsearch-icon-stroke-width)
}
.DocSearch-Reset[hidden] {
display: none
}
.DocSearch-Reset:focus {
outline: none
}
.DocSearch-Reset:hover {
color: var(--docsearch-highlight-color)
}
.DocSearch-LoadingIndicator svg,
.DocSearch-MagnifierLabel svg {
height: 24px;
width: 24px
}
.DocSearch-Cancel {
display: none
}
.DocSearch-Dropdown {
max-height: calc(var(--docsearch-modal-height) - var(--docsearch-searchbox-height) - var(--docsearch-spacing) - var(--docsearch-footer-height));
min-height: var(--docsearch-spacing);
overflow-y: auto;
overflow-y: overlay;
padding: 0 var(--docsearch-spacing);
scrollbar-color: var(--docsearch-muted-color) var(--docsearch-modal-background);
scrollbar-width: thin
}
.DocSearch-Dropdown::-webkit-scrollbar {
width: 12px
}
.DocSearch-Dropdown::-webkit-scrollbar-track {
background: transparent
}
.DocSearch-Dropdown::-webkit-scrollbar-thumb {
background-color: var(--docsearch-muted-color);
border: 3px solid var(--docsearch-modal-background);
border-radius: 20px
}
.DocSearch-Dropdown ul {
list-style: none;
margin: 0;
padding: 0
}
.DocSearch-Label {
font-size: .75em;
line-height: 1.6em
}
.DocSearch-Help,
.DocSearch-Label {
color: var(--docsearch-muted-color)
}
.DocSearch-Help {
font-size: .9em;
margin: 0;
user-select: none
}
.DocSearch-Title {
font-size: 1.2em
}
.DocSearch-Logo a {
display: flex
}
.DocSearch-Logo svg {
color: var(--docsearch-logo-color);
margin-left: 8px
}
.DocSearch-Hits:last-of-type {
margin-bottom: 24px
}
.DocSearch-Hits mark {
padding: 0;
background: none;
color: var(--docsearch-highlight-color)
}
.DocSearch-HitsFooter {
color: var(--docsearch-muted-color);
display: flex;
font-size: .85em;
justify-content: center;
margin-bottom: var(--docsearch-spacing);
padding: var(--docsearch-spacing)
}
.DocSearch-HitsFooter a {
border-bottom: 1px solid;
color: inherit
}
.DocSearch-Hit {
border-radius: 4px;
display: flex;
padding-bottom: 4px;
position: relative
}
@media screen and (prefers-reduced-motion:reduce) {
.DocSearch-Hit--deleting {
transition: none
}
}
.DocSearch-Hit--deleting {
opacity: 0;
transition: all .25s linear
}
@media screen and (prefers-reduced-motion:reduce) {
.DocSearch-Hit--favoriting {
transition: none
}
}
.DocSearch-Hit--favoriting {
transform: scale(0);
transform-origin: top center;
transition: all .25s linear;
transition-delay: .25s
}
.DocSearch-Hit a {
background: var(--docsearch-hit-background);
border-radius: 4px;
box-shadow: var(--docsearch-hit-shadow);
display: block;
padding-left: var(--docsearch-spacing);
width: 100%
}
.DocSearch-Hit-source {
background: var(--docsearch-modal-background);
color: var(--docsearch-highlight-color);
font-size: .85em;
font-weight: 600;
line-height: 32px;
margin: 0 -4px;
padding: 8px 4px 0;
position: sticky;
top: 0;
z-index: 10
}
.DocSearch-Hit-Tree {
color: var(--docsearch-muted-color);
height: var(--docsearch-hit-height);
opacity: .5;
stroke-width: var(--docsearch-icon-stroke-width);
width: 24px
}
.DocSearch-Hit[aria-selected=true] a {
background-color: var(--docsearch-highlight-color)
}
.DocSearch-Hit[aria-selected=true] mark {
text-decoration: underline
}
.DocSearch-Hit-Container {
align-items: center;
color: var(--docsearch-hit-color);
display: flex;
flex-direction: row;
height: var(--docsearch-hit-height);
padding: 0 var(--docsearch-spacing) 0 0
}
.DocSearch-Hit-icon {
height: 20px;
width: 20px
}
.DocSearch-Hit-action,
.DocSearch-Hit-icon {
color: var(--docsearch-muted-color);
stroke-width: var(--docsearch-icon-stroke-width)
}
.DocSearch-Hit-action {
align-items: center;
display: flex;
height: 22px;
width: 22px
}
.DocSearch-Hit-action svg {
display: block;
height: 18px;
width: 18px
}
.DocSearch-Hit-action+.DocSearch-Hit-action {
margin-left: 6px
}
.DocSearch-Hit-action-button {
appearance: none;
background: none;
border: 0;
border-radius: 50%;
color: inherit;
cursor: pointer;
padding: 2px
}
svg.DocSearch-Hit-Select-Icon {
display: none
}
.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-Select-Icon {
display: block
}
.DocSearch-Hit-action-button:focus,
.DocSearch-Hit-action-button:hover {
background: rgba(0, 0, 0, .2);
transition: background-color .1s ease-in
}
@media screen and (prefers-reduced-motion:reduce) {
.DocSearch-Hit-action-button:focus,
.DocSearch-Hit-action-button:hover {
transition: none
}
}
.DocSearch-Hit-action-button:focus path,
.DocSearch-Hit-action-button:hover path {
fill: #fff
}
.DocSearch-Hit-content-wrapper {
display: flex;
flex: 1 1 auto;
flex-direction: column;
font-weight: 600;
justify-content: center;
line-height: 1.2em;
margin: 0 8px;
overflow-x: hidden;
position: relative;
text-overflow: ellipsis;
white-space: nowrap;
width: 80%
}
.DocSearch-Hit-title {
font-size: .9em
}
.DocSearch-Hit-path {
color: var(--docsearch-muted-color);
font-size: .75em
}
.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-action,
.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-icon,
.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-path,
.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-text,
.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-title,
.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-Tree,
.DocSearch-Hit[aria-selected=true] mark {
color: var(--docsearch-hit-active-color) !important
}
@media screen and (prefers-reduced-motion:reduce) {
.DocSearch-Hit-action-button:focus,
.DocSearch-Hit-action-button:hover {
background: rgba(0, 0, 0, .2);
transition: none
}
}
.DocSearch-ErrorScreen,
.DocSearch-NoResults,
.DocSearch-StartScreen {
font-size: .9em;
margin: 0 auto;
padding: 36px 0;
text-align: center;
width: 80%
}
.DocSearch-Screen-Icon {
color: var(--docsearch-muted-color);
padding-bottom: 12px
}
.DocSearch-NoResults-Prefill-List {
display: inline-block;
padding-bottom: 24px;
text-align: left
}
.DocSearch-NoResults-Prefill-List ul {
display: inline-block;
padding: 8px 0 0
}
.DocSearch-NoResults-Prefill-List li {
list-style-position: inside;
list-style-type: "» "
}
.DocSearch-Prefill {
appearance: none;
background: none;
border: 0;
border-radius: 1em;
color: var(--docsearch-highlight-color);
cursor: pointer;
display: inline-block;
font-size: 1em;
font-weight: 700;
padding: 0
}
.DocSearch-Prefill:focus,
.DocSearch-Prefill:hover {
outline: none;
text-decoration: underline
}
.DocSearch-Footer {
align-items: center;
background: var(--docsearch-footer-background);
border-radius: 0 0 8px 8px;
box-shadow: var(--docsearch-footer-shadow);
display: flex;
flex-direction: row-reverse;
flex-shrink: 0;
height: var(--docsearch-footer-height);
justify-content: space-between;
padding: 0 var(--docsearch-spacing);
position: relative;
user-select: none;
width: 100%;
z-index: 300
}
.DocSearch-Commands {
color: var(--docsearch-muted-color);
display: flex;
list-style: none;
margin: 0;
padding: 0
}
.DocSearch-Commands li {
align-items: center;
display: flex
}
.DocSearch-Commands li:not(:last-of-type) {
margin-right: .8em
}
.DocSearch-Commands-Key {
align-items: center;
background: var(--docsearch-key-background-color);
border-radius: 3px;
display: flex;
height: 20px;
justify-content: center;
margin-right: .4em;
color: var(--docsearch-key-color);
border: 0;
width: 30px
}
@media (max-width:768px) {
:root {
--docsearch-spacing: 10px;
--docsearch-footer-height: 40px
}
.DocSearch-Dropdown {
height: calc(100% - 92px);
}
.DocSearch-Container {
height: 100vh;
height: -webkit-fill-available;
height: calc(var(--docsearch-vh, 1vh)*100);
position: absolute
}
.DocSearch-Footer {
border-radius: 0;
bottom: 0;
position: absolute
}
.DocSearch-Hit-content-wrapper {
display: flex;
position: relative;
width: 80%
}
.DocSearch-Modal {
border-radius: 0;
box-shadow: none;
// height: 100vh;
height: -webkit-calc(100% - 72px);
height: calc(100% - 72px);
margin: 72px 0 0 0;
max-width: 100%;
width: 100%
}
.DocSearch-Dropdown {
max-height: calc(var(--docsearch-vh, 1vh)*100 - var(--docsearch-searchbox-height) - var(--docsearch-spacing) - var(--docsearch-footer-height))
}
.DocSearch-Cancel {
appearance: none;
background: none;
border: 0;
color: var(--docsearch-highlight-color);
cursor: pointer;
display: inline-block;
flex: none;
font: inherit;
font-size: 1em;
font-weight: 500;
margin-left: var(--docsearch-spacing);
outline: none;
overflow: hidden;
padding: 0;
user-select: none;
white-space: nowrap
}
.DocSearch-Commands,
.DocSearch-Hit-Tree {
display: none
}
}
@keyframes fade-in {
0% {
opacity: 0
}
to {
opacity: 1
}
}

View File

@@ -0,0 +1,48 @@
/*! @docsearch/css Variables 3.3.0 | MIT License | © Algolia, Inc. and contributors | https://docsearch.algolia.com */
:root {
--docsearch-primary-color: #5468ff;
--docsearch-text-color: #1c1e21;
--docsearch-spacing: 12px;
--docsearch-icon-stroke-width: 1.4;
--docsearch-highlight-color: var(--docsearch-primary-color);
--docsearch-muted-color: #969faf;
--docsearch-container-background: rgba(101, 108, 133, 0.8);
--docsearch-logo-color: #5468ff;
--docsearch-modal-width: 560px;
--docsearch-modal-height: 600px;
--docsearch-modal-background: #f5f6f7;
--docsearch-modal-shadow: inset 1px 1px 0 0 hsla(0, 0%, 100%, 0.5), 0 3px 8px 0 #555a64;
--docsearch-searchbox-height: 56px;
--docsearch-searchbox-background: #ebedf0;
--docsearch-searchbox-focus-background: #fff;
--docsearch-searchbox-shadow: inset 0 0 0 2px var(--docsearch-primary-color);
--docsearch-hit-height: 56px;
--docsearch-hit-color: #444950;
--docsearch-hit-active-color: #fff;
--docsearch-hit-background: #fff;
--docsearch-hit-shadow: 0 1px 3px 0 #d4d9e1;
--docsearch-key-gradient: linear-gradient(-225deg, #d5dbe4, #f8f8f8);
--docsearch-key-shadow: inset 0 -2px 0 0 #cdcde6, inset 0 0 1px 1px #fff, 0 1px 2px 1px rgba(30, 35, 90, 0.4);
--docsearch-footer-height: 44px;
--docsearch-footer-background: #fff;
--docsearch-footer-shadow: 0 -1px 0 0 #e0e3e8, 0 -3px 6px 0 rgba(69, 98, 155, 0.12)
}
html[data-theme=dark] {
--docsearch-text-color: #f5f6f7;
--docsearch-container-background: rgba(9, 10, 17, 0.8);
--docsearch-modal-background: #15172a;
--docsearch-modal-shadow: inset 1px 1px 0 0 #2c2e40, 0 3px 8px 0 #000309;
--docsearch-searchbox-background: #090a11;
--docsearch-searchbox-focus-background: #000;
--docsearch-hit-color: #bec3c9;
--docsearch-hit-shadow: none;
--docsearch-hit-background: #090a11;
--docsearch-key-gradient: linear-gradient(-26.5deg, #565872, #31355b);
--docsearch-key-shadow: inset 0 -2px 0 0 #282d55, inset 0 0 1px 1px #51577d, 0 2px 2px 0 rgba(3, 4, 9, 0.3);
--docsearch-footer-background: #1e2136;
--docsearch-footer-shadow: inset 0 1px 0 0 rgba(73, 76, 106, 0.5), 0 -4px 8px 0 rgba(0, 0, 0, 0.2);
--docsearch-logo-color: #fff;
--docsearch-muted-color: #7f8497
}

View File

@@ -0,0 +1,74 @@
/*! @docsearch/css Button 3.3.0 | MIT License | © Algolia, Inc. and contributors | https://docsearch.algolia.com */
.DocSearch-Button {
align-items: center;
background: var(--docsearch-searchbox-background);
border: 0;
border-radius: 40px;
color: var(--docsearch-muted-color);
cursor: pointer;
display: flex;
font-weight: 500;
height: 36px;
justify-content: space-between;
margin: 0 0 0 16px;
padding: 0 8px;
user-select: none
}
.DocSearch-Button:active,
.DocSearch-Button:focus,
.DocSearch-Button:hover {
background: var(--docsearch-searchbox-focus-background);
box-shadow: var(--docsearch-searchbox-shadow);
color: var(--docsearch-text-color);
outline: none
}
.DocSearch-Button-Container {
align-items: center;
display: flex
}
.DocSearch-Search-Icon {
stroke-width: 1.6
}
.DocSearch-Button .DocSearch-Search-Icon {
color: var(--docsearch-text-color)
}
.DocSearch-Button-Placeholder {
font-size: 1rem;
padding: 0 12px 0 6px
}
.DocSearch-Button-Keys {
display: flex;
min-width: calc(40px + .8em)
}
.DocSearch-Button-Key {
align-items: center;
background: var(--docsearch-key-gradient);
border-radius: 3px;
box-shadow: var(--docsearch-key-shadow);
color: var(--docsearch-muted-color);
display: flex;
height: 18px;
justify-content: center;
margin-right: .4em;
position: relative;
padding: 0 0 2px;
border: 0;
top: -1px;
width: 20px
}
@media (max-width:768px) {
.DocSearch-Button-Keys,
.DocSearch-Button-Placeholder {
display: none
}
}

View File

@@ -0,0 +1,611 @@
/*! @docsearch/css Modal 3.3.0 | MIT License | © Algolia, Inc. and contributors | https://docsearch.algolia.com */
.DocSearch--active {
overflow: hidden !important
}
.DocSearch-Container,
.DocSearch-Container * {
box-sizing: border-box
}
.DocSearch-Container {
background-color: var(--docsearch-container-background);
height: 100vh;
left: 0;
position: fixed;
top: 0;
width: 100vw;
z-index: 200
}
.DocSearch-Container a {
text-decoration: none
}
.DocSearch-Link {
appearance: none;
background: none;
border: 0;
color: var(--docsearch-highlight-color);
cursor: pointer;
font: inherit;
margin: 0;
padding: 0
}
.DocSearch-Modal {
background: var(--docsearch-modal-background);
border-radius: 6px;
box-shadow: var(--docsearch-modal-shadow);
flex-direction: column;
margin: 60px auto auto;
max-width: var(--docsearch-modal-width);
position: relative
}
.DocSearch-SearchBar {
display: flex;
padding: var(--docsearch-spacing) var(--docsearch-spacing) 0
}
.DocSearch-Form {
align-items: center;
background: var(--docsearch-searchbox-focus-background);
border-radius: 4px;
box-shadow: var(--docsearch-searchbox-shadow);
display: flex;
height: var(--docsearch-searchbox-height);
margin: 0;
padding: 0 var(--docsearch-spacing);
position: relative;
width: 100%
}
.DocSearch-Input {
appearance: none;
background: transparent;
border: 0;
color: var(--docsearch-text-color);
flex: 1;
font: inherit;
font-size: 1.2em;
height: 100%;
outline: none;
padding: 0 0 0 8px;
width: 80%
}
.DocSearch-Input::placeholder {
color: var(--docsearch-muted-color);
opacity: 1
}
.DocSearch-Input::-webkit-search-cancel-button,
.DocSearch-Input::-webkit-search-decoration,
.DocSearch-Input::-webkit-search-results-button,
.DocSearch-Input::-webkit-search-results-decoration {
display: none
}
.DocSearch-LoadingIndicator,
.DocSearch-MagnifierLabel,
.DocSearch-Reset {
margin: 0;
padding: 0
}
.DocSearch-MagnifierLabel,
.DocSearch-Reset {
align-items: center;
color: var(--docsearch-highlight-color);
display: flex;
justify-content: center
}
.DocSearch-Container--Stalled .DocSearch-MagnifierLabel,
.DocSearch-LoadingIndicator {
display: none
}
.DocSearch-Container--Stalled .DocSearch-LoadingIndicator {
align-items: center;
color: var(--docsearch-highlight-color);
display: flex;
justify-content: center
}
@media screen and (prefers-reduced-motion:reduce) {
.DocSearch-Reset {
animation: none;
appearance: none;
background: none;
border: 0;
border-radius: 50%;
color: var(--docsearch-icon-color);
cursor: pointer;
right: 0;
stroke-width: var(--docsearch-icon-stroke-width)
}
}
.DocSearch-Reset {
animation: fade-in .1s ease-in forwards;
appearance: none;
background: none;
border: 0;
border-radius: 50%;
color: var(--docsearch-icon-color);
cursor: pointer;
padding: 2px;
right: 0;
stroke-width: var(--docsearch-icon-stroke-width)
}
.DocSearch-Reset[hidden] {
display: none
}
.DocSearch-Reset:focus {
outline: none
}
.DocSearch-Reset:hover {
color: var(--docsearch-highlight-color)
}
.DocSearch-LoadingIndicator svg,
.DocSearch-MagnifierLabel svg {
height: 24px;
width: 24px
}
.DocSearch-Cancel {
display: none
}
.DocSearch-Dropdown {
max-height: calc(var(--docsearch-modal-height) - var(--docsearch-searchbox-height) - var(--docsearch-spacing) - var(--docsearch-footer-height));
min-height: var(--docsearch-spacing);
overflow-y: auto;
overflow-y: overlay;
padding: 0 var(--docsearch-spacing);
scrollbar-color: var(--docsearch-muted-color) var(--docsearch-modal-background);
scrollbar-width: thin
}
.DocSearch-Dropdown::-webkit-scrollbar {
width: 12px
}
.DocSearch-Dropdown::-webkit-scrollbar-track {
background: transparent
}
.DocSearch-Dropdown::-webkit-scrollbar-thumb {
background-color: var(--docsearch-muted-color);
border: 3px solid var(--docsearch-modal-background);
border-radius: 20px
}
.DocSearch-Dropdown ul {
list-style: none;
margin: 0;
padding: 0
}
.DocSearch-Label {
font-size: .75em;
line-height: 1.6em
}
.DocSearch-Help,
.DocSearch-Label {
color: var(--docsearch-muted-color)
}
.DocSearch-Help {
font-size: .9em;
margin: 0;
user-select: none
}
.DocSearch-Title {
font-size: 1.2em
}
.DocSearch-Logo a {
display: flex
}
.DocSearch-Logo svg {
color: var(--docsearch-logo-color);
margin-left: 8px
}
.DocSearch-Hits:last-of-type {
margin-bottom: 24px
}
.DocSearch-Hits mark {
background: none;
color: var(--docsearch-highlight-color)
}
.DocSearch-HitsFooter {
color: var(--docsearch-muted-color);
display: flex;
font-size: .85em;
justify-content: center;
margin-bottom: var(--docsearch-spacing);
padding: var(--docsearch-spacing)
}
.DocSearch-HitsFooter a {
border-bottom: 1px solid;
color: inherit
}
.DocSearch-Hit {
border-radius: 4px;
display: flex;
padding-bottom: 4px;
position: relative
}
@media screen and (prefers-reduced-motion:reduce) {
.DocSearch-Hit--deleting {
transition: none
}
}
.DocSearch-Hit--deleting {
opacity: 0;
transition: all .25s linear
}
@media screen and (prefers-reduced-motion:reduce) {
.DocSearch-Hit--favoriting {
transition: none
}
}
.DocSearch-Hit--favoriting {
transform: scale(0);
transform-origin: top center;
transition: all .25s linear;
transition-delay: .25s
}
.DocSearch-Hit a {
background: var(--docsearch-hit-background);
border-radius: 4px;
box-shadow: var(--docsearch-hit-shadow);
display: block;
padding-left: var(--docsearch-spacing);
width: 100%
}
.DocSearch-Hit-source {
background: var(--docsearch-modal-background);
color: var(--docsearch-highlight-color);
font-size: .85em;
font-weight: 600;
line-height: 32px;
margin: 0 -4px;
padding: 8px 4px 0;
position: sticky;
top: 0;
z-index: 10
}
.DocSearch-Hit-Tree {
color: var(--docsearch-muted-color);
height: var(--docsearch-hit-height);
opacity: .5;
stroke-width: var(--docsearch-icon-stroke-width);
width: 24px
}
.DocSearch-Hit[aria-selected=true] a {
background-color: var(--docsearch-highlight-color)
}
.DocSearch-Hit[aria-selected=true] mark {
text-decoration: underline
}
.DocSearch-Hit-Container {
align-items: center;
color: var(--docsearch-hit-color);
display: flex;
flex-direction: row;
height: var(--docsearch-hit-height);
padding: 0 var(--docsearch-spacing) 0 0
}
.DocSearch-Hit-icon {
height: 20px;
width: 20px
}
.DocSearch-Hit-action,
.DocSearch-Hit-icon {
color: var(--docsearch-muted-color);
stroke-width: var(--docsearch-icon-stroke-width)
}
.DocSearch-Hit-action {
align-items: center;
display: flex;
height: 22px;
width: 22px
}
.DocSearch-Hit-action svg {
display: block;
height: 18px;
width: 18px
}
.DocSearch-Hit-action+.DocSearch-Hit-action {
margin-left: 6px
}
.DocSearch-Hit-action-button {
appearance: none;
background: none;
border: 0;
border-radius: 50%;
color: inherit;
cursor: pointer;
padding: 2px
}
svg.DocSearch-Hit-Select-Icon {
display: none
}
.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-Select-Icon {
display: block
}
.DocSearch-Hit-action-button:focus,
.DocSearch-Hit-action-button:hover {
background: rgba(0, 0, 0, .2);
transition: background-color .1s ease-in
}
@media screen and (prefers-reduced-motion:reduce) {
.DocSearch-Hit-action-button:focus,
.DocSearch-Hit-action-button:hover {
transition: none
}
}
.DocSearch-Hit-action-button:focus path,
.DocSearch-Hit-action-button:hover path {
fill: #fff
}
.DocSearch-Hit-content-wrapper {
display: flex;
flex: 1 1 auto;
flex-direction: column;
font-weight: 500;
justify-content: center;
line-height: 1.2em;
margin: 0 8px;
overflow-x: hidden;
position: relative;
text-overflow: ellipsis;
white-space: nowrap;
width: 80%
}
.DocSearch-Hit-title {
font-size: .9em
}
.DocSearch-Hit-path {
color: var(--docsearch-muted-color);
font-size: .75em
}
.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-action,
.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-icon,
.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-path,
.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-text,
.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-title,
.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-Tree,
.DocSearch-Hit[aria-selected=true] mark {
color: var(--docsearch-hit-active-color) !important
}
@media screen and (prefers-reduced-motion:reduce) {
.DocSearch-Hit-action-button:focus,
.DocSearch-Hit-action-button:hover {
background: rgba(0, 0, 0, .2);
transition: none
}
}
.DocSearch-ErrorScreen,
.DocSearch-NoResults,
.DocSearch-StartScreen {
font-size: .9em;
margin: 0 auto;
padding: 36px 0;
text-align: center;
width: 80%
}
.DocSearch-Screen-Icon {
color: var(--docsearch-muted-color);
padding-bottom: 12px
}
.DocSearch-NoResults-Prefill-List {
display: inline-block;
padding-bottom: 24px;
text-align: left
}
.DocSearch-NoResults-Prefill-List ul {
display: inline-block;
padding: 8px 0 0
}
.DocSearch-NoResults-Prefill-List li {
list-style-position: inside;
list-style-type: "» "
}
.DocSearch-Prefill {
appearance: none;
background: none;
border: 0;
border-radius: 1em;
color: var(--docsearch-highlight-color);
cursor: pointer;
display: inline-block;
font-size: 1em;
font-weight: 700;
padding: 0
}
.DocSearch-Prefill:focus,
.DocSearch-Prefill:hover {
outline: none;
text-decoration: underline
}
.DocSearch-Footer {
align-items: center;
background: var(--docsearch-footer-background);
border-radius: 0 0 8px 8px;
box-shadow: var(--docsearch-footer-shadow);
display: flex;
flex-direction: row-reverse;
flex-shrink: 0;
height: var(--docsearch-footer-height);
justify-content: space-between;
padding: 0 var(--docsearch-spacing);
position: relative;
user-select: none;
width: 100%;
z-index: 300
}
.DocSearch-Commands {
color: var(--docsearch-muted-color);
display: flex;
list-style: none;
margin: 0;
padding: 0
}
.DocSearch-Commands li {
align-items: center;
display: flex
}
.DocSearch-Commands li:not(:last-of-type) {
margin-right: .8em
}
.DocSearch-Commands-Key {
align-items: center;
background: var(--docsearch-key-gradient);
border-radius: 2px;
box-shadow: var(--docsearch-key-shadow);
display: flex;
height: 18px;
justify-content: center;
margin-right: .4em;
padding: 0 0 1px;
color: var(--docsearch-muted-color);
border: 0;
width: 20px
}
@media (max-width:768px) {
:root {
--docsearch-spacing: 10px;
--docsearch-footer-height: 40px
}
.DocSearch-Dropdown {
height: 100%
}
.DocSearch-Container {
height: 100vh;
height: -webkit-fill-available;
height: calc(var(--docsearch-vh, 1vh)*100);
position: absolute
}
.DocSearch-Footer {
border-radius: 0;
bottom: 0;
position: absolute
}
.DocSearch-Hit-content-wrapper {
display: flex;
position: relative;
width: 80%
}
.DocSearch-Modal {
border-radius: 0;
box-shadow: none;
height: 100vh;
height: -webkit-fill-available;
height: calc(var(--docsearch-vh, 1vh)*100);
margin: 0;
max-width: 100%;
width: 100%
}
.DocSearch-Dropdown {
max-height: calc(var(--docsearch-vh, 1vh)*100 - var(--docsearch-searchbox-height) - var(--docsearch-spacing) - var(--docsearch-footer-height))
}
.DocSearch-Cancel {
appearance: none;
background: none;
border: 0;
color: var(--docsearch-highlight-color);
cursor: pointer;
display: inline-block;
flex: none;
font: inherit;
font-size: 1em;
font-weight: 500;
margin-left: var(--docsearch-spacing);
outline: none;
overflow: hidden;
padding: 0;
user-select: none;
white-space: nowrap
}
.DocSearch-Commands,
.DocSearch-Hit-Tree {
display: none
}
}
@keyframes fade-in {
0% {
opacity: 0
}
to {
opacity: 1
}
}

View File

@@ -0,0 +1,143 @@
/* Feedback Widget */
:root {
--emoticon-container-border-color: var(--gray-500);
--emoticon-color: var(--gray-500);
--emoticon-checked-color: var(--primary);
--emoticon-checked--bg-color: var(--primary-100);
}
[data-dark-mode] {
--emoticon-container-border-color: var(--gray-700);
--emoticon-color: var(--gray-600);
--emoticon-checked-color: var(--primary-300);
--emoticon-checked--bg-color: var(--gray-800);
}
#feedback-init {
transition: opacity 0.5s;
}
#feedback-form-pos,
#feedback-form-neg,
#feedback-end,
#feedback-emoji-end,
#feedback-submit-container,
#feedback-emoji-submit-container {
height: 0;
line-height:0;
overflow: hidden;
opacity: 0;
transition: opacity 0.5s;
&.is-visible {
height: auto;
line-height: inherit;
overflow: inherit;
opacity: 1;
}
.form-check {
margin-bottom: 0.525rem;
}
.form-check-label,
.form-check-input {
font-weight: 600;
cursor: pointer;
}
}
#feedback-emoji-end {
padding: 0;
&.is-visible {
padding: 10px 30px;
width: 40vh;
}
}
.feedback-radio-desc {
color: var(--text-muted);
font-size: 14px;
}
.feedback-textarea {
width: 50%;
font-size: 0.875rem;
color: var(--text-default);
background: var(--card-bg);
resize: none;
border: solid 1px;
border-radius: 4px ;
border-color: var(--card-border-color);
@media (max-width:578px) {
width: 100%;
}
}
#feedback-widget-emoticon {
border: 1px solid var(--emoticon-container-border-color);
border-radius: 30px;
padding: 1px 5px;
width: min-content;
}
#feedback-cta {
width: max-content;
}
#text-wrapper {
height: 0;
line-height:0;
overflow: hidden;
opacity: 0;
transition: opacity 0.5s;
&.is-visible {
height: auto;
line-height: inherit;
overflow: inherit;
opacity: 1;
padding: 10px 3px 0px 3px;
display: flex;
flex-direction: column;
gap: 8px;
}
}
.feedback-textarea-emoji {
width: 100%;
font-size: 0.875rem;
color: var(--text-default);
background: var(--card-bg);
resize: none;
border: solid 1px;
border-radius: 4px ;
border-color: var(--card-border-color);
}
.radio-emoji {
>input[type="radio"] {
display: none;
+label {
background: transparent;
color: var(--emoticon-color);
height: 32px;
width: 32px;
border: none;
border-radius: 50%;
cursor: pointer;
transition:background .2s,border-color .2s;
}
}
}
.radio-emoji input[type="radio"]:checked + label {
background: var(--emoticon-checked--bg-color);
color: var(--emoticon-checked-color);
}

View File

@@ -0,0 +1,259 @@
/* FlexSearch */
:root {
--flexsearch-container-bg-color: var(--gray-100);
--flexsearch-after-bg-color: var(--primary);
--flexsearch-after-color: var(--white);
--flexsearch-button-hover-bg-color: none;
--flexsearch-key-bg-color: var(--primary);
--flexsearch-key-color: #fff;
--flexsearch-suggestion-bg-color: var(--white);
--flexsearch-suggestion-link-hover-bg-color: #f5f6f7;
--flexsearch-suggestion-title-color: var(--primary);
--flexsearch-suggestion-title-border-color: var(--gray-300);
--flexsearch-suggestion-desc-color: var(--text-default);
}
[data-dark-mode] {
--flexsearch-container-bg-color: var(--dark-secondary);
--flexsearch-after-bg-color: hsl(var(--primary-hsl),0.15);
--flexsearch-after-color: var(--primary-200);
--flexsearch-button-hover-bg-color: var(--black);
--flexsearch-key-bg-color: hsl(var(--primary-hsl), 0.15);
--flexsearch-key-color: var(--primary-200);
--flexsearch-suggestion-bg-color: var(--dark-secondary);
--flexsearch-suggestion-link-hover-bg-color: var(--gray-800);
--flexsearch-suggestion-title-color: var(--primary-200);
--flexsearch-suggestion-title-border-color: var(--gray-700);
--flexsearch-suggestion-desc-color: var(--gray-300);
}
#FlexSearchCollapse {
transition: 0.05s ease;
width: fit-content;
}
.flexsearch-container {
background-color: var(--flexsearch-container-bg-color);
padding: 0.8rem;
.form-control {
border: 2px solid var(--primary);
font-size: 1.2rem;
}
}
@media (min-width: 768px) {
.flexsearch-container {
border-radius: 0 0 4px 0;
}
.flexsearch {
min-width: 500px;
width: 500px;
}
}
.flexsearch-keymap {
padding: 0 0 0.8rem 0.5rem;
list-style: none;
display: flex;
.flexsearch-button-cmd-key {
height: 20px;
width: 30px;
}
li:not(:last-of-type) {
margin-right: 0.8rem;
}
li {
align-items: center;
display: flex;
}
}
@media (max-width: 768px) {
.flexsearch-keymap {
display: none;
}
}
.flexsearch-key-label {
color: var(--form-control-placeholder-color);
font-size: 0.75em;
line-height: 1.6em;
}
.flexsearch-button-keys {
display: flex;
min-width: calc(40px + .8em);
}
.flexsearch-button-cmd-key {
align-items: center;
background: var(--flexsearch-key-bg-color);
border-radius: 3px;
color: var(--flexsearch-key-color);
display: flex;
height: 18px;
justify-content: center;
margin-right: .4em;
position: relative;
border: 0;
width: 56px;
}
.flexsearch-button-key {
align-items: center;
background: var(--flexsearch-key-bg-color);
border-radius: 3px;
color: var(--flexsearch-key-color);
display: flex;
height: 18px;
justify-content: center;
margin-right: .4em;
padding: 0;
position: relative;
border: 0;
width: 20px;
font-size: 11px;
}
#flexsearch-button {
display: flex;
height: 36px;
padding: 0 8px;
margin: 0 0 0 16px;
font-weight: 400;
align-items: center;
justify-content: space-between;
border-radius: 4px;
.flexsearch-button-placeholder {
color: var(--form-control-placeholder-color);
}
}
#flexsearch-button:hover {
background: var(--flexsearch-button-hover-bg-color) !important;
.flexsearch-button-placeholder {
color: var(--text-default);
}
}
@media (min-width: 992px) {
.flexsearch::after {
right: 0.5125rem
}
}
#suggestions {
position: absolute;
background-color: var(--flexsearch-suggestion-bg-color);
left: 0;
max-height: 70vh;
overflow-y: auto;
scrollbar-width: thin;
&::-webkit-scrollbar {
width: 5px;
}
&::-webkit-scrollbar-track {
background: transparent;
}
&::-webkit-scrollbar-thumb {
background-color: rgba(155, 155, 155, 0.5);
border-radius: 2px;
border: transparent;
}
margin-top: 0.5rem;
// width: calc(100vw - 0.3rem);
max-width: calc(100vw - 0.15rem);
z-index: 999
}
@media (min-width: 768px) {
#suggestions {
// right: -2rem
}
}
@media (min-width: 992px) {
#suggestions {
left: 0
}
}
#suggestions a,
.suggestion__no-results {
padding: 0.75rem;
margin: 0 0.5rem
}
#suggestions a {
display: block;
text-decoration: none
}
#suggestions a:focus {
background: var(--flexsearch-suggestion-link-hover-bg-color);
border-radius: 4px;
outline: 0
}
#suggestions div:not(:first-child) {
// border-top: 1px dashed #e9ecef
}
#suggestions div:first-child {
margin-top: 0.5rem
}
#suggestions div:last-child {
margin-bottom: 0.5rem
}
#suggestions a:hover {
background: var(--flexsearch-suggestion-link-hover-bg-color);
border-radius: 4px;
}
#suggestions span {
display: flex;
font-size: 1rem
}
.suggestion__title {
font-weight: 700;
color: var(--flexsearch-suggestion-title-color);
}
.suggestion__description,
.suggestion__no-results {
color: var(--flexsearch-suggestion-desc-color);
}
@media (min-width: 992px) {
#suggestions {
width: 500px;
max-width: 500px
}
#suggestions a {
display: flex
}
.suggestion__title {
width: 9rem;
padding-right: 1rem;
border-right: 1px solid var(--flexsearch-suggestion-title-border-color);
display: inline-block;
text-align: left
}
.suggestion__description {
width: 20.1rem;
padding-left: 1rem
}
}

View File

@@ -0,0 +1,12 @@
// Google Material Icon Font via
// https://github.com/marella/material-symbols/tree/main/material-symbols
@font-face {
font-family: 'Material Symbols Outlined';
font-weight: 400 700;
font-display: block;
font-style: normal;
src: local('Material Symbols Outlined'), local('Material Icons'), local('MaterialIcons-Outlined'),
url('../fonts/material-symbols-outlined.woff2') format('woff2'), /* Super Modern Browsers */
// url('../fonts/material-symbols-outlined.woff') format('woff'); /* Modern Browsers */
}

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,41 @@
/* Mermaid */
.docs-content .main-content pre {
&.mermaid {
background-color: transparent !important;
text-align: center !important;
.messageText {
fill: var(--text-default) !important;
}
.messageLine0,
.messageLine1 {
stroke: var(--text-default) !important;
}
#arrowhead path,
#crosshead path {
fill: var(--text-default) !important;
stroke: var(--text-default) !important;
}
.edgePaths path {
stroke: var(--text-default) !important;
}
.marker {
fill: var(--text-default) !important;
stroke: var(--text-default) !important;
}
.grid .tick {
stroke: var(--text-default) !important;
text {
fill: var(--text-default) !important;
}
}
line {
stroke: var(--text-default) !important;
}
text {
fill: var(--text-default) !important;
}
}
}

View File

@@ -0,0 +1,478 @@
/* PrismJS 1.29.0 */
// Fit codeblock container to contents
// .prism-codeblock {
// width: fit-content;
// max-width: 100%;
// }
code {
color: var(--text-default);
}
.docs-content .main-content pre {
background-color: var(--prism-code-bg) !important;
}
code[class*="language-"],
pre[class*="language-"] {
border: none !important;
font-family: $font-family-monospace;
font-size: 0.8rem;
text-align: left;
white-space: pre;
word-spacing: normal;
word-break: normal;
word-wrap: normal;
line-height: 1.5;
-moz-tab-size: 4;
-o-tab-size: 4;
tab-size: 4;
-webkit-hyphens: none;
-moz-hyphens: none;
-ms-hyphens: none;
hyphens: none;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-rendering: optimizeLegibility;
scrollbar-width: thin;
scrollbar-color: var(--prism-code-scrollbar-thumb-color) var(--prism-code-bg);
&::-webkit-scrollbar {
height: 5px;
background: var(--prism-code-bg);
}
&::-webkit-scrollbar-thumb {
background: var(--prism-code-scrollbar-thumb-color);
}
}
pre[data-line] {
position: relative;
padding: 0 !important;
}
.line-highlight:first-of-type {
margin-top: 0em;
}
.line-highlight:last-of-type {
margin-top: 0em !important;
}
.line-highlight {
position: absolute;
left: 0;
right: 0;
padding: inherit 0;
margin-top: 0em; /* Same as .prisms padding-top */
background: hsla(24, 20%, 50%,.08);
background: linear-gradient(to right, hsla(24, 20%, 50%,.1) 70%, hsla(24, 20%, 50%, 0));
pointer-events: none;
line-height: inherit;
white-space: pre;
}
@media print {
.line-highlight {
/*
* This will prevent browsers from replacing the background color with white.
* It's necessary because the element is layered on top of the displayed code.
*/
-webkit-print-color-adjust: exact;
color-adjust: exact;
}
}
.line-highlight:before,
.line-highlight[data-end]:after {
content: attr(data-start);
position: absolute;
top: 0.14em;
left: .6em;
min-width: 1.5em;
padding: 0 .5em;
// background-color: var(--blue-400);
color: hsl(24, 20%, 95%);
font: bold 95%/1.3 sans-serif;
text-align: center;
vertical-align: .3em;
border-radius: 4px;
text-shadow: none;
// box-shadow: 0 1px white;
}
.line-highlight[data-end]:after {
content: attr(data-end);
top: auto;
bottom: .14em;
}
.line-numbers .line-highlight {
margin-top: 0em !important;
}
.line-numbers .line-highlight:before,
.line-numbers .line-highlight:after {
content: none;
}
// .line-numbers .line-highlight:first-of-type,
// .line-numbers .line-highlight:last-of-type {
// margin-top: 0 !important;
// }
pre[id].linkable-line-numbers span.line-numbers-rows {
pointer-events: all;
}
pre[id].linkable-line-numbers span.line-numbers-rows > span:before {
cursor: pointer;
}
pre[id].linkable-line-numbers span.line-numbers-rows > span:hover:before {
background-color: rgba(128, 128, 128, .2);
}
pre[class*="language-"].line-numbers {
position: relative;
padding-left: 0;
counter-reset: linenumber;
}
pre[class*="language-"].line-numbers > code {
position: relative;
white-space: inherit;
padding: 0.3rem 3.0rem 1.25rem 3rem !important;
}
.line-numbers .line-numbers-rows {
position: absolute;
pointer-events: none;
top: .40em;
font-size: 100%;
left: 0em;
width: 3em; /* works for line-numbers below 1000 lines */
letter-spacing: -1px;
// border-right: 1px solid #999;
border-right: none;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.line-numbers-rows > span {
display: block;
counter-increment: linenumber;
}
.line-numbers-rows > span:before {
content: counter(linenumber);
color: var(--gray-400);
display: block;
padding-right: 0.8em;
text-align: right;
}
div.code-toolbar {
position: relative;
margin: 16px 0;
padding-top: 1.25rem !important;
background-color: var(--prism-code-bg);
border-radius: 4px;
}
div.prism-codeblock.hl_lines .code-toolbar {
padding-top: 1.25rem !important;
}
div.prism-shortcode.data-line .code-toolbar {
padding-top: 1.25rem !important;
}
div.code-toolbar > .toolbar {
position: absolute;
z-index: 10;
top: .4em;
right: .4em;
transition: opacity 0.3s ease-in-out;
opacity: 0;
}
div.code-toolbar:hover > .toolbar {
opacity: 1;
}
/* Separate line b/c rules are thrown out if selector is invalid.
IE11 and old Edge versions don't support :focus-within. */
div.code-toolbar:focus-within > .toolbar {
opacity: 1;
}
div.code-toolbar > .toolbar > .toolbar-item {
display: inline-block;
}
div.code-toolbar > .toolbar > .toolbar-item > a {
cursor: pointer;
}
div.code-toolbar > .toolbar > .toolbar-item > button {
background: none;
border: 0;
color: inherit;
font: inherit;
line-height: normal;
overflow: visible;
padding: 0;
-webkit-user-select: none; /* for button */
-moz-user-select: none;
-ms-user-select: none;
&.copy-to-clipboard-button {
box-shadow: none;
background: var(--prism-code-bg);
opacity: 0.9;
}
}
// Custom Copy, Copied and Error Icons
[data-copy-state="copy"] span:empty::before {
content: "";
-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48' viewBox='0 0 48 48'%3E%3Cpath d='M9 43.95q-1.2 0-2.1-.9-.9-.9-.9-2.1V10.8h3v30.15h23.7v3Zm6-6q-1.2 0-2.1-.9-.9-.9-.9-2.1v-28q0-1.2.9-2.1.9-.9 2.1-.9h22q1.2 0 2.1.9.9.9.9 2.1v28q0 1.2-.9 2.1-.9.9-2.1.9Zm0-3h22v-28H15v28Zm0 0v-28 28Z'/%3E%3C/svg%3E");
mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48' viewBox='0 0 48 48'%3E%3Cpath d='M9 43.95q-1.2 0-2.1-.9-.9-.9-.9-2.1V10.8h3v30.15h23.7v3Zm6-6q-1.2 0-2.1-.9-.9-.9-.9-2.1v-28q0-1.2.9-2.1.9-.9 2.1-.9h22q1.2 0 2.1.9.9.9.9 2.1v28q0 1.2-.9 2.1-.9.9-2.1.9Zm0-3h22v-28H15v28Zm0 0v-28 28Z'/%3E%3C/svg%3E");
-webkit-mask-size: contain;
mask-size: contain;
// background-color: var(--gray-400);
display: block;
height: 24px;
width: 24px;
}
// [data-copy-state="copy"] span:empty:hover::before {
// background-color: var(--white);
// }
[data-copy-state="copy-success"] span:empty::before {
content: "";
-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48' viewBox='0 0 48 48'%3E%3Cpath d='M18.9 35.7 7.7 24.5l2.15-2.15 9.05 9.05 19.2-19.2 2.15 2.15Z'/%3E%3C/svg%3E");
mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48' viewBox='0 0 48 48'%3E%3Cpath d='M18.9 35.7 7.7 24.5l2.15-2.15 9.05 9.05 19.2-19.2 2.15 2.15Z'/%3E%3C/svg%3E");
-webkit-mask-size: contain;
mask-size: contain;
// background-color: var(--emerald-200);
display: block;
height: 24px;
width: 24px;
}
[data-copy-state="copy-error"] span:empty::before {
content: "";
-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48' viewBox='0 0 48 48'%3E%3Cpath d='M24 34q.7 0 1.175-.475.475-.475.475-1.175 0-.7-.475-1.175Q24.7 30.7 24 30.7q-.7 0-1.175.475-.475.475-.475 1.175 0 .7.475 1.175Q23.3 34 24 34Zm-1.35-7.65h3V13.7h-3ZM24 44q-4.1 0-7.75-1.575-3.65-1.575-6.375-4.3-2.725-2.725-4.3-6.375Q4 28.1 4 23.95q0-4.1 1.575-7.75 1.575-3.65 4.3-6.35 2.725-2.7 6.375-4.275Q19.9 4 24.05 4q4.1 0 7.75 1.575 3.65 1.575 6.35 4.275 2.7 2.7 4.275 6.35Q44 19.85 44 24q0 4.1-1.575 7.75-1.575 3.65-4.275 6.375t-6.35 4.3Q28.15 44 24 44Zm.05-3q7.05 0 12-4.975T41 23.95q0-7.05-4.95-12T24 7q-7.05 0-12.025 4.95Q7 16.9 7 24q0 7.05 4.975 12.025Q16.95 41 24.05 41ZM24 24Z'/%3E%3C/svg%3E");
mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48' viewBox='0 0 48 48'%3E%3Cpath d='M24 34q.7 0 1.175-.475.475-.475.475-1.175 0-.7-.475-1.175Q24.7 30.7 24 30.7q-.7 0-1.175.475-.475.475-.475 1.175 0 .7.475 1.175Q23.3 34 24 34Zm-1.35-7.65h3V13.7h-3ZM24 44q-4.1 0-7.75-1.575-3.65-1.575-6.375-4.3-2.725-2.725-4.3-6.375Q4 28.1 4 23.95q0-4.1 1.575-7.75 1.575-3.65 4.3-6.35 2.725-2.7 6.375-4.275Q19.9 4 24.05 4q4.1 0 7.75 1.575 3.65 1.575 6.35 4.275 2.7 2.7 4.275 6.35Q44 19.85 44 24q0 4.1-1.575 7.75-1.575 3.65-4.275 6.375t-6.35 4.3Q28.15 44 24 44Zm.05-3q7.05 0 12-4.975T41 23.95q0-7.05-4.95-12T24 7q-7.05 0-12.025 4.95Q7 16.9 7 24q0 7.05 4.975 12.025Q16.95 41 24.05 41ZM24 24Z'/%3E%3C/svg%3E");
-webkit-mask-size: contain;
mask-size: contain;
background-color: var(--cardinal-300);
display: block;
height: 24px;
width: 24px;
}
div.code-toolbar > .toolbar > .toolbar-item > a,
div.code-toolbar > .toolbar > .toolbar-item > button,
div.code-toolbar > .toolbar > .toolbar-item > span {
color: #bbb;
font-size: .8em;
padding: 4px;
background: rgba(224, 224, 224, 0.2);
box-shadow: 0 2px 0 0 rgba(0,0,0,0.2);
border-radius: 4px;
}
div.code-toolbar > .toolbar > .toolbar-item > a:hover,
div.code-toolbar > .toolbar > .toolbar-item > a:focus,
div.code-toolbar > .toolbar > .toolbar-item > button:hover,
div.code-toolbar > .toolbar > .toolbar-item > button:focus,
div.code-toolbar > .toolbar > .toolbar-item > span:hover,
div.code-toolbar > .toolbar > .toolbar-item > span:focus {
color: inherit;
text-decoration: none;
}
.token.treeview-part .entry-line {
position: relative;
text-indent: -99em;
display: inline-block;
vertical-align: top;
width: 1.2em;
}
.token.treeview-part .entry-line:before,
.token.treeview-part .line-h:after {
content: "";
position: absolute;
top: 0;
left: 50%;
width: 50%;
height: 100%;
}
.token.treeview-part .line-h:before,
.token.treeview-part .line-v:before {
border-left: 1px solid #ccc;
}
.token.treeview-part .line-v-last:before {
height: 50%;
border-left: 1px solid #ccc;
border-bottom: 1px solid #ccc;
}
.token.treeview-part .line-h:after {
height: 50%;
border-bottom: 1px solid #ccc;
}
.token.treeview-part .entry-name {
position: relative;
display: inline-block;
vertical-align: top;
}
.token.treeview-part .entry-name.dotfile {
opacity: 0.5;
}
/* @GENERATED-FONT */
@font-face {
font-family: "PrismTreeview";
/**
* This font is generated from the .svg files in the `icons` folder. See the `treeviewIconFont` function in
* `gulpfile.js/index.js` for more information.
*
* Use the following escape sequences to refer to a specific icon:
*
* - \ea01 file
* - \ea02 folder
* - \ea03 image
* - \ea04 audio
* - \ea05 video
* - \ea06 text
* - \ea07 code
* - \ea08 archive
* - \ea09 pdf
* - \ea0a excel
* - \ea0b powerpoint
* - \ea0c word
*/
src: url("data:application/font-woff;base64,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")
format("woff");
}
.token.treeview-part .entry-name:before {
content: "\ea01";
font-family: "PrismTreeview";
font-size: inherit;
font-style: normal;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
width: 2.5ex;
display: inline-block;
}
.token.treeview-part .entry-name.dir:before {
content: "\ea02";
}
.token.treeview-part .entry-name.ext-bmp:before,
.token.treeview-part .entry-name.ext-eps:before,
.token.treeview-part .entry-name.ext-gif:before,
.token.treeview-part .entry-name.ext-jpe:before,
.token.treeview-part .entry-name.ext-jpg:before,
.token.treeview-part .entry-name.ext-jpeg:before,
.token.treeview-part .entry-name.ext-png:before,
.token.treeview-part .entry-name.ext-svg:before,
.token.treeview-part .entry-name.ext-tiff:before {
content: "\ea03";
}
.token.treeview-part .entry-name.ext-cfg:before,
.token.treeview-part .entry-name.ext-conf:before,
.token.treeview-part .entry-name.ext-config:before,
.token.treeview-part .entry-name.ext-csv:before,
.token.treeview-part .entry-name.ext-ini:before,
.token.treeview-part .entry-name.ext-log:before,
.token.treeview-part .entry-name.ext-md:before,
.token.treeview-part .entry-name.ext-nfo:before,
.token.treeview-part .entry-name.ext-txt:before {
content: "\ea06";
}
.token.treeview-part .entry-name.ext-asp:before,
.token.treeview-part .entry-name.ext-aspx:before,
.token.treeview-part .entry-name.ext-c:before,
.token.treeview-part .entry-name.ext-cc:before,
.token.treeview-part .entry-name.ext-cpp:before,
.token.treeview-part .entry-name.ext-cs:before,
.token.treeview-part .entry-name.ext-css:before,
.token.treeview-part .entry-name.ext-h:before,
.token.treeview-part .entry-name.ext-hh:before,
.token.treeview-part .entry-name.ext-htm:before,
.token.treeview-part .entry-name.ext-html:before,
.token.treeview-part .entry-name.ext-jav:before,
.token.treeview-part .entry-name.ext-java:before,
.token.treeview-part .entry-name.ext-js:before,
.token.treeview-part .entry-name.ext-php:before,
.token.treeview-part .entry-name.ext-rb:before,
.token.treeview-part .entry-name.ext-xml:before {
content: "\ea07";
}
.token.treeview-part .entry-name.ext-7z:before,
.token.treeview-part .entry-name.ext-bz:before,
.token.treeview-part .entry-name.ext-bz2:before,
.token.treeview-part .entry-name.ext-gz:before,
.token.treeview-part .entry-name.ext-rar:before,
.token.treeview-part .entry-name.ext-tar:before,
.token.treeview-part .entry-name.ext-tgz:before,
.token.treeview-part .entry-name.ext-zip:before {
content: "\ea08";
}
.token.treeview-part .entry-name.ext-aac:before,
.token.treeview-part .entry-name.ext-au:before,
.token.treeview-part .entry-name.ext-cda:before,
.token.treeview-part .entry-name.ext-flac:before,
.token.treeview-part .entry-name.ext-mp3:before,
.token.treeview-part .entry-name.ext-oga:before,
.token.treeview-part .entry-name.ext-ogg:before,
.token.treeview-part .entry-name.ext-wav:before,
.token.treeview-part .entry-name.ext-wma:before {
content: "\ea04";
}
.token.treeview-part .entry-name.ext-avi:before,
.token.treeview-part .entry-name.ext-flv:before,
.token.treeview-part .entry-name.ext-mkv:before,
.token.treeview-part .entry-name.ext-mov:before,
.token.treeview-part .entry-name.ext-mp4:before,
.token.treeview-part .entry-name.ext-mpeg:before,
.token.treeview-part .entry-name.ext-mpg:before,
.token.treeview-part .entry-name.ext-ogv:before,
.token.treeview-part .entry-name.ext-webm:before {
content: "\ea05";
}
.token.treeview-part .entry-name.ext-pdf:before {
content: "\ea09";
}
.token.treeview-part .entry-name.ext-xls:before,
.token.treeview-part .entry-name.ext-xlsx:before {
content: "\ea0a";
}
.token.treeview-part .entry-name.ext-doc:before,
.token.treeview-part .entry-name.ext-docm:before,
.token.treeview-part .entry-name.ext-docx:before {
content: "\ea0c";
}
.token.treeview-part .entry-name.ext-pps:before,
.token.treeview-part .entry-name.ext-ppt:before,
.token.treeview-part .entry-name.ext-pptx:before {
content: "\ea0b";
}

View File

@@ -0,0 +1,144 @@
/**
* Lotus Docs theme
*
* Adapted from a theme based on:
* https://github.com/chriskempson/tomorrow-theme
*
* @author Colin Wilson <github.com/colinwilson>
* @version 1.0
*/
:root {
--prism-code-bg: #212d63;
--prism-code-scrollbar-thumb-color: var(--gray-400);
}
[data-dark-mode] {
--prism-code-bg: var(--gray-900);
--prism-code-scrollbar-thumb-color: var(--gray-600);
}
code[class*="language-"],
pre[class*="language-"] {
color: #f5fbff !important;
background: var(--prism-code-bg) !important;
}
/* Code blocks */
pre[class*="language-"] {
// padding: 1em;
// margin: .5em 0;
overflow: auto;
border-radius: 0 0 4px 4px;
}
:not(pre) > code[class*="language-"],
pre[class*="language-"] {
background: #32325d;
}
/* Inline code */
:not(pre) > code[class*="language-"] {
padding: .1em;
border-radius: .3em;
white-space: normal;
}
.line-highlight:before,
.line-highlight[data-end]:after {
background-color: var(--blue-400);
}
[data-copy-state="copy"] span:empty::before {
background-color: var(--gray-400);
}
[data-copy-state="copy"] span:empty:hover::before {
background-color: var(--white);
}
[data-copy-state="copy-success"] span:empty::before {
background-color: var(--emerald-200);
}
.token.comment,
.token.block-comment,
.token.prolog,
.token.doctype,
.token.cdata {
color: #999;
}
.token.punctuation {
color: #ccc;
}
.token.tag,
.token.attr-name,
.token.namespace,
.token.deleted {
color: #7fd3ed;
}
.token.function-name {
color: #6196cc;
}
.token.boolean,
.token.function {
color: #fda3f3;
}
.token.number {
color: var(--cardinal-200);
}
.token.property,
.token.class-name,
.token.constant,
.token.symbol {
color: #ffffff;
font-weight: 700;
}
.token.selector,
.token.important,
.token.atrule,
.token.keyword,
.token.builtin {
color: #a4cdfe;
font-weight: 700;
}
.token.string,
.token.char,
.token.attr-value,
.token.regex {
color: #7ec699;
}
.token.variable {
color: var(--yellow-100);
}
.token.operator,
.token.entity,
.token.url {
color: #67cdcc;
}
.token.important,
.token.bold {
font-weight: bold;
}
.token.italic {
font-style: italic;
}
.token.entity {
cursor: help;
}
.token.inserted {
color: green;
}

View File

@@ -0,0 +1,149 @@
/*
Lucario Theme originally by Raphael Amorim [@raphamorim]
https://github.com/raphamorim/lucario
Ported for PrismJS by Christopher Kapic [@christopher-kapic]
Adapted for Lotus Docs by Colin Wilson
Website: https://colinwilson.uk
Twitter Handle: https://twitter.com/colinwilsonuk
*/
:root {
--prism-code-color: #f8f8f2;
--prism-code-bg: #263E52;
--prism-code-scrollbar-thumb-color: var(--gray-400);
--prism-line-highlight-bg-color: #8c78d2;
--prism-copy-btn-bg-hover-color: var(--white);
}
[data-dark-mode] {
--prism-code-color: #dee2e6;
--prism-code-bg: var(--gray-900);
--prism-code-scrollbar-thumb-color: var(--gray-600);
--prism-line-highlight-bg-color: #8c78d2;
--prism-copy-btn-bg-hover-color: var(--white);
}
code[class*="language-"],
pre[class*="language-"] {
color: var(--prism-code-color);
// text-shadow: 0 1px rgba(0, 0, 0, 0.3);
background: var(--prism-code-bg) !important;
}
/* Code blocks */
pre[class*="language-"] {
// padding: 1em;
// margin: .5em 0;
overflow: auto;
border-radius: 0.3em;
}
:not(pre)>code[class*="language-"],
pre[class*="language-"] {
background: #263E52;
}
/* Inline code */
:not(pre)>code[class*="language-"] {
padding: .1em;
border-radius: .3em;
white-space: normal;
}
.line-highlight.line-highlight {
background: linear-gradient(to right, hsla(0, 0%, 54%, .1) 70%, hsla(0, 0%, 33%, 0));
}
.line-highlight:before,
.line-highlight[data-end]:after {
background-color: var(--prism-line-highlight-bg-color);
}
[data-copy-state="copy"] span:empty::before {
background-color: var(--gray-400);
}
[data-copy-state="copy"] span:empty:hover::before {
background-color: var(--prism-copy-btn-bg-hover-color);
}
[data-copy-state="copy-success"] span:empty::before {
background-color: var(--emerald-200);
}
.token.comment,
.token.prolog,
.token.doctype,
.token.cdata {
color: #5c98cd;
}
.token.punctuation {
color: #f8f8f2;
}
.namespace {
opacity: .7;
}
.token.property,
.token.tag,
.token.constant,
.token.symbol,
.token.deleted {
color: #F05E5D;
}
.token.boolean,
.token.number {
color: #BC94F9;
}
.token.selector,
.token.attr-name,
.token.string,
.token.char,
.token.builtin,
.token.inserted {
color: #FCFCD6;
}
.token.operator,
.token.entity,
.token.url,
.language-css .token.string,
.style .token.string,
.token.variable {
color: #f8f8f2;
}
.token.atrule,
.token.attr-value,
.token.function,
.token.class-name {
color: #66D8EF;
}
.token.keyword {
color: #6EB26E;
}
.token.regex,
.token.important {
color: #F05E5D;
}
.token.important,
.token.bold {
font-weight: bold;
}
.token.italic {
font-style: italic;
}
.token.entity {
cursor: help;
}

View File

@@ -0,0 +1,173 @@
/* PrismJS 1.29.0
https://prismjs.com/download.html#themes=prism-solarizedlight&languages=markup+css+clike+javascript */
/*
Solarized Color Schemes originally by Ethan Schoonover
http://ethanschoonover.com/solarized
Ported for PrismJS by Hector Matos
Website: https://krakendev.io
Twitter Handle: https://twitter.com/allonsykraken
Adapted for Lotus Docs by Colin Wilson
Website: https://colinwilson.uk
Twitter Handle: https://twitter.com/colinwilsonuk
*/
/*
SOLARIZED HEX
--------- -------
base03 #002b36
base02 #073642
base01 #586e75
base00 #657b83
base0 #839496
base1 #93a1a1
base2 #eee8d5
base3 #fdf6e3
yellow #b58900
orange #cb4b16
red #dc322f
magenta #d33682
violet #6c71c4
blue #268bd2
cyan #2aa198
green #859900
*/
:root {
--prism-code-color: #657b83;
--prism-code-bg: #fdf6e3;
--prism-code-scrollbar-thumb-color: var(--gray-400);
--prism-line-highlight-bg-color: #e9967a;
--prism-copy-btn-bg-hover-color: var(--gray-700);
}
[data-dark-mode] {
--prism-code-color: #dee2e6;
--prism-code-bg: var(--gray-900);
--prism-code-scrollbar-thumb-color: var(--gray-600);
--prism-line-highlight-bg-color: var(--gray-600);
--prism-copy-btn-bg-hover-color: var(--white);
}
code[class*="language-"],
pre[class*="language-"] {
color: var(--prism-code-color); /* base00 */
background: var(--prism-code-bg) !important;
}
pre[class*="language-"]::-moz-selection, pre[class*="language-"] ::-moz-selection,
code[class*="language-"]::-moz-selection, code[class*="language-"] ::-moz-selection {
background: #073642; /* base02 */
}
pre[class*="language-"]::selection, pre[class*="language-"] ::selection,
code[class*="language-"]::selection, code[class*="language-"] ::selection {
background: #073642; /* base02 */
}
/* Code blocks */
pre[class*="language-"] {
// padding: 1em;
// margin: .5em 0;
overflow: auto;
border-radius: 0 0 4px 4px;
}
:not(pre) > code[class*="language-"],
pre[class*="language-"] {
background-color: #fdf6e3; /* base3 */
}
/* Inline code */
:not(pre) > code[class*="language-"] {
padding: .1em;
border-radius: .3em;
white-space: normal;
}
.line-highlight:before,
.line-highlight[data-end]:after {
background-color: var(--prism-line-highlight-bg-color);
}
[data-copy-state="copy"] span:empty::before {
background-color: var(--gray-500);
}
[data-copy-state="copy"] span:empty:hover::before {
background-color: var(--prism-copy-btn-bg-hover-color);
}
[data-copy-state="copy-success"] span:empty::before {
background-color: var(--emerald-400);
}
.token.comment,
.token.prolog,
.token.doctype,
.token.cdata {
color: #93a1a1; /* base1 */
}
.token.punctuation {
color: #586e75; /* base01 */
}
.token.namespace {
opacity: .7;
}
.token.property,
.token.tag,
.token.boolean,
.token.number,
.token.constant,
.token.symbol,
.token.deleted {
color: #268bd2; /* blue */
}
.token.selector,
.token.attr-name,
.token.string,
.token.char,
.token.builtin,
.token.url,
.token.inserted {
color: #2aa198; /* cyan */
}
.token.entity {
color: #657b83; /* base00 */
background: #eee8d5; /* base2 */
}
.token.atrule,
.token.attr-value,
.token.keyword {
color: #859900; /* green */
}
.token.function,
.token.class-name {
color: #b58900; /* yellow */
}
.token.regex,
.token.important,
.token.variable {
color: #cb4b16; /* orange */
}
.token.important,
.token.bold {
font-weight: bold;
}
.token.italic {
font-style: italic;
}
.token.entity {
cursor: help;
}

View File

@@ -0,0 +1,209 @@
/* PrismJS 1.29.0
https://prismjs.com/download.html#themes=prism-twilight&languages=markup+css+clike+javascript */
/*
prism.js Twilight theme
Based (more or less) on the Twilight theme originally of Textmate fame.
@author Remy Bach
Adapted for Lotus Docs by Colin Wilson
Website: https://colinwilson.uk
Twitter Handle: https://twitter.com/colinwilsonuk
*/
:root {
--prism-code-color: var(--white);
--prism-code-bg: #141414;
--prism-code-scrollbar-thumb-color: var(--gray-400);
// --prism-line-highlight-bg-color: hsl(215, 15%, 59%); /* #8794A6 */
--prism-line-highlight-bg-color: var(--gray-600);
--prism-copy-btn-bg-hover-color: var(--white);
}
[data-dark-mode] {
--prism-code-color: #dee2e6;
--prism-code-bg: var(--gray-900);
--prism-code-scrollbar-thumb-color: var(--gray-600);
--prism-line-highlight-bg-color: var(--gray-600);
--prism-copy-btn-bg-hover-color: var(--white);
}
code[class*="language-"],
pre[class*="language-"] {
color: var(--prism-code-color);
background: var(--prism-code-bg) !important;
}
pre[class*="language-"],
:not(pre)>code[class*="language-"] {
background: hsl(0, 0%, 8%);
/* #141414 */
}
/* Code blocks */
pre[class*="language-"] {
// padding: 1em;
// margin: .5em 0;
// border: .3em solid hsl(0, 0%, 33%); /* #282A2B */
// box-shadow: 1px 1px .5em black inset;
overflow: auto;
border-radius: 0 0 4px 4px;
}
pre[class*="language-"]::-moz-selection {
/* Firefox */
background: hsl(200, 4%, 16%);
/* #282A2B */
}
pre[class*="language-"]::selection {
/* Safari */
background: hsl(200, 4%, 16%);
/* #282A2B */
}
/* Text Selection colour */
pre[class*="language-"]::-moz-selection,
pre[class*="language-"] ::-moz-selection,
code[class*="language-"]::-moz-selection,
code[class*="language-"] ::-moz-selection {
text-shadow: none;
background: hsla(0, 0%, 93%, 0.15);
/* #EDEDED */
}
pre[class*="language-"]::selection,
pre[class*="language-"] ::selection,
code[class*="language-"]::selection,
code[class*="language-"] ::selection {
text-shadow: none;
background: hsla(0, 0%, 93%, 0.15);
/* #EDEDED */
}
/* Inline code */
:not(pre)>code[class*="language-"] {
// border: .13em solid hsl(0, 0%, 33%); /* #545454 */
// box-shadow: 1px 1px .3em -.1em black inset;
padding: .1em;
border-radius: .3em;
white-space: normal;
}
.line-highlight.line-highlight {
background: linear-gradient(to right, hsla(0, 0%, 33%, .1) 70%, hsla(0, 0%, 33%, 0));
/* #545454 */
border-bottom: 1px dashed hsl(0, 0%, 33%);
/* #545454 */
border-top: 1px dashed hsl(0, 0%, 33%);
/* #545454 */
z-index: 0;
}
.line-highlight:before,
.line-highlight[data-end]:after {
background-color: var(--prism-line-highlight-bg-color);
}
[data-copy-state="copy"] span:empty::before {
background-color: var(--gray-500);
}
[data-copy-state="copy"] span:empty:hover::before {
background-color: var(--prism-copy-btn-bg-hover-color);
}
[data-copy-state="copy-success"] span:empty::before {
background-color: var(--emerald-200);
}
.token.comment,
.token.prolog,
.token.doctype,
.token.cdata {
color: hsl(0, 0%, 47%);
/* #777777 */
}
.token.punctuation {
opacity: .7;
}
.token.namespace {
opacity: .7;
}
.token.tag,
.token.boolean,
.token.number,
.token.deleted {
color: hsl(14, 58%, 55%);
/* #CF6A4C */
}
.token.keyword,
.token.property,
.token.selector,
.token.constant,
.token.symbol,
.token.builtin {
color: hsl(53, 89%, 79%);
/* #F9EE98 */
}
.token.attr-name,
.token.attr-value,
.token.string,
.token.char,
.token.operator,
.token.entity,
.token.url,
.language-css .token.string,
.style .token.string,
.token.variable,
.token.inserted {
color: hsl(76, 21%, 52%);
/* #8F9D6A */
}
.token.atrule {
color: hsl(218, 22%, 55%);
/* #7587A6 */
}
.token.function,
.token.class-name {
color: var(--prism-code-color);
}
.token.regex,
.token.important {
color: hsl(42, 75%, 65%);
/* #E9C062 */
}
.token.important,
.token.bold {
font-weight: bold;
}
.token.italic {
font-style: italic;
}
.token.entity {
cursor: help;
}
/* Markup */
.language-markup .token.tag,
.language-markup .token.attr-name,
.language-markup .token.punctuation {
color: hsl(33, 33%, 52%);
/* #AC885B */
}
/* Make the tokens sit above the line highlight so the colours don't look faded. */
.token {
position: relative;
z-index: 1;
}