Skip to content

Commit 707ced5

Browse files
committed
chore: updated fonts and styling
1 parent a784b27 commit 707ced5

File tree

4 files changed

+42
-37
lines changed

4 files changed

+42
-37
lines changed

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,16 +38,16 @@
3838
"isomorphic-unfetch": "^3.1.0",
3939
"lqip-modern": "^2.0.0",
4040
"next": "12",
41-
"notion-client": "^6.15.6",
42-
"notion-types": "^6.15.6",
43-
"notion-utils": "^6.15.6",
41+
"notion-client": "^6.16.0",
42+
"notion-types": "^6.16.0",
43+
"notion-utils": "^6.16.0",
4444
"p-map": "^5.3.0",
4545
"p-memoize": "^6.0.1",
4646
"posthog-js": "^1.20.2",
4747
"react": "^18.2.0",
4848
"react-body-classname": "^1.3.1",
4949
"react-dom": "^18.2.0",
50-
"react-notion-x": "^6.15.6",
50+
"react-notion-x": "^6.16.0",
5151
"react-tweet-embed": "^2.0.0",
5252
"react-use": "^17.4.2",
5353
"rss": "^1.2.2"

styles/global.css

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
@import url('https://fonts.googleapis.com/css2?family=DM+Mono:ital,wght@0,300;0,400;0,500;1,300;1,400;1,500&family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&display=swap');
2+
13
* {
24
box-sizing: border-box;
35
}
@@ -14,9 +16,10 @@ html {
1416
}
1517

1618
body {
17-
--notion-font: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
18-
'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans',
19-
'Droid Sans', 'Helvetica Neue', 'Noto Sans', sans-serif;
19+
--notion-font: 'DM Sans', 'DM Mono', 'JetBrains Mono', monospace, system-ui,
20+
-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu',
21+
'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', 'Noto Sans',
22+
sans-serif;
2023
font-family: var(--notion-font);
2124
overflow-x: hidden;
2225
}
@@ -39,24 +42,22 @@ body {
3942
caret-color: var(--fg-color);
4043
}
4144

