chore: Update WDS outline buttons subtlety#39696
Conversation
WalkthroughThis change introduces subtle variations for border colors across both dark and light themes. New methods and properties have been added to the theme classes to compute a slightly modified version of the base border colors by adjusting lightness and chroma values. Additionally, the color interface is updated to include these properties, and the button component CSS now uses the subtle color variant for its outline. Changes
Sequence Diagram(s)sequenceDiagram
participant UI as UI Component
participant TM as Theme Manager
participant Theme as Theme (Dark/Light)
UI->>TM: Request color palette
TM->>Theme: invoke getColors()
Theme-->>TM: Return palette (standard + subtle colors)
TM->>UI: Provide palette for component styling
UI->>UI: Apply subtle border styles using CSS
Possibly related PRs
Suggested labels
Suggested reviewers
Poem
📜 Recent review detailsConfiguration used: .coderabbit.yaml 📒 Files selected for processing (2)
⏰ Context from checks skipped due to timeout of 90000ms (7)
🔇 Additional comments (10)
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
Documentation and Community
|
## Description Subtler borders to align better with the proposed design for FC. | Before | After | |--------|--------| |  |  | ## Automation /ok-to-test tags="@tag.Sanity" ### 🔍 Cypress test results <!-- This is an auto-generated comment: Cypress test results --> > [!TIP] > 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉 > Workflow run: <https://github.com/appsmithorg/appsmith/actions/runs/13815728571> > Commit: d01d374 > <a href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=13815728571&attempt=1" target="_blank">Cypress dashboard</a>. > Tags: `@tag.Sanity` > Spec: > <hr>Wed, 12 Mar 2025 16:33:43 UTC <!-- end of auto-generated comment: Cypress test results --> ## Communication Should the DevRel and Marketing teams inform users about this change? - [ ] Yes - [x] No <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Introduced additional, nuanced border color variants for both dark and light themes, providing refined color distinctions across accent, neutral, positive, negative, and warning elements. - **Style** - Updated outlined button styling to utilize the new subtle color variations, enhancing the overall visual polish and clarity of UI elements. - **Bug Fixes** - Adjusted expected output values for the `bgNeutralHover` color in test cases to reflect updated RGB values under various conditions. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
Description
Subtler borders to align better with the proposed design for FC.
Automation
/ok-to-test tags="@tag.Sanity"
🔍 Cypress test results
Tip
🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉
Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/13815728571
Commit: d01d374
Cypress dashboard.
Tags:
@tag.SanitySpec:
Wed, 12 Mar 2025 16:33:43 UTC
Communication
Should the DevRel and Marketing teams inform users about this change?
Summary by CodeRabbit
New Features
Style
Bug Fixes
bgNeutralHovercolor in test cases to reflect updated RGB values under various conditions.