Repository navigation
feat: update primary colors in schema - #6552
Conversation
|
Caution Review failedThe pull request is closed. WalkthroughThis PR adds a new Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Suggested labels
Suggested reviewers
Poem
✨ Finishing touches
📜 Recent review detailsConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro 📒 Files selected for processing (12)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Pull request overview
This PR introduces a new primary color object structure to the theme schema and implements it across all theme files. The primary object provides granular color specifications for different UI element states (solid, text, strong, subtle) to improve theming consistency and flexibility.
- Added
primaryobject definition to the OSS schema with four required properties (solid, text, strong, subtle) - Updated the schema's required fields array to include 'primary'
- Implemented the primary color structure in all 11 theme configuration files
Reviewed changes
Copilot reviewed 12 out of 12 changed files in this pull request and generated 8 comments.
Show a summary per file
| File | Description |
|---|---|
| packages/bruno-app/src/themes/schema/oss.js | Defines the new primary color object structure in the schema and adds it to required fields |
| packages/bruno-app/src/themes/light/vscode.js | Implements primary colors with distinct values for each property |
| packages/bruno-app/src/themes/light/light-pastel.js | Implements primary colors using brand color for all properties |
| packages/bruno-app/src/themes/light/light-monochrome.js | Implements primary colors using brand color for all properties |
| packages/bruno-app/src/themes/light/catppuccin-latte.js | Implements primary colors using mauve for all properties |
| packages/bruno-app/src/themes/dark/vscode.js | Implements primary colors with distinct values for each property |
| packages/bruno-app/src/themes/dark/nord.js | Implements primary colors using brand color for all properties |
| packages/bruno-app/src/themes/dark/dark-pastel.js | Implements primary colors using brand color for all properties |
| packages/bruno-app/src/themes/dark/dark-monochrome.js | Implements primary colors using brand color for all properties |
| packages/bruno-app/src/themes/dark/catppuccin-mocha.js | Implements primary colors using mauve for all properties |
| packages/bruno-app/src/themes/dark/catppuccin-macchiato.js | Implements primary colors using mauve for all properties |
| packages/bruno-app/src/themes/dark/catppuccin-frappe.js | Implements primary colors using mauve for all properties |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
|
||
| primary: { | ||
| solid: colors.BRAND, | ||
| text: colors.BRAND, |
There was a problem hiding this comment.
The primary.text property should likely use colors.TEXT_LINK instead of colors.BRAND to align with the schema description "Links, emphasized text" and match the textLink property defined above. The VSCode theme implementations use this pattern consistently.
| text: colors.BRAND, | |
| text: colors.TEXT_LINK, |
|
|
||
| primary: { | ||
| solid: colors.MAUVE, | ||
| text: colors.MAUVE, |
There was a problem hiding this comment.
The primary.text property should likely use colors.BLUE instead of colors.MAUVE to align with the schema description "Links, emphasized text" and match the textLink property defined above. The VSCode theme implementations use this pattern consistently.
| text: colors.MAUVE, | |
| text: colors.BLUE, |
|
|
||
| primary: { | ||
| solid: colors.BRAND, | ||
| text: colors.BRAND, |
There was a problem hiding this comment.
The primary.text property should likely use colors.TEXT_LINK instead of colors.BRAND to align with the schema description "Links, emphasized text" and match the textLink property defined above. The VSCode theme implementations use this pattern consistently.
| text: colors.BRAND, | |
| text: colors.TEXT_LINK, |
|
|
||
| primary: { | ||
| solid: colors.BRAND, | ||
| text: colors.BRAND, |
There was a problem hiding this comment.
The primary.text property should likely use colors.TEXT_LINK instead of colors.BRAND to align with the schema description "Links, emphasized text" and match the textLink property defined above. The VSCode theme implementations use this pattern consistently.
| text: colors.BRAND, | |
| text: colors.TEXT_LINK, |
|
|
||
| primary: { | ||
| solid: colors.MAUVE, | ||
| text: colors.MAUVE, |
There was a problem hiding this comment.
The primary.text property should likely use colors.BLUE instead of colors.MAUVE to align with the schema description "Links, emphasized text" and match the textLink property defined above. The VSCode theme implementations use this pattern consistently.
| text: colors.MAUVE, | |
| text: colors.BLUE, |
|
|
||
| primary: { | ||
| solid: colors.MAUVE, | ||
| text: colors.MAUVE, |
There was a problem hiding this comment.
The primary.text property should likely use colors.BLUE instead of colors.MAUVE to align with the schema description "Links, emphasized text" and match the textLink property defined above. The VSCode theme implementations use this pattern consistently.
| text: colors.MAUVE, | |
| text: colors.BLUE, |
|
|
||
| primary: { | ||
| solid: colors.MAUVE, | ||
| text: colors.MAUVE, |
There was a problem hiding this comment.
The primary.text property should likely use colors.BLUE instead of colors.MAUVE to align with the schema description "Links, emphasized text" and match the textLink property defined above. The VSCode theme implementations use this pattern consistently.
| text: colors.MAUVE, | |
| text: colors.BLUE, |
|
|
||
| primary: { | ||
| solid: colors.BRAND, | ||
| text: colors.BRAND, |
There was a problem hiding this comment.
The primary.text property should likely use colors.TEXT_LINK instead of colors.BRAND to align with the schema description "Links, emphasized text" and match the textLink property defined above. The VSCode theme implementations use this pattern consistently.
| text: colors.BRAND, | |
| text: colors.TEXT_LINK, |
…lors feat: update primary colors in schema
update primary colors in schema
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.