You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: update README to reflect v1.4.0 features and fixes
Add missing idea node type (8 total), document theme system and
sub-module exports, fix createEndpointConfig signature, update CSS
token names to --fd-* prefix, fix CHANGELOG link path, and add
Storybook to dev commands.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@@ -104,6 +107,49 @@ FlowDrop ships with 7 beautifully designed node types:
104
107
<em>From simple triggers to complex branching logic, each node type is designed for specific workflow patterns.</em>
105
108
</p>
106
109
110
+
## Themes
111
+
112
+
FlowDrop includes a theme system with built-in light/dark support:
113
+
114
+
```svelte
115
+
<script lang="ts">
116
+
import { WorkflowEditor } from "@flowdrop/flowdrop";
117
+
import "@flowdrop/flowdrop/styles";
118
+
</script>
119
+
120
+
<!-- Built-in themes: 'default' or 'minimal' -->
121
+
<WorkflowEditor theme="minimal" />
122
+
```
123
+
124
+
Themes bundle a visual skin (CSS token palette) with behavioral UI defaults. You can also pass a custom theme object with your own skin tokens for full control over the light and dark palettes.
The recommended way to customize FlowDrop's appearance is through the [theme system](#themes). For fine-grained control, you can also override individual CSS custom properties:
195
239
196
240
```css
197
241
:root {
198
-
--flowdrop-background-color: #0a0a0a;
199
-
--flowdrop-primary-color: #6366f1;
200
-
--flowdrop-border-color: #27272a;
201
-
--flowdrop-text-color: #fafafa;
242
+
--fd-background: #0a0a0a;
243
+
--fd-primary: #6366f1;
244
+
--fd-border: #27272a;
245
+
--fd-foreground: #fafafa;
202
246
}
203
247
```
204
248
@@ -225,9 +269,8 @@ Runtime configuration means you build once and deploy to staging, production, or
0 commit comments