Skip to content

Commit afca71e

Browse files
checkpoint
1 parent 9bb5ba8 commit afca71e

File tree

4 files changed

+5
-8
lines changed

4 files changed

+5
-8
lines changed

typescript/examples/vite_basic/src/App.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ const App = () => {
4444
useEffect(() => {
4545
const loadData = async () => {
4646
try {
47-
const response = await fetch("/test_document.json");
47+
const response = await fetch("/spacing_test.json");
4848
const data = await response.json();
4949
setTestPage(data);
5050
} catch (error) {
@@ -80,7 +80,7 @@ const App = () => {
8080
display: "flex",
8181
justifyContent: "center",
8282
paddingTop: 160,
83-
background: "rgba(0,0,0,0.3)",
83+
// background: "rgba(0,0,0,0.3)",
8484
}}
8585
>
8686
<JsonDocRenderer

typescript/src/renderer/styles/base.css

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77
max-width: var(--jsondoc-page-max-width);
88
max-width: inherit;
99
margin: 0 auto;
10-
/* padding: var(--jsondoc-page-padding-desktop)
11-
var(--jsondoc-page-padding-desktop) var(--jsondoc-page-bottom-padding); */
1210
color: var(--jsondoc-text-primary);
1311
font-family: var(--jsondoc-font-family-sans);
1412
}

typescript/src/renderer/styles/typography.css

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,9 @@
4747
transition: text-decoration-color var(--jsondoc-transition-fast);
4848
}
4949

50-
.notion-text-block div {
50+
.notion-text-block {
5151
color: var(--jsondoc-text-primary);
52+
line-height: var(--jsondoc-line-height-very-loose);
5253
}
5354

5455
.notion-link:hover {
@@ -58,8 +59,6 @@
5859
.notion-equation {
5960
background: var(--jsondoc-bg-inline-code);
6061
border-radius: var(--jsondoc-radius-sm);
61-
padding: 0.2em 0.4em;
62-
font-family: var(--jsondoc-font-family-serif);
6362
}
6463

6564
/* Text Colors */

typescript/src/renderer/styles/variables.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@
114114
}
115115

116116
.jsondoc-theme-dark {
117-
--jsondoc-text-primary: #ffffff;
117+
--jsondoc-text-primary: rgba(255, 255, 255, 0.81);
118118
--jsondoc-text-secondary: rgba(255, 255, 255, 0.65);
119119
--jsondoc-text-muted: rgba(255, 255, 255, 0.45);
120120
--jsondoc-border-light: rgba(255, 255, 255, 0.16);

0 commit comments

Comments
 (0)