diff --git a/docs/workspace/modules-panel/theme.md b/docs/workspace/modules-panel/theme.md index ec78cbf..3d66ef2 100644 --- a/docs/workspace/modules-panel/theme.md +++ b/docs/workspace/modules-panel/theme.md @@ -1,10 +1,90 @@ --- slug: /workspace/theme title: Theme -# description: -# tags: -sidebar_position: 2 -# keywords: +description: Learn how to manage colors, typography, and style constants in Dreamflow’s Theme panel to create a consistent, cohesive design across your app. +tags: [theme, dreamflow, flutter] +sidebar_position: 3 +keywords: [dreamflow theme, app theme, dark mode, light mode, colors, typography, style] --- -# Theme \ No newline at end of file + +# Theme +The **Theme** panel in Dreamflow provides a centralized way to manage the visual identity of your app. Instead of hardcoding styles in multiple places, you can define colors, typography, and style values once and reuse them consistently across your project. This ensures your app maintains a polished, cohesive look while making design updates faster and easier. + +## Colors + +Colors define the overall mood and branding of your app. In Dreamflow, colors are grouped into three categories: + +- **Brand Colors**: Represent your brand’s primary palette (e.g., primary, secondary, accent). Use these to give your app its unique identity. +- **Utility Colors**: These are functional colors that support layout and contrast. +- **Semantic Colors**: Contextual colors that represent meaning within the app for states like errors or warnings. + +:::info + +Each brand color includes a **hex value** (e.g., `#7C4DFF`) and an **opacity setting** so you can fine-tune how they appear in your design. + +::: + +### Dark Mode + +Dreamflow makes it easy to design and preview your app in both **Light Mode** and **Dark Mode**. In the Theme panel, you can select **Dark Mode** from the dropdown. Set your colors for dark mode, then switch the mode in the Preview canvas to instantly see your design in action. + +:::info +When you switch modes, Dreamflow automatically applies the corresponding color palettes, allowing you to check readability, contrast, and overall aesthetics in real time. +::: + +