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

-webkit-text-fill-color not working with MUI theme variable #45037

Open
angeloron opened this issue Jan 16, 2025 · 0 comments
Open

-webkit-text-fill-color not working with MUI theme variable #45037

angeloron opened this issue Jan 16, 2025 · 0 comments
Assignees
Labels
customization: theme Centered around the theming features status: waiting for maintainer These issues haven't been looked at yet by a maintainer

Comments

@angeloron
Copy link

angeloron commented Jan 16, 2025

Steps to reproduce

Steps:

  1. Use ThemeProvider and CssBaseline
  2. Try to use a Theme variable such as 'text.primary'

Image

Current behavior

It will display 'text.primary' as the value

Image

Expected behavior

In my case it should display "#FFFFFF" just like it does for the background-color in that example.

Context

No response

Your environment

npx @mui/envinfo
  System:
    OS: Windows 11 10.0.26100
  Binaries:
    Node: 20.18.0 - C:\Program Files\nodejs\node.EXE
    npm: 11.0.0 - ~\AppData\Roaming\npm\npm.CMD
    pnpm: 9.14.4 - ~\AppData\Roaming\npm\pnpm.CMD
  Browsers:
    Chrome: Not Found
    Edge: Chromium (130.0.2849.56) -- I used Edge
  npmPackages:
    @emotion/react: ^11 => 11.13.3
    @emotion/styled: ^11 => 11.13.0
    @mui/base:  5.0.0-beta.61
    @mui/core-downloads-tracker:  6.1.6
    @mui/icons-material: ^6 => 6.1.6
    @mui/lab:  6.0.0-beta.14
    @mui/material: ^6 => 6.1.6
    @mui/material-nextjs: ^6 => 6.1.6
    @mui/private-theming:  6.1.6
    @mui/styled-engine:  6.1.6
    @mui/system:  6.1.6
    @mui/types:  7.2.19
    @mui/utils:  6.1.6
    @mui/x-date-pickers: ^7.23.3 => 7.23.3
    @mui/x-internals:  7.23.0
    @toolpad/core: 0.9.0 => 0.9.0
    @toolpad/utils:  0.9.0
    @types/react: ^18 => 18.3.12
    react: ^18 => 18.3.1
    react-dom: ^18 => 18.3.1
    typescript: ^5 => 5.6.3

Search keywords: -webkit-text-fill-color theme

@angeloron angeloron added the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label Jan 16, 2025
@zannager zannager added the customization: theme Centered around the theming features label Jan 17, 2025
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 status: waiting for maintainer These issues haven't been looked at yet by a maintainer
Projects
None yet
Development

No branches or pull requests

3 participants