Skip to content

Commit dda2119

Browse files
committed
Added Trigger.dark theme to the docs
1 parent f53db6f commit dda2119

File tree

2 files changed

+34
-1
lines changed

2 files changed

+34
-1
lines changed

docs/docs.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -439,6 +439,11 @@
439439
"display": "simple"
440440
}
441441
},
442+
"styling": {
443+
"codeblocks": {
444+
"theme": "css-variables"
445+
}
446+
},
442447
"appearance": {
443448
"default": "dark",
444449
"strict": true

docs/style.css

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,31 @@
11
button~.absolute.peer-hover\:opacity-100 {
22
color: #000
3-
}
3+
}
4+
5+
:root {
6+
/* Code block colors - Trigger.dark theme */
7+
--mint-color-background: #121317;
8+
--mint-color-text: #D4D4D4;
9+
--mint-token-constant: #9B99FF;
10+
--mint-token-string: #AFEC73;
11+
--mint-token-comment: #5F6570;
12+
--mint-token-keyword: #E888F8;
13+
--mint-token-parameter: #CCCBFF;
14+
--mint-token-function: #D9F07C;
15+
--mint-token-string-expression: #AFEC73;
16+
--mint-token-punctuation: #878C99;
17+
--mint-token-link: #826DFF;
18+
19+
/* Shiki css-variables fallbacks */
20+
--shiki-foreground: #D4D4D4;
21+
--shiki-background: #121317;
22+
--shiki-token-constant: #9B99FF;
23+
--shiki-token-string: #AFEC73;
24+
--shiki-token-comment: #5F6570;
25+
--shiki-token-keyword: #E888F8;
26+
--shiki-token-parameter: #CCCBFF;
27+
--shiki-token-function: #D9F07C;
28+
--shiki-token-string-expression: #AFEC73;
29+
--shiki-token-punctuation: #878C99;
30+
--shiki-token-link: #826DFF;
31+
}

0 commit comments

Comments
 (0)