-
Notifications
You must be signed in to change notification settings - Fork 77
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
[Panel] Add themeable tokens for corner-radius
#8675
Comments
corner-radius
and box-shadow
corner-radius
Installed and assigned for verification. |
🍡 Verified locally on |
Installed and assigned for verification. |
@macandcheese the token for changing the |
@DitwanP can you share a Codepen with the above? We might need to adjust something... |
Thanks - we'll want to handle that ... I think we can make sure the component clips, without necessarily adding a default box shadow or border. Could you re-open this and assign it back to me? |
@macandcheese One other small thing to change, the description of of the calcite-design-system/packages/calcite-components/src/components/panel/panel.scss Line 12 in 787f3a7
|
Because the :host element is flex displayed, and the panel itself doesn't have css props for box-shadow or border) - this will occur anytime a user sets border or box-shadow directly on the element. There are a few approaches we could take here...
Thoughts on best approach @alisonailea @jcfranco ? |
Though not ideal, a workaround for now is to also set a border-radius on the element itself.
|
Check existing issues
Description
Panel should support overriding the default
corner-radius
css property, which should be set to "sharp" to maintain its current default.Acceptance Criteria
Panel has
--calcite-panel-corner-radius
css property that defaults to the semantic "sharp" valueRelevant Info
Panel is often used as a layout container outside a parent like Shell Panel. In these cases, a theming story may include adding a rounded corner value.
Which Component
Panel
Example Use Case
Priority impact
p3 - want for upcoming milestone
Calcite package
Esri team
Calcite (design)
The text was updated successfully, but these errors were encountered: