gentiq 0.7.30 → 0.7.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -0
- package/dist/{checkbox-DllHCh8Z.js → checkbox-CXJMAW8-.js} +921 -920
- package/dist/gentiq-admin.es.js +1385 -1321
- package/dist/gentiq-index.es.js +709 -705
- package/dist/src/components/ThemeProvider.d.ts +1 -1
- package/dist/src/locales/en.json.d.ts +8 -1
- package/dist/src/locales/fa.json.d.ts +8 -1
- package/dist/src/types.d.ts +2 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -150,6 +150,7 @@ Support multiple languages (including RTL) and customize your brand's unique loo
|
|
|
150
150
|
```tsx
|
|
151
151
|
<GentiqProvider
|
|
152
152
|
theme={{
|
|
153
|
+
defaultTheme: 'system',
|
|
153
154
|
accent: '#6366f1',
|
|
154
155
|
radius: 20,
|
|
155
156
|
typography: {
|
|
@@ -170,6 +171,11 @@ Support multiple languages (including RTL) and customize your brand's unique loo
|
|
|
170
171
|
</GentiqProvider>
|
|
171
172
|
```
|
|
172
173
|
|
|
174
|
+
`defaultTheme` accepts `system`, `light`, or `dark`. Appearance preferences are
|
|
175
|
+
resolved in this order: the user's saved preference, the defaults configured in
|
|
176
|
+
the admin settings page, the `theme` values passed to `GentiqProvider`, and
|
|
177
|
+
finally Gentiq's built-in defaults.
|
|
178
|
+
|
|
173
179
|
---
|
|
174
180
|
|
|
175
181
|
## 👥 Custom User Metadata Fields
|