Skip to content

Commit b583d2a

Browse files
committed
docs: update styles
1 parent e946e41 commit b583d2a

File tree

5 files changed

+3
-191
lines changed

5 files changed

+3
-191
lines changed

packages/docs/.vuepress/theme-coreui/src/client/styles/_footer.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
@include font-size(.875rem);
88

99
a {
10-
color: var(--#{$prefix}tertiary-color);
10+
color: #768192;
1111
text-decoration: none;
1212

1313
&:hover,

packages/docs/.vuepress/theme-coreui/src/client/styles/_prism.scss

+1-28
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ https://prismjs.com/download.html#themes=prism-tomorrow&languages=markup+css+cli
66
* @author Rose Pritchard
77
*/
88

9-
:root,
10-
[data-coreui-theme="light"] {
9+
:root {
1110
// --base00: #fff;
1211
// --base01: #f5f5f5;
1312
--base02: #c8c8fa;
@@ -24,32 +23,6 @@ https://prismjs.com/download.html#themes=prism-tomorrow&languages=markup+css+cli
2423
--base0D: #{$purple-500}; // #795da3
2524
--base0E: #{$pink-600}; // #a71d5d
2625
--base0F: #333;
27-
}
28-
29-
@include color-mode(dark, true) {
30-
// --base00: #282c34;
31-
// --base01: #353b45;
32-
--base02: #3e4451;
33-
--base03: #868e96;
34-
--base04: #868e96;
35-
--base05: #abb2bf;
36-
--base06: #b6bdca;
37-
--base07: #{$orange-300}; // #d19a66
38-
--base08: #{$cyan-300};
39-
--base09: #{$orange-300}; // #d19a66
40-
--base0A: #{$yellow-200}; // #e5c07b
41-
--base0B: #{$teal-300}; // #98c379
42-
--base0C: #{$teal-300}; // #56b6c2
43-
--base0D: #{$blue-300}; // #61afef
44-
--base0E: #{$indigo-200}; // #c678dd
45-
--base0F: #{$red-300}; // #be5046
46-
47-
.language-diff .gd {
48-
color: $red-400;
49-
}
50-
.language-diff .gi {
51-
color: $green-400;
52-
}
5326
}
5427

5528
code[class*='language-'],

packages/docs/.vuepress/theme-coreui/src/client/styles/_search.scss

-20
Original file line numberDiff line numberDiff line change
@@ -5,26 +5,6 @@
55
--docsearch-logo-color: var(--cui-primary);
66
}
77

8-
@include color-mode(dark, true) {
9-
// From here, the values are copied from https://cdn.jsdelivr.net/npm/@docsearch/css@3
10-
// in html[data-theme="dark"] selector
11-
// and are slightly modified for formatting purpose
12-
--docsearch-text-color: #f5f6f7;
13-
--docsearch-container-background: rgba(9, 10, 17, .8);
14-
--docsearch-modal-background: #15172a;
15-
--docsearch-modal-shadow: inset 1px 1px 0 0 #2c2e40, 0 3px 8px 0 #000309;
16-
--docsearch-searchbox-background: #090a11;
17-
--docsearch-searchbox-focus-background: #000;
18-
--docsearch-hit-color: #bec3c9;
19-
--docsearch-hit-shadow: none;
20-
--docsearch-hit-background: #090a11;
21-
--docsearch-key-gradient: linear-gradient(-26.5deg, #565872, #31355b);
22-
--docsearch-key-shadow: inset 0 -2px 0 0 #282d55, inset 0 0 1px 1px #51577d, 0 2px 2px 0 rgba(3, 4, 9, .3);
23-
--docsearch-footer-background: #1e2136;
24-
--docsearch-footer-shadow: inset 0 1px 0 0 rgba(73, 76, 106, .5), 0 -4px 8px 0 rgba(0, 0, 0, .2);
25-
--docsearch-muted-color: #7f8497;
26-
}
27-
288
.DocSearch-Container {
299
--docsearch-muted-color: var(--cui-secondary-color);
3010
--docsearch-hit-shadow: none;

packages/docs/.vuepress/theme-coreui/src/client/styles/_syntax.scss

-142
This file was deleted.

packages/docs/.vuepress/theme-coreui/src/client/styles/_variables.scss

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ $cd-gutter-x: 3rem;
2020
$cd-callout-variants: info, warning, danger !default;
2121

2222
:root {
23+
--cui-tertiary-bg: #f0f4f7;
2324
--cd-purple: #{$cd-purple};
2425
--cd-violet: #{$cd-violet};
2526
--cd-accent: #{$cd-accent};

0 commit comments

Comments
 (0)