Skip to content

Commit

Permalink
docs: add note about overriding force-dark functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
lukewalczak committed Jan 23, 2023
1 parent 8ef6476 commit 1329ae1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/pages/2.theming.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ import DynamicColorTheme from './src/components/DynamicColorTheme.js'

# Theming

<b>Note:</b> To observe changes related to switching between light and dark mode in the app, ensure that the <i>"Override force-dark"</i> feature in the <i>"developer options"</i> settings on your Android device is <b>not overridden</b>.

## Applying a theme to the whole app

To support custom themes, paper exports a `Provider` component. You need to wrap your root component with the provider to be able to support themes:
Expand Down

0 comments on commit 1329ae1

Please sign in to comment.