mui / mui/material-ui

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

Open
#42,347 0 comments 0 reactions 1 assignee View on GitHub

@brijeshb42 is already working on this.

Since May 23, 2024.

customization: theme scope: system type: new feature
Dominant language
JavaScript
Stars
99.1k
Forks
32.5k
Avg merge
2d 17h
Merged PRs (30d)
106

Description

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:

  • #39491
  • #33335
  • #39962
Examples

No response

Motivation

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

Search keywords: border,color,borderBlockStartColor

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.