Skip to content
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

[system] sx field border{Block,Inline}{,Start,End}Color doesn't take the theme into account #42347

Open
chelproc opened this issue May 23, 2024 · 0 comments
Assignees
Labels
customization: theme Centered around the theming features new feature New feature or request package: system Specific to @mui/system

Comments

@chelproc
Copy link
Contributor

chelproc commented May 23, 2024

Summary

Using divider for the sx field borderBlockStartColor does not update to the correct color in the theme. It simply is rendered as `"divider"

The following sx properties should be listed in /packages/mui-system/src/styleFunctionSx/defaultSxConfig.js

  • borderBlockColor
  • borderBlockStartColor
  • borderBlockEndColor
  • borderInlineColor
  • borderInlineStartColor
  • borderInlineEndColor

Related issues/PRs:

Examples

No response

Motivation

Using block/inline properties is now considered more accessible than top/bottom/left/right properties.

Search keywords: border,color,borderBlockStartColor

@chelproc chelproc added the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label May 23, 2024
@zannager zannager added the package: system Specific to @mui/system label May 23, 2024
@siriwatknp siriwatknp added new feature New feature or request customization: css Design CSS customizability customization: theme Centered around the theming features and removed status: waiting for maintainer These issues haven't been looked at yet by a maintainer customization: css Design CSS customizability labels Aug 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
customization: theme Centered around the theming features new feature New feature or request package: system Specific to @mui/system
Projects
None yet
Development

No branches or pull requests

4 participants