diff --git a/docs/source/_assets/less/markdown.less b/docs/source/_assets/less/markdown.less index a22c76be3..7b05ee426 100644 --- a/docs/source/_assets/less/markdown.less +++ b/docs/source/_assets/less/markdown.less @@ -8,7 +8,7 @@ .subnav-link, .subnav-link& { @apply .mr-6; @apply .leading-none; - @apply .text-slate; + @apply .text-slate-dark; @apply .text-sm; } } @@ -38,11 +38,12 @@ > pre, pre& { @apply .font-mono; + @apply .font-medium; } > blockquote, blockquote& { @apply .italic; - @apply .text-slate; + @apply .text-slate-dark; @apply .text-sm; } @@ -50,7 +51,7 @@ @apply .mb-4; @apply .leading-none; @apply .text-slate-darker; - @apply .font-bold; + @apply .font-semibold; @apply .text-3xl; } @@ -59,7 +60,7 @@ @apply .mb-8; @apply .text-slate-darker; @apply .leading-none; - @apply .font-bold; + @apply .font-semibold; @apply .text-xl; } @@ -73,14 +74,14 @@ } > p, p&, > blockquote > p { - @apply .text-slate; + @apply .text-slate-dark; @apply .mt-4; @apply .mb-4; line-height: 1.75; } > ul, > ol { - @apply .text-slate; + @apply .text-slate-dark; margin: 0 0 2em; } @@ -94,7 +95,7 @@ > li { @apply .my-2; - @apply .text-slate; + @apply .text-slate-dark; } > :not(pre) > code[class*="language-"], > pre[class*="language-"], pre[class*="language-"]& { diff --git a/docs/source/_assets/less/prism.less b/docs/source/_assets/less/prism.less index 3d0f09378..9cae792bb 100644 --- a/docs/source/_assets/less/prism.less +++ b/docs/source/_assets/less/prism.less @@ -7,10 +7,12 @@ code[class*="language-"], pre[class*="language-"] { + @apply .font-mono; + color: black; background: none; text-shadow: 0 1px white; - font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace; + // font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace; text-align: left; white-space: pre; word-spacing: normal; @@ -74,7 +76,8 @@ pre[class*="language-"] { } .token.punctuation { - color: #999; + @apply .text-blue-dark; + // color: #999; } .namespace { @@ -88,17 +91,18 @@ pre[class*="language-"] { .token.constant, .token.symbol, .token.deleted { - color: #905; + @apply .text-blue-dark; + // color: #905; } -.token.selector, -.token.attr-name, -.token.string, -.token.char, -.token.builtin, -.token.inserted { - color: #690; -} +// .token.selector, +// .token.attr-name, +// .token.string, +// .token.char, +// .token.builtin, +// .token.inserted { +// color: #690; +// } .token.operator, .token.entity, @@ -112,7 +116,8 @@ pre[class*="language-"] { .token.atrule, .token.attr-value, .token.keyword { - color: #07a; + @apply .text-purple-dark; + // color: #07a; } .token.function { diff --git a/docs/source/_layouts/master.blade.php b/docs/source/_layouts/master.blade.php index dcd646661..2deb49431 100644 --- a/docs/source/_layouts/master.blade.php +++ b/docs/source/_layouts/master.blade.php @@ -6,163 +6,160 @@