Skip to content
This repository was archived by the owner on Feb 15, 2025. It is now read-only.

Commit bfc1619

Browse files
committed
fixed some typos
1 parent 4e7204b commit bfc1619

File tree

9 files changed

+17
-25
lines changed

9 files changed

+17
-25
lines changed

src/components/other/HeaderTyper/styles.module.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
.Text {
1010
color: var(--ifm-navbar-link-color);
11-
font-size: 4rem;
11+
font-size: var(--ifm-font-size-64);
1212
font-weight: bold;
1313
}
1414

@@ -55,7 +55,7 @@
5555
}
5656

5757
.Text {
58-
font-size: 2rem;
58+
font-size: var(--ifm-font-size-40);
5959
}
6060

6161
.Cursor {

src/core/entities/ui/theme/index.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ import {
55
ThemeInterface,
66
} from "../ui.interface";
77

8+
/*
9+
THIS THEME DOESN'T GET USED RIGHT NOW
10+
https://github.com/facebook/docusaurus/issues/3236
11+
CURRENT THEME IS IN 'custom.scss'
12+
*/
13+
814
export const primitiveColors: PrimitiveColorsInterface = {
915
black: "#18191a",
1016
blackLight: "#202026",

src/core/entities/ui/ui.controller.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ export const THEME_TYPE = App.createState<ThemeTypes>("light")
88
.watch("mutateColor", (value) => {
99
THEME.set(theme.themes[value]);
1010
});
11+
1112
export const THEME = App.createState<ThemeInterface>(
1213
theme.themes[THEME_TYPE.value]
1314
).watch("mutateColor", (value) => {

src/pages/LandingPage/components/HeaderView/styles.module.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575

7676
@media (max-width: 768px) {
7777
.HeaderTitle {
78-
font-size: var(--ifm-font-size-32);
78+
font-size: var(--ifm-font-size-40);
7979
}
8080

8181
.SeparatorRight {

src/theme/Footer/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const Footer = () => {
2525

2626
return (
2727
<footer className={clsx("footer", styles.Container)}>
28-
<div className={styles.Inner}>
28+
<div className={styles.InnerContainer}>
2929
<div className={styles.ContentContainer}>
3030
{/*Footer Left */}
3131
<div className={styles.FooterLeft}>
@@ -43,7 +43,7 @@ const Footer = () => {
4343
<div className={styles.Tagline}>{siteConfig.tagline}</div>
4444
<GithubButton
4545
className={styles.GithubButton}
46-
to={siteConfig.themeConfig.githubUrl}
46+
to={siteConfig.customFields.githubUrl}
4747
/>
4848
</div>
4949

src/theme/Footer/styles.module.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
background: var(--ifm-color-background-2);
77
}
88

9-
.Inner {
9+
.InnerContainer {
1010
display: flex;
1111
flex-direction: column;
1212
flex: 1;

src/theme/Navbar/styles.module.css

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -26,35 +26,19 @@
2626
:global(.navbar-sidebar__brand) {
2727
display: flex;
2828
justify-content: space-between;
29+
text-align: center;
30+
padding-left: 30px;
2931
}
3032

3133
:global(.navbar__toggle) {
3234
align-self: center;
3335
}
3436

35-
@media (max-width: 768px) {
36-
:global(.navbar-sidebar__brand) {
37-
display: flex;
38-
align-items: center;
39-
margin-left: 30px;
40-
text-align: center;
41-
}
42-
}
43-
4437
@media (max-width: 997px) {
4538
.displayOnlyInLargeViewport {
4639
display: none !important;
4740
}
4841

49-
:global(.navbar-sidebar__brand) {
50-
margin-left: 30px;
51-
text-align: center;
52-
}
53-
54-
.icon {
55-
margin-top: 10px;
56-
}
57-
5842
:global(.navbar__link) {
5943
--ifm-navbar-item-padding-horizontal: 0.85rem;
6044
}

src/theme/Playground/index.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ import * as React from "react";
1212
import { LiveProvider, LiveEditor, LiveError, LivePreview } from "react-live";
1313
import clsx from "clsx";
1414
import styles from "./styles.module.css";
15+
import Spacer from "../../components/other/Spacer";
1516

1617
function Playground({ children, theme, transformCode, ...props }) {
1718
return (
@@ -28,6 +29,7 @@ function Playground({ children, theme, transformCode, ...props }) {
2829
Live Editor
2930
</div>
3031
<LiveEditor className={styles.PlaygroundEditor} />
32+
<Spacer height={30} />
3133
<div
3234
className={clsx(
3335
styles.PlaygroundHeader,

src/theme/Playground/styles.module.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
}
1818

1919
.PlaygroundPreviewHeader {
20-
margin-top: 30px;
2120
background: var(--ifm-color-primary-darker);
2221
color: var(--ifm-color-content);
2322
}

0 commit comments

Comments
 (0)