diff --git a/styles/src/themes/rose-pine/common.ts b/styles/src/themes/rose-pine/common.ts index 28ed090c5d..8b3b3b7000 100644 --- a/styles/src/themes/rose-pine/common.ts +++ b/styles/src/themes/rose-pine/common.ts @@ -1,3 +1,5 @@ +import { ThemeSyntax } from "../../common"; + export const color = { default: { base: '#191724', @@ -52,20 +54,20 @@ export const color = { } }; -export const syntax = (c: typeof color.default) => { +export const syntax = (c: typeof color.default): Partial => { return { comment: { color: c.muted }, - operator: { color: c.subtle }, + operator: { color: c.pine }, punctuation: { color: c.subtle }, variable: { color: c.text }, string: { color: c.gold }, - "type.builtin": { color: c.rose }, + type: { color: c.foam }, + "type.builtin": { color: c.foam }, boolean: { color: c.rose }, function: { color: c.rose }, keyword: { color: c.pine }, tag: { color: c.foam }, - type: { color: c.foam }, - "function.method": { color: c.iris }, + "function.method": { color: c.rose }, title: { color: c.gold }, linkText: { color: c.foam, italic: false }, linkUri: { color: c.rose },