Closed mrLexx closed 2 months ago
Wrong "dark" bg color on TeleghramDesktop:
My code:
<List style={{ background: 'var(--tgui--secondary_bg_color)', }} > <Section footer="The official Telegram app is available for Android, iPhone, iPad, Windows, macOS and Linux." header="Main Settings" style={{ background: 'var(--tgui--secondary_bg_color)', }} > <Cell before={<IconContainer><Icon28Chat /></IconContainer>}> Chat Settings </Cell> <Cell before={<IconContainer><Icon28Devices /></IconContainer>}> Data and Storage </Cell> <Cell before={<IconContainer><Icon28Stats /></IconContainer>}> Devices </Cell> </Section> </List>
Temporary solution
https://github.com/Telegram-Mini-Apps/tma.js/issues/285
Wrong "dark" bg color on TeleghramDesktop:
My code: