Merge pull request #6552 from usebruno/feat/update-primary-colors

feat: update primary colors in schema
This commit is contained in:
Anoop M D
2025-12-30 07:20:27 +05:30
committed by GitHub
12 changed files with 90 additions and 1 deletions

View File

@@ -58,6 +58,13 @@ const catppuccinFrappeTheme = {
textLink: colors.BLUE,
bg: colors.BASE,
primary: {
solid: colors.MAUVE,
text: colors.MAUVE,
strong: colors.MAUVE,
subtle: colors.MAUVE
},
accents: {
primary: colors.MAUVE
},

View File

@@ -58,6 +58,13 @@ const catppuccinMacchiatoTheme = {
textLink: colors.BLUE,
bg: colors.BASE,
primary: {
solid: colors.MAUVE,
text: colors.MAUVE,
strong: colors.MAUVE,
subtle: colors.MAUVE
},
accents: {
primary: colors.MAUVE
},

View File

@@ -58,6 +58,13 @@ const catppuccinMochaTheme = {
textLink: colors.BLUE,
bg: colors.BASE,
primary: {
solid: colors.MAUVE,
text: colors.MAUVE,
strong: colors.MAUVE,
subtle: colors.MAUVE
},
accents: {
primary: colors.MAUVE
},

View File

@@ -43,6 +43,13 @@ const darkMonochromeTheme = {
textLink: colors.TEXT_LINK,
bg: colors.BG,
primary: {
solid: colors.BRAND,
text: colors.BRAND,
strong: colors.BRAND,
subtle: colors.BRAND
},
accents: {
primary: colors.BRAND
},

View File

@@ -64,6 +64,13 @@ const darkPastelTheme = {
textLink: colors.TEXT_LINK,
bg: colors.BG,
primary: {
solid: colors.BRAND,
text: colors.BRAND,
strong: colors.BRAND,
subtle: colors.BRAND
},
accents: {
primary: colors.BRAND
},

View File

@@ -63,6 +63,13 @@ const nordTheme = {
textLink: colors.TEXT_LINK,
bg: colors.BG,
primary: {
solid: colors.BRAND,
text: colors.BRAND,
strong: colors.BRAND,
subtle: colors.BRAND
},
accents: {
primary: colors.BRAND
},

View File

@@ -65,6 +65,13 @@ const vscodeDarkTheme = {
textLink: colors.TEXT_LINK,
bg: colors.EDITOR_BG,
primary: {
solid: colors.BRAND,
text: colors.TEXT_LINK,
strong: '#0098ff',
subtle: '#005a9e'
},
accents: {
primary: colors.BRAND
},

View File

@@ -56,6 +56,13 @@ const catppuccinLatteTheme = {
textLink: colors.BLUE,
bg: colors.BASE,
primary: {
solid: colors.MAUVE,
text: colors.MAUVE,
strong: colors.MAUVE,
subtle: colors.MAUVE
},
accents: {
primary: colors.MAUVE
},

View File

@@ -44,6 +44,13 @@ const lightMonochromeTheme = {
textLink: colors.TEXT_LINK,
bg: colors.BACKGROUND,
primary: {
solid: colors.BRAND,
text: colors.BRAND,
strong: colors.BRAND,
subtle: colors.BRAND
},
accents: {
primary: colors.BRAND
},

View File

@@ -62,6 +62,13 @@ const lightPastelTheme = {
textLink: colors.TEXT_LINK,
bg: colors.BACKGROUND,
primary: {
solid: colors.BRAND,
text: colors.BRAND,
strong: colors.BRAND,
subtle: colors.BRAND
},
accents: {
primary: colors.BRAND
},

View File

@@ -66,6 +66,13 @@ const vscodeLightTheme = {
textLink: colors.TEXT_LINK,
bg: colors.EDITOR_BG,
primary: {
solid: colors.BRAND,
text: colors.TEXT_LINK,
strong: '#0078d4',
subtle: '#4da6ff'
},
accents: {
primary: colors.BRAND
},

View File

@@ -7,6 +7,18 @@ export const ossSchema = {
textLink: { type: 'string', description: 'Link text color' },
bg: { type: 'string', description: 'Background color' },
primary: {
type: 'object',
properties: {
solid: { type: 'string', description: 'Buttons, toggles, active pills' },
text: { type: 'string', description: 'Links, emphasized text' },
strong: { type: 'string', description: 'Thick borders, tab underlines' },
subtle: { type: 'string', description: 'Focus rings, subtle outlines' }
},
required: ['solid', 'text', 'strong', 'subtle'],
additionalProperties: false
},
accents: {
type: 'object',
properties: {
@@ -1114,7 +1126,7 @@ export const ossSchema = {
}
},
required: [
'mode', 'brand', 'text', 'textLink', 'bg', 'accents', 'background', 'overlay', 'font', 'shadow', 'border', 'colors', 'input',
'mode', 'brand', 'text', 'textLink', 'bg', 'primary', 'accents', 'background', 'overlay', 'font', 'shadow', 'border', 'colors', 'input',
'sidebar', 'dropdown', 'workspace', 'request',
'requestTabPanel', 'notifications', 'modal', 'button', 'button2', 'tabs',
'requestTabs', 'codemirror', 'table', 'plainGrid', 'scrollbar', 'dragAndDrop',