diff --git a/docs/workspace/imgs/dark-mode-toggle.avif b/docs/workspace/imgs/dark-mode-toggle.avif new file mode 100644 index 0000000..7bc79f7 Binary files /dev/null and b/docs/workspace/imgs/dark-mode-toggle.avif differ diff --git a/docs/workspace/imgs/theme-panel.avif b/docs/workspace/imgs/theme-panel.avif index 83fbef0..f051d9f 100644 Binary files a/docs/workspace/imgs/theme-panel.avif and b/docs/workspace/imgs/theme-panel.avif differ diff --git a/docs/workspace/imgs/typography-section.avif b/docs/workspace/imgs/typography-section.avif new file mode 100644 index 0000000..670c01d Binary files /dev/null and b/docs/workspace/imgs/typography-section.avif differ diff --git a/docs/workspace/modules-panel/theme.md b/docs/workspace/modules-panel/theme.md index a20acf5..9834e15 100644 --- a/docs/workspace/modules-panel/theme.md +++ b/docs/workspace/modules-panel/theme.md @@ -9,70 +9,25 @@ keywords: [dreamflow theme, app theme, dark mode, light mode, colors, typography # 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. +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, style, and size 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. You can navigate to the Theme panel by clicking the theme button in the left side rail. Values defined in your Theme panel are accessible within the property editor. For example, theme colors are accessible in the color picker when setting a color property.  -## Colors - -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. You can edit the values for each of these in the Theme Panel and see the values updated in realtime in the preview. - -::: - -### Dark Mode +The Theme module is **powered by AI** and works directly with your existing theme code. It doesn’t require a specific structure or strict patterns. Whether you’re using standard Material themes, custom theme classes, or your own organization style, the Theme panel understands it and provides type-aware editors for colors, typography, and style values. -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. +When you update your theme files, the Theme module automatically refreshes to reflect those changes, so everything stays in sync. -:::info -When you switch modes, Dreamflow automatically applies the corresponding color palettes, allowing you to check readability, contrast, and overall aesthetics in real time. ::: -