File tree Expand file tree Collapse file tree 2 files changed +18
-0
lines changed
packages/catppuccin-vsc/src/theme/tokens Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ import python from "./python";
2323import regex from "./regex" ;
2424import rust from "./rust" ;
2525import shell from "./shell" ;
26+ import typst from "./typst" ;
2627
2728export default function tokens ( context : ThemeContext ) : TextmateColors {
2829 const { options, palette } = context ;
@@ -306,6 +307,7 @@ export default function tokens(context: ThemeContext): TextmateColors {
306307 regex ,
307308 rust ,
308309 shell ,
310+ typst ,
309311 ] . flatMap ( ( element ) => element ( context ) ) ,
310312 ] ;
311313}
Original file line number Diff line number Diff line change 1+ import type { TextmateColors , ThemeContext } from "@/types" ;
2+
3+ const tokens = ( context : ThemeContext ) : TextmateColors => {
4+ const { palette } = context ;
5+
6+ return [
7+ {
8+ scope : [ "markup.heading.typst" ] ,
9+ settings : {
10+ foreground : palette . red ,
11+ } ,
12+ } ,
13+ ] ;
14+ } ;
15+
16+ export default tokens ;
You can’t perform that action at this time.
0 commit comments