Skip to content

fix: type color not working#141

Merged
tecandrew merged 2 commits intocatppuccin:mainfrom
aizigao:fix/type_color_not_working
Jan 23, 2026
Merged

fix: type color not working#141
tecandrew merged 2 commits intocatppuccin:mainfrom
aizigao:fix/type_color_not_working

Conversation

@aizigao
Copy link
Copy Markdown
Contributor

@aizigao aizigao commented Jan 17, 2026

I noticed the "syntax.type" is not working in vue when use cutppuccin theme

image

the default theme, look like this

image

the tokyo night theme

image

I spent several hours diffing the files, but found that there wasn’t actually much difference in the configuration.
I tried changing the order of "syntax.type" and "syntax.tag", and then it worked.

image

this is my test file testing.vue

<script setup lang="ts">
import TheWelcome from '@/components/TheWelcome.vue'
import { ref } from 'vue'
const good = ref('test-333')

// TODO: ddd
const test = ref(true)

if (test.value) {
}
</script>

<template>
  <main class="xx">
    <TheWelcome :show="true" :testProp="true" @update:show="() => {}" :class="[]">
      <img style="width: 100px; height: 100px" />
    </TheWelcome>
  </main>
</template>
<style lang="less">
.test {
  red: 'dd';
}
/* TODO: dd */
/* WARN: dd */
/* INFO: dd */
.body {
}
</style>
@tecandrew tecandrew merged commit 9925c5a into catppuccin:main Jan 23, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants