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
Copy file name to clipboardExpand all lines: docs/ff-concepts/design-system/design-system.md
+9-84Lines changed: 9 additions & 84 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -45,61 +45,28 @@ To solve this issue, you can create a design system outlining common design guid
45
45
46
46
47
47
## Adding Design System
48
+
You can add a design system from the [Library](../../resources/projects/libraries.md) dependencies added to your project. A library can serve as a central repository for your design assets, components, and styles—effectively becoming a Design Library for your application(s).
48
49
49
-
To create your own design system:
50
-
51
-
1. Open the **Theme Settings > Design System**.
52
-
2. Click **Create Design Library**.
53
-
3. Enter the **Design Library Project Name**.
54
-
4. Now you can configure the Colors, Typography & Icons, App Assets, NavBar & AppBar, and Theme Settings.
55
-
5. To see how the app will look for the new design system, you can open it in preview mode (click the eye icon at the top right side).
56
-
57
-
<div style={{
58
-
position: 'relative',
59
-
paddingBottom: 'calc(56.67989417989418% + 41px)', // Keeps the aspect ratio and additional padding
-**Enterprise Applications:** Large organizations can develop a centralized design system as a library to ensure all internal applications maintain a cohesive look and feel, enhancing brand identity and user experience.
53
+
-**Startup MVPs:** Startups can expedite the development of Minimum Viable Products (MVPs) by leveraging a pre-built design system library like [**shadcn**](https://marketplace.flutterflow.io/item/cNlm0zWW1Nfq11cFXBmp), allowing them to focus on functionality and user validation.
54
+
-**Cross-Platform Consistency:** Teams aiming to deploy apps across multiple platforms (iOS, Android, Web) can use a popular platform based design system library to ensure uniformity in design, reducing the effort required for platform-specific adjustments.
84
55
85
-
6. To use the design system, open your project and navigate to **Theme Settings > Design System**.
86
-
7. Click on the **No Design System Selected**.
87
-
8. A pop will open displaying the list of the design systems, click on the newly created design system to add it to your project. **Note** that the design system created in [My Organization](../../resources/projects/how-to-collaborate-on-projects.md#sharing-a-project-with-an-organization) will also be available here.
56
+
:::
88
57
89
-
:::info
90
58
91
-
After selecting the design system, you can't change the Colors, Typography, and Theme Widgets.
59
+
To add a design system from a library, start by creating the design system in a new FlutterFlow project and [publishing it as a library](../../resources/projects/libraries.md#publishing-a-library). Next, [import](../../resources/projects/libraries.md#importing-a-library) that library into the project where you want to use the design system. Then, navigate to **Theme Settings > Design System** and click **No Design System Selected**. From the dropdown that appears, **Select a library** you’ve just imported to apply its design system to your project.
92
60
93
-
:::
94
61
95
62
<div style={{
96
63
position: 'relative',
97
64
paddingBottom: 'calc(56.67989417989418% + 41px)', // Keeps the aspect ratio and additional padding
@@ -118,7 +85,6 @@ After selecting the design system, you can't change the Colors, Typography, and
118
85
</div>
119
86
<p></p>
120
87
121
-
---
122
88
123
89
## Import Figma Theme
124
90
@@ -196,47 +162,6 @@ If you prefer watching a video tutorial, here is the guide for you:
196
162
</div>
197
163
<p></p>
198
164
199
-
## Use Library as Design System
200
-
201
-
You can also import a design system from the [Library](../../resources/projects/libraries.md) added to your project. A library can serve as a central repository for your design assets, components, and styles—effectively becoming a Design Library for your application(s).
202
-
203
-
:::tip[possible use cases]
204
-
205
-
-**Enterprise Applications:** Large organizations can develop a centralized design system as a library to ensure all internal applications maintain a cohesive look and feel, enhancing brand identity and user experience.
206
-
-**Startup MVPs:** Startups can expedite the development of Minimum Viable Products (MVPs) by leveraging a pre-built design library like [**shadcn**](https://marketplace.flutterflow.io/item/cNlm0zWW1Nfq11cFXBmp), allowing them to focus on functionality and user validation.
207
-
-**Cross-Platform Consistency:** Teams aiming to deploy apps across multiple platforms (iOS, Android, Web) can use a popular design system library to ensure uniformity in design, reducing the effort required for platform-specific adjustments.
208
-
209
-
:::
210
-
211
-
To add a design system from a library, first, ensure that you [add a library dependency to your project](../../resources/projects/libraries.md#importing-a-library). Then, navigate to **Theme Settings > Design System** and click on **No Design System Selected**. From the dropdown menu, **Select a library** you want to use.
212
-
213
-
214
-
<div style={{
215
-
position: 'relative',
216
-
paddingBottom: 'calc(56.67989417989418% + 41px)', // Keeps the aspect ratio and additional padding
Copy file name to clipboardExpand all lines: docs/resources/projects/libraries.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -365,7 +365,7 @@ Yes, you can add and import a Marketplace project as a library.
365
365
<details>
366
366
<summary>How do libraries work with themes (design systems)?</summary>
367
367
<p>
368
-
By default, the design system of the parent project takes precedence over the imported library's design system. If you want to use a library's design system, you must [**select or set the library in the Design System**](../../ff-concepts/design-system/design-system.md#use-library-as-design-system) page.
368
+
By default, the design system of the parent project takes precedence over the imported library's design system. If you want to use a library's design system, you must [**select or set the library in the Design System**](../../ff-concepts/design-system/design-system.md#adding-design-system) page.
0 commit comments