We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
My Telegram MiniApp supports only light theme. I set appearance="light" in AppRoot.
appearance="light"
<AppRoot platform="base" appearance="light"> <MyApp /> </AppRoot>
but when I open my app in Telegram on device with dark mode, components are dark because --tgui--bg_color defined as --tg-theme-bg-color:
--tgui--bg_color
--tg-theme-bg-color
TelegramUI/src/components/Service/AppRoot/AppRoot.module.css
Line 38 in 551a22f
Can you add an option to force light or dark theme in my app by ignoring css variables from telegram miniapps api?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
My Telegram MiniApp supports only light theme.
I set
appearance="light"
in AppRoot.but when I open my app in Telegram on device with dark mode, components are dark because
--tgui--bg_color
defined as--tg-theme-bg-color
:TelegramUI/src/components/Service/AppRoot/AppRoot.module.css
Line 38 in 551a22f
Can you add an option to force light or dark theme in my app by ignoring css variables from telegram miniapps api?
The text was updated successfully, but these errors were encountered: