Skip to content

Commit 227d693

Browse files
committed
feat!: introduce lavender for attributes/properties
1 parent 44894f6 commit 227d693

2 files changed

Lines changed: 10 additions & 8 deletions

File tree

packages/catppuccin-vsc/src/theme/tokens/index.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,11 +264,18 @@ export default function tokens(context: ThemeContext): TextmateColors {
264264
foreground: palette.red,
265265
},
266266
},
267+
{
268+
name: "Struct/Instance fields",
269+
scope: ["variable.other.property"],
270+
settings: {
271+
foreground: palette.lavender,
272+
},
273+
},
267274
{
268275
name: "Object properties",
269276
scope: "variable.object.property",
270277
settings: {
271-
foreground: palette.text,
278+
foreground: palette.lavender,
272279
},
273280
},
274281
{

packages/catppuccin-vsc/src/theme/tokens/javascript.ts

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,8 @@ const tokens = (context: ThemeContext): TextmateColors => {
1212
},
1313
},
1414
{
15-
name: "JS/TS constants & properties",
16-
scope: [
17-
"variable.other.constant.js",
18-
"variable.other.constant.ts",
19-
"variable.other.property.js",
20-
"variable.other.property.ts",
21-
],
15+
name: "JS/TS constants",
16+
scope: ["variable.other.constant.js", "variable.other.constant.ts"],
2217
settings: {
2318
foreground: palette.text,
2419
},

0 commit comments

Comments
 (0)