Skip to content

Commit 4c1f43a

Browse files
committed
update styles
1 parent 98359f5 commit 4c1f43a

3 files changed

Lines changed: 37 additions & 5 deletions

File tree

custom.css

Lines changed: 32 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,37 @@
1-
@import url('https://fonts.googleapis.com/css2?family=Geist+Mono&display=swap');
1+
@import url('https://fonts.googleapis.com/css2?family=Azeret+Mono:wght@100..900&display=swap');
22

33
code, pre, .code-block, [class*="code"] {
4-
font-family: 'Geist Mono', monospace !important;
4+
font-family: 'Azeret Mono', monospace !important;
5+
}
6+
7+
/* Code blocks and cards */
8+
.code-block,
9+
[class*="CodeGroup"], [class*="code-group"],
10+
.card, [class*="Card"], [class*="card"],
11+
[class*="Callout"], [class*="callout"],
12+
[class*="Note"], [class*="note"],
13+
[class*="Warning"], [class*="warning"],
14+
[class*="Tip"], [class*="tip"],
15+
[class*="Accordion"], [class*="accordion"],
16+
[class*="ResponseField"], [class*="Expandable"] {
17+
border-radius: 8px !important;
18+
border: 1px solid #404040 !important;
19+
background: rgba(64, 64, 64, 0.25) !important;
20+
}
21+
22+
[style*="--shiki-dark-bg"] {
23+
--shiki-dark-bg: transparent !important;
24+
background-color: transparent !important;
25+
}
26+
27+
.code-block pre,
28+
.code-block code {
29+
background-color: transparent !important;
30+
}
31+
32+
.code-block [data-fade-overlay] {
33+
--fade-color-light: transparent !important;
34+
--fade-color-dark: transparent !important;
535
}
636

737
/* Navbar CTA button */

docs.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,14 @@
99
},
1010
"fonts": {
1111
"heading": {
12-
"family": "Aspekta",
13-
"source": "/fonts/AspektaVF.woff2",
12+
"family": "PolySansArabicVF",
13+
"source": "/fonts/PolySansArabicVF.woff2",
1414
"format": "woff2"
1515
},
1616
"body": {
17-
"family": "Inter"
17+
"family": "PolySansArabicVF",
18+
"source": "/fonts/PolySansArabicVF.woff2",
19+
"format": "woff2"
1820
}
1921
},
2022
"favicon": "/favicon-128x128.png",

fonts/PolySansArabicVF.woff2

58.1 KB
Binary file not shown.

0 commit comments

Comments
 (0)