Skip to content

Commit 97abcd6

Browse files
authored
Merge pull request #21 from opencomponents/update-edit-link
Change Edit link to update doc + better dark mode
2 parents 2382b5a + 47503f0 commit 97abcd6

File tree

3 files changed

+18
-13
lines changed

3 files changed

+18
-13
lines changed

website/docusaurus.config.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,14 @@ const config = {
2424
docs: {
2525
sidebarPath: require.resolve("./sidebars.js"),
2626
// Please change this to your repo.
27-
editUrl: "https://github.com/opencomponents/oc/wiki",
27+
editUrl:
28+
"https://github.com/opencomponents/opencomponents.github.io/tree/master/website",
2829
},
2930
blog: {
3031
showReadingTime: true,
3132
// Please change this to your repo.
32-
editUrl: "https://github.com/opencomponents/oc/wiki",
33+
editUrl:
34+
"https://github.com/opencomponents/opencomponents.github.io/tree/master/website",
3335
},
3436
theme: {
3537
customCss: require.resolve("./src/css/custom.css"),

website/package-lock.json

Lines changed: 9 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

website/src/css/custom.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,3 +75,8 @@ html[data-theme="dark"] .docusaurus-highlight-code-line {
7575
.button.secondary {
7676
color: #aa79ff;
7777
}
78+
79+
html[data-theme="dark"] .hero.heroBanner_src-pages-index-module {
80+
background: linear-gradient(135deg, #7555a7 0%, #2c1949 100%);
81+
color: #fff;
82+
}

0 commit comments

Comments
 (0)