You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current Behavior
If I have activated the dark mode in the system, but force the light mode in the application with <body data-mode="light">, the text color is still white.
If I remove the data-mode attribute and use the system settings, everything works fine.
The error only occurs with plain html/js, with vue js everything works as usual.
Expected Behavior
If I force the light mode, the light mode should also be used completely.
Desktop (please complete the following information):
OS: MacOS or Windows 11
Browser: chrome
Version: 120.0.6099.234
The text was updated successfully, but these errors were encountered:
hi @tk-network I just tested this and could not reproduce the issue. Just to make sure, do you have
body {
background-color: var(--telekom-color-background-canvas);
// this is needed to overwrite standard html elements text color
color: var(--telekom-color-text-and-icon-standard);
}
Scale Version
3.0.0-beta.147
Framework and version
plain html/js
Current Behavior
![Bildschirmfoto 2024-01-22 um 07 58 59](https://private-user-images.githubusercontent.com/93334942/298502295-057cc904-162e-4331-b53c-c6ae234658aa.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjE0MzgxMTUsIm5iZiI6MTcyMTQzNzgxNSwicGF0aCI6Ii85MzMzNDk0Mi8yOTg1MDIyOTUtMDU3Y2M5MDQtMTYyZS00MzMxLWI1M2MtYzZhZTIzNDY1OGFhLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MjAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzIwVDAxMTAxNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTFkODBhMTkzNjM4ZjFmNzRmY2UxODE4NTZiNmE0MzU3ODI1ODhiNWViMDYxYzc1NjY5MzliZTFmNjQxYTllYTMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.cT1TmdTCZszvGB1XYBw0_BahKw9Upq5ZKLnC2UaMRl0)
If I have activated the dark mode in the system, but force the light mode in the application with
<body data-mode="light">
, the text color is still white.If I remove the
data-mode
attribute and use the system settings, everything works fine.The error only occurs with plain html/js, with vue js everything works as usual.
Expected Behavior
If I force the light mode, the light mode should also be used completely.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: