Skip to content

Commit 13a1af1

Browse files
committed
fix code font
1 parent da6d38d commit 13a1af1

File tree

6 files changed

+14
-21
lines changed

6 files changed

+14
-21
lines changed

.husky/pre-commit

-4
This file was deleted.

package-lock.json

+4-5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
{
2-
"name": "solarity-doc",
3-
"version": "0.0.0",
4-
"private": true,
2+
"name": "@solarity/docs",
3+
"version": "0.1.0",
54
"scripts": {
6-
"install": "npx husky install",
75
"lint-fix": "npm run lint-js-fix && npm run lint-json-fix",
86
"lint-json-fix": "prettier --write \"./**/*.json\"",
97
"lint-js-fix": "prettier --write \"./**/*.js\"",

src/pages/markdown-page.md

-7
This file was deleted.

src/styles/_global.scss

+4-1
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,16 @@ html {
88
}
99

1010
body,
11-
span,
1211
p {
1312
color: var(--text-primary-light);
1413

1514
@include p-16-regular;
1615
}
1716

17+
code {
18+
@include code
19+
}
20+
1821
a {
1922
@include p-16-regular;
2023
}

src/styles/_mixins.scss

+4
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@ $media-breakpoints: (
3434
text-overflow: ellipsis;
3535
}
3636

37+
@mixin code {
38+
font-family: SFMono-Regular, monospace !important;
39+
}
40+
3741
@mixin h1 {
3842
font-family: var(--app-font-family-secondary);
3943
font-size: toRem(56);

0 commit comments

Comments
 (0)