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: README.md
+7-12Lines changed: 7 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -83,6 +83,7 @@ Whenever you add new **colors, dimensions, fonts, or borders**, your application
83
83
84
84
```sh
85
85
npm run pull:dex
86
+
npm run apply:dex
86
87
```
87
88
88
89
This command is automatically executed when running:
@@ -105,16 +106,10 @@ When modifying an **existing value**, your app will automatically fetch the upda
105
106
106
107
## 🎨 Working with Styles
107
108
108
-
If you prefer managing styles manually, you can modify the predefined configuration files located in the `styles/` directory:
109
-
110
-
-`styles/border.css`
111
-
-`styles/colors.css`
112
-
-`styles/dimensions.css`
113
-
-`styles/fonts.css`
114
-
115
-
After making changes, push the updated configuration using:
109
+
If you prefer managing styles manually, you can modify the predefined configuration files `dex.config.json`. After making changes, apply and push the updated configuration using:
116
110
117
111
```sh
112
+
npm run apply:dex
118
113
npm run push:dex
119
114
```
120
115
@@ -143,16 +138,16 @@ By default, the **Design Extension** includes two predefined groups:
143
138
-`button`
144
139
-`text`
145
140
146
-
### **Understanding `allowGroups.json`**
141
+
### **Understanding `allowGroups`**
147
142
148
-
When your project is still using the default configuration, the `allowGroups.json` file will be **empty**. However, if you add a custom group (e.g., `page`), it will be added to this file automatically.
143
+
When your project is still using the default configuration, the `allowGroups` field will be **empty**. However, if you add a custom group (e.g., `page`), it will be added to this field automatically.
149
144
150
145
#### **Example: Adding a Custom Group (Page)**
151
146
152
-
If you introduce a new group, such as `page`, the `allowGroups.json` file will be updated as follows:
147
+
If you introduce a new group, such as `page`, the `dex.config.json` file will be updated as follows:
0 commit comments