Skip to content

De-duplicate CSS vars and tokens#137

Merged
mikhin merged 1 commit intomainfrom
dedupe-theme-tokens
Feb 13, 2026
Merged

De-duplicate CSS vars and tokens#137
mikhin merged 1 commit intomainfrom
dedupe-theme-tokens

Conversation

@gVguy
Copy link
Copy Markdown
Contributor

@gVguy gVguy commented Feb 12, 2026

This PR de-duplicates some accidentally repeated CSS variables and token names in theme.css and theme/index.ts

@gVguy gVguy force-pushed the dedupe-theme-tokens branch from 37f027d to e4ca0c1 Compare February 12, 2026 17:57
@mikhin mikhin requested review from Copilot, mikhin and whanou and removed request for Copilot, mikhin and whanou February 13, 2026 08:46
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR removes accidentally duplicated CSS variable declarations and token names from the AgentPrism theme configuration. The duplications were purely accidental repetitions of the same content with no functional difference.

Changes:

  • Removed duplicate --agentprism-primary and --agentprism-primary-foreground CSS variable declarations in both light and dark mode media queries
  • Removed duplicate "primary" and "primary-foreground" entries from the AGENT_PRISM_TOKENS array

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
packages/ui/src/components/theme/theme.css Removed duplicate CSS variable declarations for primary and primary-foreground in both light mode (lines 6-7) and dark mode (lines 128-129) sections
packages/ui/src/components/theme/index.ts Removed duplicate entries for "primary" and "primary-foreground" from the AGENT_PRISM_TOKENS array

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@mikhin mikhin merged commit a411316 into main Feb 13, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants