@rspress/core 0.0.1 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +10 -1
- package/dist/index.js +63 -52
- package/dist/index.js.map +1 -1
- package/dist/loader.js +4 -3
- package/dist/loader.js.map +1 -1
- package/dist/theme/bundle.css +318 -318
- package/dist/theme/bundle.js +37 -37
- package/dist/theme/bundle.js.map +1 -1
- package/package.json +5 -5
- package/src/theme-default/assets/loading.svg +1 -1
- package/src/theme-default/components/BackDrop/index.module.scss +1 -1
- package/src/theme-default/components/Button/index.module.scss +9 -9
- package/src/theme-default/components/DocFooter/index.module.scss +5 -5
- package/src/theme-default/components/EditLink/index.module.scss +1 -1
- package/src/theme-default/components/HomeFeatures/index.module.scss +3 -3
- package/src/theme-default/components/HomeFeatures/index.tsx +4 -4
- package/src/theme-default/components/HomeHero/index.module.scss +3 -3
- package/src/theme-default/components/HomeHero/index.tsx +1 -1
- package/src/theme-default/components/Link/index.module.scss +1 -1
- package/src/theme-default/components/LocalSideBar/index.module.scss +5 -5
- package/src/theme-default/components/Nav/NavMenuGroup.tsx +3 -3
- package/src/theme-default/components/Nav/index.module.scss +8 -8
- package/src/theme-default/components/Nav/index.tsx +4 -4
- package/src/theme-default/components/NavHambmger/index.module.scss +1 -1
- package/src/theme-default/components/NavScreen/index.module.scss +4 -4
- package/src/theme-default/components/NavScreenMenuGroup/index.module.scss +1 -1
- package/src/theme-default/components/Overview/index.module.scss +7 -7
- package/src/theme-default/components/Search/assets/loading.svg +1 -1
- package/src/theme-default/components/Search/assets/search.svg +1 -1
- package/src/theme-default/components/Search/index.module.scss +21 -21
- package/src/theme-default/components/Search/index.tsx +1 -1
- package/src/theme-default/components/Sidebar/index.module.scss +14 -14
- package/src/theme-default/components/Sidebar/index.tsx +5 -5
- package/src/theme-default/components/SocialLinks/HiddenLinks.tsx +2 -2
- package/src/theme-default/components/SocialLinks/LinkContent.tsx +3 -3
- package/src/theme-default/components/SocialLinks/index.module.scss +2 -2
- package/src/theme-default/components/SwitchAppearance/index.tsx +1 -1
- package/src/theme-default/components/Tabs/index.module.scss +5 -5
- package/src/theme-default/layout/DocLayout/docComponents/code.tsx +1 -1
- package/src/theme-default/layout/DocLayout/docComponents/index.module.scss +7 -7
- package/src/theme-default/layout/DocLayout/docComponents/link.tsx +2 -2
- package/src/theme-default/layout/DocLayout/docComponents/pre.tsx +2 -2
- package/src/theme-default/layout/DocLayout/index.module.scss +14 -16
- package/src/theme-default/layout/DocLayout/index.tsx +3 -3
- package/src/theme-default/layout/HomeLayout/index.css +10 -10
- package/src/theme-default/layout/HomeLayout/index.tsx +1 -1
- package/src/theme-default/layout/Layout/index.tsx +1 -1
- package/src/theme-default/logic/sideEffects.ts +1 -1
- package/src/theme-default/styles/base.css +8 -8
- package/src/theme-default/styles/doc/code.css +57 -54
- package/src/theme-default/styles/doc/container.css +49 -49
- package/src/theme-default/styles/doc/index.css +1 -1
- package/src/theme-default/styles/scrollbar.css +2 -2
- package/src/theme-default/styles/vars.css +48 -52
|
@@ -1,87 +1,87 @@
|
|
|
1
1
|
/** Define code style */
|
|
2
2
|
:root {
|
|
3
|
-
--
|
|
4
|
-
--
|
|
5
|
-
--
|
|
6
|
-
--
|
|
3
|
+
--rp-code-font-size: 14px;
|
|
4
|
+
--rp-code-block-color: rgb(46, 52, 64);
|
|
5
|
+
--rp-code-title-bg: rgba(0, 99, 199, 0.05);
|
|
6
|
+
--rp-code-block-bg: #f6f8fa;
|
|
7
7
|
|
|
8
|
-
--
|
|
9
|
-
--
|
|
8
|
+
--rp-code-line-highlight-color: rgba(0, 99, 199, 0.1);
|
|
9
|
+
--rp-code-line-number-color: rgba(235, 235, 235, 0.38);
|
|
10
10
|
|
|
11
|
-
--
|
|
12
|
-
--
|
|
11
|
+
--rp-code-copy-code-hover-bg: rgba(255, 255, 255, 0.05);
|
|
12
|
+
--rp-code-copy-code-active-text: rgba(235, 235, 235, 0.6);
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
.dark {
|
|
16
|
-
--
|
|
17
|
-
--
|
|
18
|
-
--
|
|
19
|
-
--
|
|
20
|
-
--
|
|
16
|
+
--rp-code-block-color: rgb(229, 231, 235);
|
|
17
|
+
--rp-code-block-bg: #242424;
|
|
18
|
+
--rp-code-title-bg: rgba(255, 255, 255, 0.04);
|
|
19
|
+
--rp-code-line-highlight-color: rgba(255, 255, 255, 0.1);
|
|
20
|
+
--rp-code-line-number-color: rgba(60, 60, 60, 0.33);
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
:root {
|
|
24
|
-
--
|
|
25
|
-
--
|
|
24
|
+
--rp-icon-copy: url("data:image/svg+xml,%3Csvg width='32' height='32' viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M28 10v18H10V10h18m0-2H10a2 2 0 0 0-2 2v18a2 2 0 0 0 2 2h18a2 2 0 0 0 2-2V10a2 2 0 0 0-2-2Z' fill='%23cccccc'/%3E%3Cpath d='M4 18H2V4a2 2 0 0 1 2-2h14v2H4Z' fill='%23cccccc'/%3E%3C/svg%3E");
|
|
25
|
+
--rp-icon-copied: url("data:image/svg+xml,%3Csvg width='32' height='32' viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m13 24l-9-9l1.41-1.41L13 21.17L26.59 7.59L28 9L13 24z' fill='%2360c054'/%3E%3C/svg%3E");
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
-
.
|
|
29
|
-
font-size: var(--
|
|
28
|
+
.rspress-doc :not(pre, h1, h2, h3, h4, h5, h6) > code {
|
|
29
|
+
font-size: var(--rp-code-font-size);
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
.
|
|
32
|
+
.rspress-doc :not(pre, div, a) > code {
|
|
33
33
|
border-radius: 20px;
|
|
34
34
|
padding: 4px 8px;
|
|
35
|
-
color: var(--
|
|
36
|
-
background-color: var(--
|
|
35
|
+
color: var(--rp-c-text-code);
|
|
36
|
+
background-color: var(--rp-c-bg-mute);
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
-
.
|
|
40
|
-
.
|
|
41
|
-
.
|
|
39
|
+
.rspress-doc h1 > code,
|
|
40
|
+
.rspress-doc h2 > code,
|
|
41
|
+
.rspress-doc h3 > code {
|
|
42
42
|
font-size: 0.9em;
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
.
|
|
46
|
-
color: var(--
|
|
45
|
+
.rspress-doc a > code {
|
|
46
|
+
color: var(--rp-c-brand);
|
|
47
47
|
transition: color 0.25s;
|
|
48
48
|
border: none;
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
.
|
|
52
|
-
color: var(--
|
|
51
|
+
.rspress-doc a:hover > code {
|
|
52
|
+
color: var(--rp-c-brand-dark);
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
.
|
|
55
|
+
.rspress-doc div[class*='language-'] {
|
|
56
56
|
position: relative;
|
|
57
57
|
margin: 16px 0;
|
|
58
|
-
background-color: var(--
|
|
58
|
+
background-color: var(--rp-code-block-bg);
|
|
59
59
|
overflow-x: auto;
|
|
60
60
|
transition: background-color 0.5s;
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
-
.
|
|
63
|
+
.rspress-doc .rspress-code-title {
|
|
64
64
|
padding: 12px 16px;
|
|
65
|
-
font-size: var(--
|
|
66
|
-
background-color: var(--
|
|
65
|
+
font-size: var(--rp-code-font-size);
|
|
66
|
+
background-color: var(--rp-code-title-bg);
|
|
67
67
|
transition: background-color 0.5s;
|
|
68
68
|
}
|
|
69
69
|
|
|
70
70
|
@media (min-width: 640px) {
|
|
71
|
-
.
|
|
71
|
+
.rspress-doc div[class*='language-'] {
|
|
72
72
|
border-radius: 16px;
|
|
73
73
|
margin: 24px 0;
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
@media (max-width: 640px) {
|
|
78
|
-
.
|
|
78
|
+
.rspress-doc li div[class*='language-'] {
|
|
79
79
|
border-radius: 8px 0 0 8px;
|
|
80
80
|
}
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
.
|
|
84
|
-
.
|
|
83
|
+
.rspress-doc [class*='language-'] pre,
|
|
84
|
+
.rspress-doc [class*='language-'] code {
|
|
85
85
|
text-align: left;
|
|
86
86
|
white-space: pre;
|
|
87
87
|
word-spacing: normal;
|
|
@@ -96,7 +96,7 @@
|
|
|
96
96
|
hyphens: none;
|
|
97
97
|
}
|
|
98
98
|
|
|
99
|
-
.
|
|
99
|
+
.rspress-doc [class*='language-'] pre {
|
|
100
100
|
position: relative;
|
|
101
101
|
z-index: 1;
|
|
102
102
|
margin: 0;
|
|
@@ -104,23 +104,23 @@
|
|
|
104
104
|
overflow-x: auto;
|
|
105
105
|
}
|
|
106
106
|
|
|
107
|
-
.
|
|
107
|
+
.rspress-doc [class*='language-'] code {
|
|
108
108
|
display: block;
|
|
109
109
|
padding: 16px 0;
|
|
110
110
|
width: fit-content;
|
|
111
111
|
min-width: 100%;
|
|
112
112
|
line-height: 1.7;
|
|
113
|
-
font-size: var(--
|
|
114
|
-
color: var(--
|
|
115
|
-
background-color: var(--
|
|
113
|
+
font-size: var(--rp-code-font-size);
|
|
114
|
+
color: var(--rp-code-block-color);
|
|
115
|
+
background-color: var(--rp-code-block-bg);
|
|
116
116
|
transition: color 0.5s;
|
|
117
117
|
}
|
|
118
118
|
|
|
119
|
-
.
|
|
119
|
+
.rspress-doc [class*='language-'] .rspress-code-content {
|
|
120
120
|
position: relative;
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
.
|
|
123
|
+
.rspress-doc [class*='language-'] .rspress-code-content button.copy {
|
|
124
124
|
position: absolute;
|
|
125
125
|
top: 12px;
|
|
126
126
|
right: 12px;
|
|
@@ -133,33 +133,36 @@
|
|
|
133
133
|
height: 20px;
|
|
134
134
|
opacity: 0;
|
|
135
135
|
cursor: pointer;
|
|
136
|
-
background-image: var(--
|
|
136
|
+
background-image: var(--rp-icon-copy);
|
|
137
137
|
background-position: 50%;
|
|
138
138
|
background-size: 20px;
|
|
139
139
|
background-repeat: no-repeat;
|
|
140
140
|
transition: all 0.16s;
|
|
141
|
-
background-color: var(--
|
|
141
|
+
background-color: var(--rp-code-copy-code-hover-bg);
|
|
142
142
|
}
|
|
143
143
|
|
|
144
|
-
.
|
|
145
|
-
.
|
|
144
|
+
.rspress-doc [class*='language-']:hover .rspress-code-content button.copy,
|
|
145
|
+
.rspress-doc [class*='language-'] .rspress-code-content button.copy:focus {
|
|
146
146
|
opacity: 1;
|
|
147
147
|
}
|
|
148
148
|
|
|
149
|
-
.
|
|
149
|
+
.rspress-doc [class*='language-'] .rspress-code-content button.copy:hover {
|
|
150
150
|
transform: scale(1.15);
|
|
151
151
|
}
|
|
152
152
|
|
|
153
|
-
.
|
|
154
|
-
.
|
|
153
|
+
.rspress-doc [class*='language-'] .rspress-code-content button.copy.copied,
|
|
154
|
+
.rspress-doc
|
|
155
|
+
[class*='language-']
|
|
156
|
+
.rspress-code-content
|
|
157
|
+
button.copy:hover.copied {
|
|
155
158
|
border-radius: 0 4px 4px 0;
|
|
156
|
-
background-image: var(--
|
|
159
|
+
background-image: var(--rp-icon-copied);
|
|
157
160
|
transform: scale(1);
|
|
158
161
|
opacity: 1;
|
|
159
162
|
}
|
|
160
163
|
|
|
161
|
-
.
|
|
162
|
-
background-color: var(--
|
|
164
|
+
.rspress-doc [class*='language-'] .rspress-code-content span.highlighted {
|
|
165
|
+
background-color: var(--rp-code-line-highlight-color);
|
|
163
166
|
position: absolute;
|
|
164
167
|
display: block;
|
|
165
168
|
left: 0;
|
|
@@ -167,6 +170,6 @@
|
|
|
167
170
|
padding-left: 20px;
|
|
168
171
|
}
|
|
169
172
|
|
|
170
|
-
.
|
|
173
|
+
.rspress-doc [class*='language-'] .rspress-code-content > code {
|
|
171
174
|
padding: 16px 20px;
|
|
172
175
|
}
|
|
@@ -2,31 +2,31 @@
|
|
|
2
2
|
* Container Style, the dom structure is Related to `@modern-js/remark-container`.
|
|
3
3
|
*/
|
|
4
4
|
:root {
|
|
5
|
-
--
|
|
6
|
-
--
|
|
7
|
-
--
|
|
8
|
-
--
|
|
9
|
-
|
|
10
|
-
--
|
|
11
|
-
--
|
|
12
|
-
--
|
|
13
|
-
--
|
|
14
|
-
|
|
15
|
-
--
|
|
16
|
-
--
|
|
17
|
-
--
|
|
18
|
-
--
|
|
5
|
+
--rp-container-info-border: rgba(7, 156, 112, 0.3);
|
|
6
|
+
--rp-container-info-text: #399c70;
|
|
7
|
+
--rp-container-info-bg: rgba(7, 156, 112, 0.02);
|
|
8
|
+
--rp-container-info-code-bg: rgba(7, 156, 112, 0.1);
|
|
9
|
+
|
|
10
|
+
--rp-container-warning-border: rgba(255, 197, 23, 0.5);
|
|
11
|
+
--rp-container-warning-text: #ad850e;
|
|
12
|
+
--rp-container-warning-bg: rgba(255, 197, 23, 0.02);
|
|
13
|
+
--rp-container-warning-code-bg: rgba(255, 197, 23, 0.1);
|
|
14
|
+
|
|
15
|
+
--rp-container-danger-border: rgba(237, 60, 80, 0.5);
|
|
16
|
+
--rp-container-danger-text: #ab2131;
|
|
17
|
+
--rp-container-danger-bg: rgba(237, 60, 80, 0.02);
|
|
18
|
+
--rp-container-danger-code-bg: rgba(237, 60, 80, 0.1);
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
.dark {
|
|
22
|
-
--
|
|
23
|
-
--
|
|
22
|
+
--rp-container-warning-border: rgba(255, 197, 23, 0.25);
|
|
23
|
+
--rp-container-warning-text: #fcd253;
|
|
24
24
|
|
|
25
|
-
--
|
|
26
|
-
--
|
|
25
|
+
--rp-container-danger-border: rgba(237, 60, 80, 0.25);
|
|
26
|
+
--rp-container-danger-text: #f54e82;
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
-
.
|
|
29
|
+
.rspress-doc .modern-directive {
|
|
30
30
|
border: 1px solid transparent;
|
|
31
31
|
border-radius: 16px;
|
|
32
32
|
padding: 20px 24px 12px;
|
|
@@ -36,68 +36,68 @@
|
|
|
36
36
|
margin: 24px 0;
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
-
.
|
|
39
|
+
.rspress-doc .modern-directive .modern-directive-title {
|
|
40
40
|
margin-bottom: 8px;
|
|
41
41
|
font-weight: 600;
|
|
42
42
|
font-size: 16px;
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
.
|
|
45
|
+
.rspress-doc .modern-directive .modern-directive-content p {
|
|
46
46
|
margin: 8px 0;
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
.
|
|
49
|
+
.rspress-doc .modern-directive .modern-directive-icon {
|
|
50
50
|
display: inline-block;
|
|
51
51
|
width: 20px;
|
|
52
52
|
height: 20px;
|
|
53
53
|
margin-right: 3px;
|
|
54
54
|
}
|
|
55
55
|
|
|
56
|
-
.
|
|
56
|
+
.rspress-doc .modern-directive p {
|
|
57
57
|
margin: 8px 0;
|
|
58
58
|
}
|
|
59
59
|
|
|
60
|
-
.
|
|
60
|
+
.rspress-doc .modern-directive code {
|
|
61
61
|
color: inherit;
|
|
62
62
|
font-weight: bold;
|
|
63
63
|
font-size: 13px;
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
.
|
|
67
|
-
.
|
|
68
|
-
.
|
|
69
|
-
border-color: var(--
|
|
70
|
-
color: var(--
|
|
71
|
-
background-color: var(--
|
|
66
|
+
.rspress-doc .modern-directive.tip,
|
|
67
|
+
.rspress-doc .modern-directive.note,
|
|
68
|
+
.rspress-doc .modern-directive.info {
|
|
69
|
+
border-color: var(--rp-container-info-border);
|
|
70
|
+
color: var(--rp-container-info-text);
|
|
71
|
+
background-color: var(--rp-container-info-bg);
|
|
72
72
|
}
|
|
73
73
|
|
|
74
|
-
.
|
|
75
|
-
.
|
|
76
|
-
background-color: var(--
|
|
74
|
+
.rspress-doc .modern-directive.tip code,
|
|
75
|
+
.rspress-doc .modern-directive.note code {
|
|
76
|
+
background-color: var(--rp-container-info-code-bg);
|
|
77
77
|
}
|
|
78
78
|
|
|
79
|
-
.
|
|
80
|
-
background-color: var(--
|
|
79
|
+
.rspress-doc .modern-directive.info code {
|
|
80
|
+
background-color: var(--rp-container-info-code-bg);
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
.
|
|
84
|
-
border-color: var(--
|
|
85
|
-
color: var(--
|
|
86
|
-
background-color: var(--
|
|
83
|
+
.rspress-doc .modern-directive.warning {
|
|
84
|
+
border-color: var(--rp-container-warning-border);
|
|
85
|
+
color: var(--rp-container-warning-text);
|
|
86
|
+
background-color: var(--rp-container-warning-bg);
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
.
|
|
90
|
-
background-color: var(--
|
|
89
|
+
.rspress-doc .modern-directive.warning code {
|
|
90
|
+
background-color: var(--rp-container-warning-code-bg);
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
.
|
|
94
|
-
.
|
|
95
|
-
border-color: var(--
|
|
96
|
-
color: var(--
|
|
97
|
-
background-color: var(--
|
|
93
|
+
.rspress-doc .modern-directive.caution,
|
|
94
|
+
.rspress-doc .modern-directive.danger {
|
|
95
|
+
border-color: var(--rp-container-danger-border);
|
|
96
|
+
color: var(--rp-container-danger-text);
|
|
97
|
+
background-color: var(--rp-container-danger-bg);
|
|
98
98
|
}
|
|
99
99
|
|
|
100
|
-
.
|
|
101
|
-
.
|
|
102
|
-
background-color: var(--
|
|
100
|
+
.rspress-doc .modern-directive.caution code,
|
|
101
|
+
.rspress-doc .modern-directive.danger code {
|
|
102
|
+
background-color: var(--rp-container-danger-code-bg);
|
|
103
103
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.
|
|
1
|
+
.rspress-scrollbar {
|
|
2
2
|
scrollbar-gutter: stable;
|
|
3
3
|
/* The size of scroll bar */
|
|
4
4
|
&::-webkit-scrollbar {
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
|
|
19
19
|
&:hover::-webkit-scrollbar-thumb {
|
|
20
20
|
border: 3px solid transparent;
|
|
21
|
-
background-color: var(--
|
|
21
|
+
background-color: var(--rp-c-text-4);
|
|
22
22
|
background-clip: content-box;
|
|
23
23
|
}
|
|
24
24
|
|
|
@@ -2,77 +2,73 @@
|
|
|
2
2
|
* Some common css theme variables and they will be used in the tailwind theme as well.
|
|
3
3
|
*/
|
|
4
4
|
:root {
|
|
5
|
-
--
|
|
6
|
-
--
|
|
7
|
-
--
|
|
8
|
-
--
|
|
5
|
+
--rp-layout-max-width: 1440px;
|
|
6
|
+
--rp-nav-height: 72px;
|
|
7
|
+
--rp-sidebar-width: 280px;
|
|
8
|
+
--rp-aside-width: 256px;
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
:root {
|
|
12
|
-
--
|
|
13
|
-
--
|
|
14
|
-
--
|
|
12
|
+
--rp-c-bg: #ffffff;
|
|
13
|
+
--rp-c-bg-soft: #f9f9f9;
|
|
14
|
+
--rp-c-bg-mute: #f1f1f1;
|
|
15
15
|
|
|
16
|
-
--
|
|
17
|
-
--
|
|
16
|
+
--rp-c-divider: rgba(60, 60, 60, 0.29);
|
|
17
|
+
--rp-c-divider-light: rgba(60, 60, 60, 0.12);
|
|
18
18
|
|
|
19
|
-
--
|
|
20
|
-
--
|
|
21
|
-
--
|
|
22
|
-
--
|
|
19
|
+
--rp-c-text-1: #213547;
|
|
20
|
+
--rp-c-text-2: rgba(60, 60, 60, 0.66);
|
|
21
|
+
--rp-c-text-3: rgba(60, 60, 60, 0.33);
|
|
22
|
+
--rp-c-text-4: rgba(60, 60, 60, 0.18);
|
|
23
23
|
|
|
24
|
-
--
|
|
24
|
+
--rp-c-text-code: #476573;
|
|
25
25
|
|
|
26
|
-
--
|
|
27
|
-
--
|
|
28
|
-
--
|
|
29
|
-
--
|
|
30
|
-
--
|
|
31
|
-
--
|
|
26
|
+
--rp-c-brand: #0095ff;
|
|
27
|
+
--rp-c-brand-light: #00aaff;
|
|
28
|
+
--rp-c-brand-lighter: #ecf4ff;
|
|
29
|
+
--rp-c-brand-dark: #0077ff;
|
|
30
|
+
--rp-c-brand-darker: #3367af;
|
|
31
|
+
--rp-c-brand-tint: rgba(127, 163, 255, 0.16);
|
|
32
32
|
|
|
33
|
-
--
|
|
34
|
-
--
|
|
35
|
-
--
|
|
36
|
-
--
|
|
37
|
-
--
|
|
38
|
-
--
|
|
33
|
+
--rp-c-gray: #8e8e8e;
|
|
34
|
+
--rp-c-gray-light-1: #aeaeae;
|
|
35
|
+
--rp-c-gray-light-2: #c7c7c7;
|
|
36
|
+
--rp-c-gray-light-3: #d1d1d1;
|
|
37
|
+
--rp-c-gray-light-4: #e5e5e5;
|
|
38
|
+
--rp-c-gray-light-5: #f2f2f2;
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
.dark {
|
|
42
|
-
--
|
|
43
|
-
--
|
|
44
|
-
--
|
|
45
|
-
--
|
|
42
|
+
--rp-c-bg: #000;
|
|
43
|
+
--rp-c-bg-soft: #2f2f2f;
|
|
44
|
+
--rp-c-bg-mute: #3a3a3a;
|
|
45
|
+
--rp-c-bg-alt: #000;
|
|
46
46
|
|
|
47
|
-
--
|
|
48
|
-
--
|
|
47
|
+
--rp-c-divider: rgba(84, 84, 84, 0.65);
|
|
48
|
+
--rp-c-divider-light: rgba(84, 84, 84, 0.48);
|
|
49
49
|
|
|
50
|
-
--
|
|
51
|
-
--
|
|
52
|
-
--
|
|
53
|
-
--
|
|
50
|
+
--rp-c-text-1: rgba(255, 255, 255, 0.87);
|
|
51
|
+
--rp-c-text-2: rgba(235, 235, 235, 0.56);
|
|
52
|
+
--rp-c-text-3: rgba(235, 235, 235, 0.38);
|
|
53
|
+
--rp-c-text-4: rgba(235, 235, 235, 0.18);
|
|
54
54
|
|
|
55
55
|
/* Will be used in overview page */
|
|
56
|
-
--
|
|
56
|
+
--rp-c-text-code: #c9def1;
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
:root {
|
|
60
|
-
--
|
|
61
|
-
--
|
|
62
|
-
--
|
|
63
|
-
--
|
|
64
|
-
--
|
|
65
|
-
--
|
|
60
|
+
--rp-z-index-local-nav: 10;
|
|
61
|
+
--rp-z-index-nav: 20;
|
|
62
|
+
--rp-z-index-layout-top: 30;
|
|
63
|
+
--rp-z-index-backdrop: 40;
|
|
64
|
+
--rp-z-index-sidebar: 50;
|
|
65
|
+
--rp-z-index-footer: 60;
|
|
66
66
|
}
|
|
67
67
|
|
|
68
68
|
:root {
|
|
69
|
-
--
|
|
70
|
-
--
|
|
71
|
-
|
|
72
|
-
--
|
|
73
|
-
|
|
74
|
-
--modern-shadow-4: 0 14px 44px rgba(0, 0, 0, 0.12),
|
|
75
|
-
0 3px 9px rgba(0, 0, 0, 0.12);
|
|
76
|
-
--modern-shadow-5: 0 18px 56px rgba(0, 0, 0, 0.16),
|
|
77
|
-
0 4px 12px rgba(0, 0, 0, 0.16);
|
|
69
|
+
--rp-shadow-1: 0 1px 4px rgba(0, 0, 0, 0.02), 0 1px 0 rgba(0, 0, 0, 0.06);
|
|
70
|
+
--rp-shadow-2: 0 3px 12px rgba(0, 0, 0, 0.07), 0 1px 4px rgba(0, 0, 0, 0.07);
|
|
71
|
+
--rp-shadow-3: 0 12px 32px rgba(0, 0, 0, 0.1), 0 2px 6px rgba(0, 0, 0, 0.08);
|
|
72
|
+
--rp-shadow-4: 0 14px 44px rgba(0, 0, 0, 0.12), 0 3px 9px rgba(0, 0, 0, 0.12);
|
|
73
|
+
--rp-shadow-5: 0 18px 56px rgba(0, 0, 0, 0.16), 0 4px 12px rgba(0, 0, 0, 0.16);
|
|
78
74
|
}
|