42-
::-webkit-scrollbar
43-
{
45+
::-webkit-scrollbar {
4446
width: 5px;
4547
height: 5px;
46-
background-color: #F5F5F5;
48+
background-color: #f5f5f5;
4749
background-color: var(--bg-color-1);
4850
}
4951

50-
::-webkit-scrollbar-thumb
51-
{
52+
::-webkit-scrollbar-thumb {
5253
border-radius: 10px;
53-
-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
54+
-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
5455
background-color: #555;
5556
border-radius: 10px;
56-
-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
57+
-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
5758
background-color: var(--fg-color-1);
5859
}
5960

60-
::-webkit-scrollbar-track {
61-
background-color: var(--bg-color);
61+
::-webkit-scrollbar-track {
62+
background-color: var(--bg-color);
6263
}

styles/notion.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -403,3 +403,7 @@
403403
.notion-equation.notion-equation-block {
404404
align-items: center;
405405
}
406+
407+
.notion-list-item-property:first-child {
408+
display: none;
409+
}

yarn.lock

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -3544,30 +3544,30 @@ normalize-url@^7.0.3:
35443544
resolved "https://registry.npmjs.org/normalize-url/-/normalize-url-7.0.3.tgz"
35453545
integrity sha512-RiCOdwdPnzvwcBFJE4iI1ss3dMVRIrEzFpn8ftje6iBfzBInqlnRrNhxcLwBEKjPPXQKzm1Ptlxtaiv9wdcj5w==
35463546

3547-
notion-client@^6.15.6:
3548-
version "6.15.6"
3549-
resolved "https://registry.yarnpkg.com/notion-client/-/notion-client-6.15.6.tgz#3dfd0cbd8d2256bdbc93b5549d9cb86e3c33ced3"
3550-
integrity sha512-/ze9bHNhi09IvSo+loAelGVf2VsrnPaXoGtea/VUQq0adTvgcQhC1u37BwaK5G8bS/crVC277+KWlgdJOBIxeQ==
3547+
notion-client@^6.16.0:
3548+
version "6.16.0"
3549+
resolved "https://registry.yarnpkg.com/notion-client/-/notion-client-6.16.0.tgz#5d3db8c36fa7b9eb7cf03f237a61c6f98241a717"
3550+
integrity sha512-gI2kPpls8XxJfXt7cs2JDmSHPZL1HkkXQnE5YWKPT4OnpiniUgHk5b+rRB2dXUqGT4003vSYmPnxXUTbzKPoLA==
35513551
dependencies:
35523552
got "^11.8.1"
3553-
notion-types "^6.15.6"
3554-
notion-utils "^6.15.6"
3553+
notion-types "^6.16.0"
3554+
notion-utils "^6.16.0"
35553555
p-map "^5.3.0"
35563556

3557-
notion-types@^6.15.6:
3558-
version "6.15.6"
3559-
resolved "https://registry.yarnpkg.com/notion-types/-/notion-types-6.15.6.tgz#eabbb28e1c514f421f0ffbf06ecdecd90e8ec8e3"
3560-
integrity sha512-JgLWDN4oHg/1sNdHDCeKUfdPl1AYsjOTnYkq+Zn7vITPykxbhw7nIxbAJ7owWUTro1cYTPh+GVmdX0mPiZGujg==
3557+
notion-types@^6.16.0:
3558+
version "6.16.0"
3559+
resolved "https://registry.yarnpkg.com/notion-types/-/notion-types-6.16.0.tgz#1c676b180095d14209a6760dd8586db55a115e91"
3560+
integrity sha512-Cv83GaAczx57q1qsnuG8DHOuOb63c83u9LX2IainG5aqBEB0GUuLZ4DUQfB6MaXt+FMY9fO+KTgPeZWwX9hbrQ==
35613561

3562-
notion-utils@^6.15.6:
3563-
version "6.15.6"
3564-
resolved "https://registry.yarnpkg.com/notion-utils/-/notion-utils-6.15.6.tgz#d172faa2c29d62eac71b4e17ed01336d5e372d02"
3565-
integrity sha512-Ys7lQ5KWmrk9ZmpFquomQcVRdQqmZMRAl0aFhoqirVgeyKtq/i5IZoHCw8jCY8732WlaEAUnBid56nN33N2fRQ==
3562+
notion-utils@^6.16.0:
3563+
version "6.16.0"
3564+
resolved "https://registry.yarnpkg.com/notion-utils/-/notion-utils-6.16.0.tgz#b81567b9d8d7ee6199383b9b41f58f5f297a1c36"
3565+
integrity sha512-DxToriZAJW/64O1xlAjyU/50dRmkO1e54+i0dEAPDij0MlHyihEivAMsdEG/6/4eFC972BIsEKZ6BXsSTUYKlQ==
35663566
dependencies:
35673567
is-url-superb "^6.1.0"
35683568
mem "^9.0.2"
35693569
normalize-url "^7.0.3"
3570-
notion-types "^6.15.6"
3570+
notion-types "^6.16.0"
35713571
p-queue "^7.2.0"
35723572

35733573
npm-run-all@^4.1.5:
@@ -4113,16 +4113,16 @@ react-modal@^3.14.3:
41134113
react-lifecycles-compat "^3.0.0"
41144114
warning "^4.0.3"
41154115

4116-
react-notion-x@^6.15.6:
4117-
version "6.15.6"
4118-
resolved "https://registry.yarnpkg.com/react-notion-x/-/react-notion-x-6.15.6.tgz#af42e836dce9f5d3ece97f2796c09608c49347de"
4119-
integrity sha512-s8FVh8bs2vb32VLvPq21V0rjeWtF+U6Fudaxfx9yA6vVvQ5kgF9RRyc7eNlKpLPfq/HMEqLE52hZW+ecQ15PZQ==
4116+
react-notion-x@^6.16.0:
4117+
version "6.16.0"
4118+
resolved "https://registry.yarnpkg.com/react-notion-x/-/react-notion-x-6.16.0.tgz#48e70e90ab0f4a150b3379a928ac338e1e75dc2f"
4119+
integrity sha512-YdJikX38YNX5eIKAO9diw/tEhsc0ypnaqOqcdXEr7zFf0h/+eoppEzlLdzYJktnZy4n2q0z5ooXWAQi4QLi8Zw==
41204120
dependencies:
41214121
"@fisch0920/medium-zoom" "^1.0.7"
41224122
"@matejmazur/react-katex" "^3.1.3"
41234123
katex "^0.15.3"
4124-
notion-types "^6.15.6"
4125-
notion-utils "^6.15.6"
4124+
notion-types "^6.16.0"
4125+
notion-utils "^6.16.0"
41264126
prismjs "^1.27.0"
41274127
react-fast-compare "^3.2.0"
41284128
react-hotkeys-hook "^3.0.3"

0 commit comments

Comments
 (0)