Skip to content

Commit

Permalink
chore(TesterApp): force light theme (#460)
Browse files Browse the repository at this point in the history
* chore(TesterApp): force light-theme in TesterApp

* chore: add changeset
  • Loading branch information
jbroma authored Nov 3, 2023
1 parent 8e174dd commit 8992399
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/chatty-windows-type.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"testerapp": patch
---

Force light theme in TesterApp
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
<resources>

<!-- Base application theme. -->
<style name="AppTheme" parent="Theme.AppCompat.DayNight.NoActionBar">
<style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar">
<!-- Customize your theme here. -->
<item name="android:editTextBackground">@drawable/rn_edit_text_material</item>
<item name="android:forceDarkAllowed">false</item>
</style>

</resources>
2 changes: 2 additions & 0 deletions packages/TesterApp/ios/TesterApp/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,7 @@
</array>
<key>UIViewControllerBasedStatusBarAppearance</key>
<false/>
<key>UIUserInterfaceStyle</key>
<string>Light</string>
</dict>
</plist>
3 changes: 3 additions & 0 deletions packages/TesterApp/src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import React from 'react';
import { Appearance } from 'react-native';

import { AppContainer } from './ui/AppContainer';
import { Section } from './ui/Section';
Expand All @@ -9,6 +10,8 @@ import { RemoteContainer } from './remoteChunks/RemoteContainer';
import { MiniAppsContainer } from './miniapp/MiniAppsContainer';
import { AssetsTestContainer } from './assetsTest/AssetsTestContainer';

Appearance.setColorScheme('light');

const App = () => {
return (
<AppContainer>
Expand Down

0 comments on commit 8992399

Please sign in to comment.