Skip to content

Commit ee10c0b

Browse files
committed
Update styling
1 parent 7486e8b commit ee10c0b

File tree

3 files changed

+37
-18
lines changed

3 files changed

+37
-18
lines changed

docusaurus.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ export default {
4747
],
4848
},
4949
footer: {
50-
style: 'dark',
5150
links: [
5251
{
5352
title: 'Docs',
@@ -146,6 +145,7 @@ export default {
146145
'https://github.com/react-navigation/react-navigation.github.io/edit/main/',
147146
includeCurrentVersion: false,
148147
lastVersion: '6.x',
148+
breadcrumbs: false,
149149
remarkPlugins: [[remarkNpm2Yarn, { sync: true }]],
150150
rehypePlugins: [
151151
[rehypeCodeblockMeta, { match: { snack: true } }],

src/css/custom.css

Lines changed: 35 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@
1313
--ifm-color-primary-light: #7a63b6;
1414
--ifm-color-primary-lighter: #816cba;
1515
--ifm-color-primary-lightest: #9886c6;
16-
--ifm-code-font-size: 95%;
16+
1717
--ifm-hero-background-color: #6b52ae;
1818
--ifm-hero-text-color: #fff;
19-
19+
--ifm-footer-background-color: #f7f7ff;
2020
--ifm-home-color-text: #414360;
2121
--ifm-home-color-background: #f7f7ff;
2222
--ifm-home-color-background-secondary: #d5d6f5;
@@ -25,9 +25,11 @@
2525
--ifm-home-color-black: #25292e;
2626
--ifm-home-color-white: #f7f7ff;
2727

28-
--ifm-menu-color-background-active: rgb(107, 82, 174, 0.1);
28+
--ifm-menu-color-background-active: rgba(107, 82, 174, 0.1);
29+
--docusaurus-highlighted-code-line-bg: rgba(107, 82, 174, 0.1);
2930

30-
--docusaurus-highlighted-code-line-bg: #ebebeb;
31+
--ifm-tabs-padding-vertical: 0.5rem;
32+
--ifm-alert-border-left-width: 0;
3133
}
3234

3335
:root[data-theme='dark'] {
@@ -39,6 +41,7 @@
3941
--ifm-color-primary-lighter: #c5bbdf;
4042
--ifm-color-primary-lightest: #e4e0f0;
4143

44+
--ifm-footer-background-color: #25292f;
4245
--ifm-home-color-text: #f7f7ff;
4346
--ifm-home-color-background: #414360;
4447
--ifm-home-color-background-secondary: #585b82;
@@ -61,24 +64,40 @@
6164
}
6265

6366
.menu__link--sublist-caret:after {
64-
background: var(--ifm-menu-link-sublist-icon) 50% / 1.5rem 1.5rem;
67+
background: var(--ifm-menu-link-sublist-icon) 50% / 1.25rem 1.25rem;
68+
opacity: 0.5;
6569
}
6670

67-
.docusaurus-highlight-code-line {
68-
background-color: rgb(72, 77, 91);
69-
display: block;
70-
margin: 0 calc(-1 * var(--ifm-pre-padding));
71-
padding: 0 var(--ifm-pre-padding);
71+
.theme-doc-sidebar-container {
72+
border-right: none !important;
73+
}
74+
75+
.table-of-contents__left-border {
76+
border-left: none;
77+
}
78+
79+
.pagination-nav__link {
80+
border: none;
81+
}
82+
83+
.pagination-nav__label::before, .pagination-nav__label::after {
84+
display: none;
85+
}
86+
87+
.pagination-nav__link--next .pagination-nav__sublabel::after {
88+
content: ' →';
89+
}
90+
91+
.pagination-nav__link--prev .pagination-nav__sublabel::before {
92+
content: '← ';
7293
}
7394

74-
blockquote {
75-
background-color: rgba(226, 232, 125, 0.2);
76-
border-left: 5px solid rgba(226, 232, 125, 0.5);
95+
.tabs__item {
96+
border-bottom-width: 2px;
7797
}
7898

79-
[data-theme='dark'] blockquote {
80-
background-color: #1c1c1c;
81-
border-left: 5px solid var(--ifm-color-primary);
99+
.theme-edit-this-page svg, .theme-admonition svg {
100+
transform: scale(0.8);
82101
}
83102

84103
samp {

src/pages/home/Sponsors/styles.module.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
.wrapper {
2-
background-color: var(--ifm-home-color-background);
2+
background-color: var(--ifm-home-color-background-secondary);
33
display: flex;
44
align-items: center;
55
justify-content: center;

0 commit comments

Comments
 (0)