-
Notifications
You must be signed in to change notification settings - Fork 3.3k
[WEB-5911] fix: error outline button text color #8531
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: preview
Are you sure you want to change the base?
Conversation
📝 WalkthroughWalkthroughUpdates styling and design tokens across the component library: button variant text color changed from danger-primary to danger-secondary, border-danger-strong color token updated to use darker red values, and heading text size tokens adjusted for h5 and h6 typography families. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 inconclusive)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
📜 Recent review detailsConfiguration used: defaults Review profile: CHILL Plan: Pro 📒 Files selected for processing (2)
🧰 Additional context used📓 Path-based instructions (4)**/*.{ts,tsx,mts,cts}📄 CodeRabbit inference engine (.github/instructions/typescript.instructions.md)
Files:
**/*.{ts,tsx}📄 CodeRabbit inference engine (AGENTS.md)
Files:
**/*.{js,jsx,ts,tsx,json,css}📄 CodeRabbit inference engine (AGENTS.md)
Files:
**/*.{js,jsx,ts,tsx}📄 CodeRabbit inference engine (AGENTS.md)
Files:
🧠 Learnings (11)📓 Common learnings📚 Learning: 2025-12-17T10:58:59.591ZApplied to files:
📚 Learning: 2025-12-17T10:58:59.591ZApplied to files:
📚 Learning: 2025-12-17T10:58:59.591ZApplied to files:
📚 Learning: 2025-12-17T10:58:59.591ZApplied to files:
📚 Learning: 2025-12-17T10:58:59.591ZApplied to files:
📚 Learning: 2025-12-17T10:58:59.591ZApplied to files:
📚 Learning: 2025-12-17T10:58:59.591ZApplied to files:
📚 Learning: 2025-12-17T10:58:59.591ZApplied to files:
📚 Learning: 2025-12-17T10:58:59.591ZApplied to files:
📚 Learning: 2025-12-17T10:58:59.591ZApplied to files:
🪛 Biome (2.1.2)packages/tailwind-config/variables.css[error] 1062-1062: expected Remove --text-h5-regular (parse) [error] 1062-1062: expected Remove ( (parse) [error] 1062-1062: expected Remove --text-18 (parse) [error] 1062-1062: expected Remove ) (parse) [error] 1063-1063: expected Remove --text-h5-regular--line-height (parse) [error] 1063-1063: Unexpected value or character. Expected one of: (parse) [error] 1064-1064: expected Remove --text-h5-regular--letter-spacing (parse) [error] 1064-1064: expected Remove ( (parse) [error] 1064-1064: expected Remove --tracking-default (parse) [error] 1064-1064: expected Remove ) (parse) [error] 1065-1065: expected Remove --text-h5-regular--font-weight (parse) [error] 1065-1065: expected Remove ( (parse) [error] 1065-1065: expected Remove --font-weight-regular (parse) [error] 1065-1065: expected Remove ) (parse) [error] 1067-1067: expected Remove --text-h5-medium (parse) [error] 1067-1067: expected Remove ( (parse) [error] 1067-1067: expected Remove --text-18 (parse) [error] 1067-1067: expected Remove ) (parse) [error] 1068-1068: expected Remove --text-h5-medium--line-height (parse) [error] 1068-1068: Unexpected value or character. Expected one of: (parse) [error] 1069-1069: expected Remove --text-h5-medium--letter-spacing (parse) [error] 1069-1069: expected Remove ( (parse) [error] 1069-1069: expected Remove --tracking-default (parse) [error] 1069-1069: expected Remove ) (parse) [error] 1070-1070: expected Remove --text-h5-medium--font-weight (parse) [error] 1070-1070: expected Remove ( (parse) [error] 1070-1070: expected Remove --font-weight-medium (parse) [error] 1070-1070: expected Remove ) (parse) [error] 1072-1072: expected Remove --text-h5-semibold (parse) [error] 1072-1072: expected Remove ( (parse) [error] 1072-1072: expected Remove --text-18 (parse) [error] 1072-1072: expected Remove ) (parse) [error] 1073-1073: expected Remove --text-h5-semibold--line-height (parse) [error] 1073-1073: Unexpected value or character. Expected one of: (parse) [error] 1074-1074: expected Remove --text-h5-semibold--letter-spacing (parse) [error] 1074-1074: expected Remove ( (parse) [error] 1074-1074: expected Remove --tracking-default (parse) [error] 1074-1074: expected Remove ) (parse) [error] 1075-1075: expected Remove --text-h5-semibold--font-weight (parse) [error] 1075-1075: expected Remove ( (parse) [error] 1075-1075: expected Remove --font-weight-semibold (parse) [error] 1075-1075: expected Remove ) (parse) [error] 1077-1077: expected Remove --text-h5-bold (parse) [error] 1077-1077: expected Remove ( (parse) [error] 1077-1077: expected Remove --text-18 (parse) [error] 1077-1077: expected Remove ) (parse) [error] 1078-1078: expected Remove --text-h5-bold--line-height (parse) [error] 1078-1078: Unexpected value or character. Expected one of: (parse) [error] 1079-1079: expected Remove --text-h5-bold--letter-spacing (parse) [error] 1079-1079: expected Remove ( (parse) [error] 1079-1079: expected Remove --tracking-default (parse) [error] 1079-1079: expected Remove ) (parse) [error] 1080-1080: expected Remove --text-h5-bold--font-weight (parse) [error] 1080-1080: expected Remove ( (parse) [error] 1080-1080: expected Remove --font-weight-bold (parse) [error] 1080-1080: expected Remove ) (parse) [error] 1082-1082: expected Remove --text-h6-regular (parse) [error] 1082-1082: expected Remove ( (parse) [error] 1082-1082: expected Remove --text-16 (parse) [error] 1082-1082: expected Remove ) (parse) [error] 1083-1083: expected Remove --text-h6-regular--line-height (parse) [error] 1083-1083: Unexpected value or character. Expected one of: (parse) [error] 1084-1084: expected Remove --text-h6-regular--letter-spacing (parse) [error] 1084-1084: expected Remove ( (parse) [error] 1084-1084: expected Remove --tracking-default (parse) [error] 1084-1084: expected Remove ) (parse) [error] 1085-1085: expected Remove --text-h6-regular--font-weight (parse) [error] 1085-1085: expected Remove ( (parse) [error] 1085-1085: expected Remove --font-weight-regular (parse) [error] 1085-1085: expected Remove ) (parse) [error] 1087-1087: expected Remove --text-h6-medium (parse) [error] 1087-1087: expected Remove ( (parse) [error] 1087-1087: expected Remove --text-16 (parse) [error] 1087-1087: expected Remove ) (parse) [error] 1088-1088: expected Remove --text-h6-medium--line-height (parse) [error] 1088-1088: Unexpected value or character. Expected one of: (parse) [error] 1089-1089: expected Remove --text-h6-medium--letter-spacing (parse) [error] 1089-1089: expected Remove ( (parse) [error] 1089-1089: expected Remove --tracking-default (parse) [error] 1089-1089: expected Remove ) (parse) [error] 1090-1090: expected Remove --text-h6-medium--font-weight (parse) [error] 1090-1090: expected Remove ( (parse) [error] 1090-1090: expected Remove --font-weight-medium (parse) [error] 1090-1090: expected Remove ) (parse) [error] 1092-1092: expected Remove --text-h6-semibold (parse) [error] 1092-1092: expected Remove ( (parse) [error] 1092-1092: expected Remove --text-16 (parse) [error] 1092-1092: expected Remove ) (parse) [error] 1093-1093: expected Remove --text-h6-semibold--line-height (parse) [error] 1093-1093: Unexpected value or character. Expected one of: (parse) [error] 1094-1094: expected Remove --text-h6-semibold--letter-spacing (parse) [error] 1094-1094: expected Remove ( (parse) [error] 1094-1094: expected Remove --tracking-default (parse) [error] 1094-1094: expected Remove ) (parse) [error] 1095-1095: expected Remove --text-h6-semibold--font-weight (parse) [error] 1095-1095: expected Remove ( (parse) [error] 1095-1095: expected Remove --font-weight-semibold (parse) [error] 1095-1095: expected Remove ) (parse) [error] 1097-1097: expected Remove --text-h6-bold (parse) [error] 1097-1097: expected Remove ( (parse) [error] 1097-1097: expected Remove --text-16 (parse) [error] 1097-1097: expected Remove ) (parse) [error] 1062-1062: Unexpected unknown pseudo-class var See MDN web docs for more details. (lint/correctness/noUnknownPseudoClass) [error] 1064-1064: Unexpected unknown pseudo-class var See MDN web docs for more details. (lint/correctness/noUnknownPseudoClass) [error] 1065-1065: Unexpected unknown pseudo-class var See MDN web docs for more details. (lint/correctness/noUnknownPseudoClass) [error] 1067-1067: Unexpected unknown pseudo-class var See MDN web docs for more details. (lint/correctness/noUnknownPseudoClass) [error] 1069-1069: Unexpected unknown pseudo-class var See MDN web docs for more details. (lint/correctness/noUnknownPseudoClass) [error] 1070-1070: Unexpected unknown pseudo-class var See MDN web docs for more details. (lint/correctness/noUnknownPseudoClass) [error] 1072-1072: Unexpected unknown pseudo-class var See MDN web docs for more details. (lint/correctness/noUnknownPseudoClass) [error] 1074-1074: Unexpected unknown pseudo-class var See MDN web docs for more details. (lint/correctness/noUnknownPseudoClass) [error] 1075-1075: Unexpected unknown pseudo-class var See MDN web docs for more details. (lint/correctness/noUnknownPseudoClass) [error] 1077-1077: Unexpected unknown pseudo-class var See MDN web docs for more details. (lint/correctness/noUnknownPseudoClass) [error] 1079-1079: Unexpected unknown pseudo-class var See MDN web docs for more details. (lint/correctness/noUnknownPseudoClass) [error] 1080-1080: Unexpected unknown pseudo-class var See MDN web docs for more details. (lint/correctness/noUnknownPseudoClass) [error] 1082-1082: Unexpected unknown pseudo-class var See MDN web docs for more details. (lint/correctness/noUnknownPseudoClass) [error] 1084-1084: Unexpected unknown pseudo-class var See MDN web docs for more details. (lint/correctness/noUnknownPseudoClass) [error] 1085-1085: Unexpected unknown pseudo-class var See MDN web docs for more details. (lint/correctness/noUnknownPseudoClass) [error] 1087-1087: Unexpected unknown pseudo-class var See MDN web docs for more details. (lint/correctness/noUnknownPseudoClass) [error] 1089-1089: Unexpected unknown pseudo-class var See MDN web docs for more details. (lint/correctness/noUnknownPseudoClass) [error] 1090-1090: Unexpected unknown pseudo-class var See MDN web docs for more details. (lint/correctness/noUnknownPseudoClass) [error] 1092-1092: Unexpected unknown pseudo-class var See MDN web docs for more details. (lint/correctness/noUnknownPseudoClass) [error] 1094-1094: Unexpected unknown pseudo-class var See MDN web docs for more details. (lint/correctness/noUnknownPseudoClass) [error] 1095-1095: Unexpected unknown pseudo-class var See MDN web docs for more details. (lint/correctness/noUnknownPseudoClass) [error] 1097-1097: Unexpected unknown pseudo-class var See MDN web docs for more details. (lint/correctness/noUnknownPseudoClass) ⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (4)
🔇 Additional comments (3)
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 |
|
Linked to Plane Work Item(s) This comment was auto-generated by Plane |
There was a problem hiding this 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 pull request updates error-related button styling and typography sizes in the design system. The main changes include updating text color for error outline buttons and adjusting border colors for dark mode, along with undocumented typography size increases.
Changes:
- Updated error outline button text color from danger-primary to danger-secondary for better visual consistency with border colors
- Changed border-danger-strong color in dark mode from red-400 to red-700 to match light mode
- Increased h5 heading font sizes from 16px to 18px and h6 from 14px to 16px (not mentioned in PR description)
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| packages/tailwind-config/variables.css | Updated border-danger-strong color for dark mode and increased h5/h6 typography sizes |
| packages/propel/src/button/helper.tsx | Changed error-outline button text color to text-danger-secondary and fixed whitespace formatting |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| --text-h5-regular: var(--text-18); | ||
| --text-h5-regular--line-height: 1.2; | ||
| --text-h5-regular--letter-spacing: var(--tracking-default); | ||
| --text-h5-regular--font-weight: var(--font-weight-regular); | ||
|
|
||
| --text-h5-medium: var(--text-16); | ||
| --text-h5-medium: var(--text-18); | ||
| --text-h5-medium--line-height: 1.2; | ||
| --text-h5-medium--letter-spacing: var(--tracking-default); | ||
| --text-h5-medium--font-weight: var(--font-weight-medium); | ||
|
|
||
| --text-h5-semibold: var(--text-16); | ||
| --text-h5-semibold: var(--text-18); | ||
| --text-h5-semibold--line-height: 1.2; | ||
| --text-h5-semibold--letter-spacing: var(--tracking-default); | ||
| --text-h5-semibold--font-weight: var(--font-weight-semibold); | ||
|
|
||
| --text-h5-bold: var(--text-16); | ||
| --text-h5-bold: var(--text-18); | ||
| --text-h5-bold--line-height: 1.2; | ||
| --text-h5-bold--letter-spacing: var(--tracking-default); | ||
| --text-h5-bold--font-weight: var(--font-weight-bold); | ||
|
|
||
| --text-h6-regular: var(--text-14); | ||
| --text-h6-regular: var(--text-16); | ||
| --text-h6-regular--line-height: 1.2; | ||
| --text-h6-regular--letter-spacing: var(--tracking-default); | ||
| --text-h6-regular--font-weight: var(--font-weight-regular); | ||
|
|
||
| --text-h6-medium: var(--text-14); | ||
| --text-h6-medium: var(--text-16); | ||
| --text-h6-medium--line-height: 1.2; | ||
| --text-h6-medium--letter-spacing: var(--tracking-default); | ||
| --text-h6-medium--font-weight: var(--font-weight-medium); | ||
|
|
||
| --text-h6-semibold: var(--text-14); | ||
| --text-h6-semibold: var(--text-16); | ||
| --text-h6-semibold--line-height: 1.2; | ||
| --text-h6-semibold--letter-spacing: var(--tracking-default); | ||
| --text-h6-semibold--font-weight: var(--font-weight-semibold); | ||
|
|
||
| --text-h6-bold: var(--text-14); | ||
| --text-h6-bold: var(--text-16); |
Copilot
AI
Jan 12, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The typography size changes for h5 (from text-16 to text-18) and h6 (from text-14 to text-16) heading variants are not mentioned in the PR description. The PR description only mentions updating text color for error outline button and border danger primary value for dark mode. These typography changes represent a significant design system update that could affect many components across the application and should be explicitly documented in the PR description.
Description
This PR-
Type of Change
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.