Skip to content

Commit 9a5e107

Browse files
authored
Merge pull request #269 from FlutterFlow/feature/update-adding-design-system
Update Adding Design System
2 parents bf4f9d9 + 340b84e commit 9a5e107

File tree

2 files changed

+10
-85
lines changed

2 files changed

+10
-85
lines changed

docs/ff-concepts/design-system/design-system.md

Lines changed: 9 additions & 84 deletions
Original file line numberDiff line numberDiff line change
@@ -45,61 +45,28 @@ To solve this issue, you can create a design system outlining common design guid
4545

4646

4747
## 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).
4849

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
60-
height: 0,
61-
width: '100%'}}>
62-
<iframe
63-
src="https://demo.arcade.software/7MfxqDLMHhtmen4DLo35?embed&show_copy_link=true"
64-
title="Sharing a Project with a User"
65-
style={{
66-
position: 'absolute',
67-
top: 0,
68-
left: 0,
69-
width: '100%',
70-
height: '100%',
71-
colorScheme: 'light'
72-
}}
73-
frameborder="0"
74-
loading="lazy"
75-
webkitAllowFullScreen
76-
mozAllowFullScreen
77-
allowFullScreen
78-
allow="clipboard-write">
79-
</iframe>
80-
</div>
81-
50+
:::tip[possible use cases]
8251

83-
<p></p>
52+
- **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.
8455

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+
:::
8857

89-
:::info
9058

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.
9260

93-
:::
9461

9562
<div style={{
9663
position: 'relative',
9764
paddingBottom: 'calc(56.67989417989418% + 41px)', // Keeps the aspect ratio and additional padding
9865
height: 0,
9966
width: '100%'}}>
10067
<iframe
101-
src="https://demo.arcade.software/VW1EVzUHh70WhDEDz6n7?embed&show_copy_link=true"
102-
title="Sharing a Project with a User"
68+
src="https://demo.arcade.software/G3PekDcZNsWYrKoz3xnE?embed&show_copy_link=true"
69+
title=""
10370
style={{
10471
position: 'absolute',
10572
top: 0,
@@ -118,7 +85,6 @@ After selecting the design system, you can't change the Colors, Typography, and
11885
</div>
11986
<p></p>
12087

121-
---
12288

12389
## Import Figma Theme
12490

@@ -196,47 +162,6 @@ If you prefer watching a video tutorial, here is the guide for you:
196162
</div>
197163
<p></p>
198164

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
217-
height: 0,
218-
width: '100%'}}>
219-
<iframe
220-
src="https://demo.arcade.software/G3PekDcZNsWYrKoz3xnE?embed&show_copy_link=true"
221-
title=""
222-
style={{
223-
position: 'absolute',
224-
top: 0,
225-
left: 0,
226-
width: '100%',
227-
height: '100%',
228-
colorScheme: 'light'
229-
}}
230-
frameborder="0"
231-
loading="lazy"
232-
webkitAllowFullScreen
233-
mozAllowFullScreen
234-
allowFullScreen
235-
allow="clipboard-write">
236-
</iframe>
237-
</div>
238-
<p></p>
239-
240165
---
241166

242167
## Loading Indicators

docs/resources/projects/libraries.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ Yes, you can add and import a Marketplace project as a library.
365365
<details>
366366
<summary>How do libraries work with themes (design systems)?</summary>
367367
<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.
369369
</p>
370370
</details>
371371

0 commit comments

Comments
 (0)