Skip to content

Commit 0e52619

Browse files
fixed css and config
1 parent d097c51 commit 0e52619

File tree

2 files changed

+17
-2
lines changed

2 files changed

+17
-2
lines changed

docusaurus.config.js

+6-2
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ const config = {
200200
},
201201
{
202202
from: "/docs/kopli-testnet",
203-
to: "/kopli-testnet"
203+
to: "/reactive-mainnet"
204204
},
205205
{
206206
from: "/system-contract",
@@ -237,7 +237,11 @@ const config = {
237237
{
238238
from: "/compendium",
239239
to: "/"
240-
}
240+
},
241+
{
242+
from: "/kopli-testnet",
243+
to: "/reactive-mainnet"
244+
},
241245
]
242246
}
243247
]

src/css/custom.css

+11
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010

1111
:root {
1212
--ifm-color-content: #1d1d1f;
13+
--ifm-color-white: #ffffff;
1314
--ifm-color-content-inverse: var(--ifm-color-white);
1415
--ifm-color-primary: #2756fc;
1516
--ifm-color-primary-dark: #0849e4;
@@ -37,6 +38,10 @@
3738
--ifm-color-gray-900: #161617;
3839
--ifm-color-gray-950: #101010;
3940

41+
--ifm-color-emphasis-100: #e8e8ed;
42+
--ifm-color-emphasis-200: #d2d2d7;
43+
--ifm-color-emphasis-500: #6e6e73;
44+
4045
--ifm-color-primary-contrast-background: rgb(16, 36, 69);
4146
--ifm-color-primary-contrast-foreground: rgb(235, 242, 252);
4247
--ifm-color-secondary-contrast-background: #f5f5f7;
@@ -73,6 +78,9 @@
7378
--kopli-button-bg: #2756fc;
7479
--kopli-button-hover-bg: #1A4C92;
7580
--kopli-button-text: #ffffff;
81+
--mainnet-button-bg: #2756fc;
82+
--mainnet-button-hover-bg: #1A4C92;
83+
--mainnet-button-text: #ffffff;
7684
}
7785

7886
.pagination-nav__link {
@@ -158,6 +166,9 @@ html[data-theme="dark"] {
158166
--kopli-button-bg: #7B59E6;
159167
--kopli-button-hover-bg: #5F44B5;
160168
--kopli-button-text: #ffffff;
169+
--mainnet-button-bg: #7B59E6;
170+
--mainnet-button-hover-bg: #5F44B5;
171+
--mainnet-button-text: #ffffff;
161172
}
162173

163174
.footer--dark {

0 commit comments

Comments
 (0)