A framework for building native apps using React
Overall
score
100%
Evaluation — 100%
↑ 1.06xAgent success when using this tile
Build a settings screen component that adapts its appearance based on the device's color scheme (light or dark mode). The component should display user settings with appropriate styling that automatically updates when the system theme changes.
The component must detect the current system color scheme and apply appropriate colors:
Create a settings screen with the following elements:
The color scheme should follow these patterns:
@generates
/**
* A settings screen component that adapts to system color scheme
* @returns {React.Element} The themed settings screen component
*/
export default function ThemeSettings() {
// IMPLEMENTATION HERE
}Provides the mobile application framework with theme detection capabilities
Install with Tessl CLI
npx tessl i tessl/npm-react-native@1000.0.0docs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10