@rbxts/react-clean-ui 1.1.0 → 1.2.2
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/out/Components/Chart/BarChart.d.ts +1 -0
- package/out/Components/Chart/BarChart.luau +149 -112
- package/out/Components/Chart/Pie.d.ts +1 -0
- package/out/Components/Chart/Pie.luau +21 -5
- package/out/Components/Decorator/BoxShadow.d.ts +1 -0
- package/out/Components/Decorator/BoxShadow.luau +12 -5
- package/out/Components/Decorator/Corners.d.ts +1 -0
- package/out/Components/Decorator/Corners.luau +8 -3
- package/out/Components/Decorator/Padding.d.ts +3 -1
- package/out/Components/Decorator/Padding.luau +11 -6
- package/out/Components/Input/Button.d.ts +1 -0
- package/out/Components/Input/Button.luau +44 -33
- package/out/Components/Input/Checkbox.d.ts +1 -0
- package/out/Components/Input/Checkbox.luau +22 -16
- package/out/Components/Input/HoverButton.d.ts +1 -0
- package/out/Components/Input/HoverButton.luau +44 -40
- package/out/Components/Input/Increment.d.ts +1 -0
- package/out/Components/Input/Increment.luau +10 -3
- package/out/Components/Input/Input.d.ts +3 -1
- package/out/Components/Input/Input.luau +85 -66
- package/out/Components/Input/Select.d.ts +9 -0
- package/out/Components/Input/Select.luau +311 -34
- package/out/Components/Input/Slider.luau +44 -29
- package/out/Components/Input/Switch.d.ts +9 -0
- package/out/Components/Input/Switch.luau +147 -0
- package/out/Components/Input/index.d.ts +1 -0
- package/out/Components/Input/init.luau +3 -0
- package/out/Components/Interaction/Modal.d.ts +14 -0
- package/out/Components/Interaction/Modal.luau +276 -0
- package/out/Components/Interaction/Toast.d.ts +2 -1
- package/out/Components/Interaction/Toast.luau +53 -28
- package/out/Components/Interaction/Tooltip.luau +36 -24
- package/out/Components/Interaction/index.d.ts +1 -0
- package/out/Components/Interaction/init.luau +3 -0
- package/out/Components/Layout/Accordion.d.ts +1 -0
- package/out/Components/Layout/Accordion.luau +51 -55
- package/out/Components/Layout/Column.d.ts +1 -0
- package/out/Components/Layout/Column.luau +11 -6
- package/out/Components/Layout/Container.d.ts +1 -0
- package/out/Components/Layout/Container.luau +22 -16
- package/out/Components/Layout/Draggable.luau +25 -3
- package/out/Components/Layout/Fieldset.d.ts +1 -0
- package/out/Components/Layout/Fieldset.luau +14 -42
- package/out/Components/Layout/FlexItem.luau +7 -0
- package/out/Components/Layout/Group.d.ts +1 -0
- package/out/Components/Layout/Group.luau +16 -33
- package/out/Components/Layout/HStack.d.ts +4 -0
- package/out/Components/Layout/HStack.luau +17 -10
- package/out/Components/Layout/Pagination.d.ts +32 -0
- package/out/Components/Layout/Pagination.luau +405 -0
- package/out/Components/Layout/Row.d.ts +1 -0
- package/out/Components/Layout/Row.luau +20 -48
- package/out/Components/Layout/Scroller.d.ts +1 -0
- package/out/Components/Layout/Scroller.luau +26 -34
- package/out/Components/Layout/Table.d.ts +31 -0
- package/out/Components/Layout/Table.luau +342 -0
- package/out/Components/Layout/Tabs.d.ts +18 -9
- package/out/Components/Layout/Tabs.luau +134 -119
- package/out/Components/Layout/VStack.d.ts +3 -0
- package/out/Components/Layout/VStack.luau +17 -10
- package/out/Components/Layout/index.d.ts +2 -0
- package/out/Components/Layout/init.luau +6 -0
- package/out/Components/Navigation/Menu.d.ts +1 -0
- package/out/Components/Navigation/Menu.luau +12 -3
- package/out/Components/Surface/Box.d.ts +1 -0
- package/out/Components/Surface/Box.luau +12 -4
- package/out/Components/Surface/Card.d.ts +1 -0
- package/out/Components/Surface/Card.luau +54 -51
- package/out/Components/Surface/Icon.d.ts +1 -0
- package/out/Components/Surface/Icon.luau +25 -16
- package/out/Components/Typography/Text.d.ts +1 -0
- package/out/Components/Typography/Text.luau +57 -47
- package/out/Contexts/index.d.ts +1 -0
- package/out/Contexts/init.luau +3 -0
- package/out/Contexts/modal.context.d.ts +15 -0
- package/out/Contexts/modal.context.luau +26 -0
- package/out/Contexts/toast.context.d.ts +1 -0
- package/out/Providers/app.provider.luau +2 -1
- package/out/Providers/index.d.ts +1 -0
- package/out/Providers/init.luau +3 -0
- package/out/Providers/modal.provider.d.ts +6 -0
- package/out/Providers/modal.provider.luau +86 -0
- package/out/Providers/overlay.provider.luau +1 -0
- package/out/Theme/theme.template.d.ts +85 -0
- package/out/Theme/themes/dark.theme.luau +103 -0
- package/out/Theme/themes/default.theme.luau +130 -0
- package/out/Theme/themes/sandstone.theme.luau +103 -0
- package/out/Theme/themes/wooden.theme.luau +122 -0
- package/package.json +1 -1
|
@@ -72,6 +72,7 @@ export interface ThemeTemplate {
|
|
|
72
72
|
typography?: Partial<TypographyStyle> | ScaledTypographyStyle;
|
|
73
73
|
backgroundImage?: CssBackgroundImage;
|
|
74
74
|
placeholder?: Partial<TypographyStyle> | ScaledTypographyStyle;
|
|
75
|
+
iconColor?: Color3;
|
|
75
76
|
};
|
|
76
77
|
select: {
|
|
77
78
|
borderColor: Color3;
|
|
@@ -82,6 +83,18 @@ export interface ThemeTemplate {
|
|
|
82
83
|
typography?: Partial<TypographyStyle> | ScaledTypographyStyle;
|
|
83
84
|
intents?: Partial<Record<Intent, InlineIntentColors>>;
|
|
84
85
|
maxDropDownHeight: number;
|
|
86
|
+
optGroup: {
|
|
87
|
+
textColor: Color3;
|
|
88
|
+
typography?: Partial<TypographyStyle> | ScaledTypographyStyle;
|
|
89
|
+
backgroundColor?: Color3;
|
|
90
|
+
backgroundTransparency?: number;
|
|
91
|
+
spacing?: ScaleSizeValue<number>;
|
|
92
|
+
padding?: ScaledCssPadding;
|
|
93
|
+
};
|
|
94
|
+
search: {
|
|
95
|
+
spacing?: ScaleSizeValue<number>;
|
|
96
|
+
padding?: ScaledCssPadding;
|
|
97
|
+
};
|
|
85
98
|
};
|
|
86
99
|
checkbox: {
|
|
87
100
|
borderColor: Color3;
|
|
@@ -93,6 +106,31 @@ export interface ThemeTemplate {
|
|
|
93
106
|
padding?: ScaledCssPadding;
|
|
94
107
|
backgroundImage?: CssBackgroundImage;
|
|
95
108
|
};
|
|
109
|
+
switch: {
|
|
110
|
+
width: CssSize;
|
|
111
|
+
height: CssSize;
|
|
112
|
+
cornerRadius: CssSize;
|
|
113
|
+
borderThickness: number;
|
|
114
|
+
disabledTransparency: number;
|
|
115
|
+
animation: {
|
|
116
|
+
duration: number;
|
|
117
|
+
};
|
|
118
|
+
track: {
|
|
119
|
+
backgroundColor: Color3;
|
|
120
|
+
backgroundTransparency: number;
|
|
121
|
+
borderColor: Color3;
|
|
122
|
+
intents?: Partial<Record<Intent, InlineIntentColors>>;
|
|
123
|
+
};
|
|
124
|
+
thumb: {
|
|
125
|
+
inset: CssSize;
|
|
126
|
+
cornerRadius: CssSize;
|
|
127
|
+
backgroundColor: Color3;
|
|
128
|
+
backgroundTransparency: number;
|
|
129
|
+
borderColor: Color3;
|
|
130
|
+
borderThickness: number;
|
|
131
|
+
boxShadow?: CssShadow;
|
|
132
|
+
};
|
|
133
|
+
};
|
|
96
134
|
tabs: {
|
|
97
135
|
borderColor: Color3;
|
|
98
136
|
backgroundColor: Color3;
|
|
@@ -121,6 +159,24 @@ export interface ThemeTemplate {
|
|
|
121
159
|
intents?: Partial<Record<Intent, InlineIntentColors>>;
|
|
122
160
|
};
|
|
123
161
|
};
|
|
162
|
+
pagination: {
|
|
163
|
+
backgroundColor: Color3;
|
|
164
|
+
backgroundTransparency: number;
|
|
165
|
+
borderColor: Color3;
|
|
166
|
+
borderThickness: number;
|
|
167
|
+
cornerRadius: CssSize;
|
|
168
|
+
spacing?: ScaleSizeValue<number>;
|
|
169
|
+
padding?: ScaledCssPadding;
|
|
170
|
+
item: {
|
|
171
|
+
borderThickness: number;
|
|
172
|
+
cornerRadius: CssSize;
|
|
173
|
+
spacing?: ScaleSizeValue<number>;
|
|
174
|
+
padding?: ScaledCssPadding;
|
|
175
|
+
boxShadow?: CssShadow;
|
|
176
|
+
typography?: Partial<TypographyStyle> | ScaledTypographyStyle;
|
|
177
|
+
intents?: Partial<Record<Intent, InlineIntentColors>>;
|
|
178
|
+
};
|
|
179
|
+
};
|
|
124
180
|
accordion: {
|
|
125
181
|
borderColor: Color3;
|
|
126
182
|
borderThickness: number;
|
|
@@ -144,6 +200,25 @@ export interface ThemeTemplate {
|
|
|
144
200
|
duration: number;
|
|
145
201
|
};
|
|
146
202
|
};
|
|
203
|
+
table: {
|
|
204
|
+
backgroundColor: Color3;
|
|
205
|
+
backgroundTransparency: number;
|
|
206
|
+
borderColor: Color3;
|
|
207
|
+
borderThickness: number;
|
|
208
|
+
cornerRadius: CssSize;
|
|
209
|
+
rowDividerColor: Color3;
|
|
210
|
+
rowDividerThickness: number;
|
|
211
|
+
header: {
|
|
212
|
+
backgroundColor: Color3;
|
|
213
|
+
backgroundTransparency: number;
|
|
214
|
+
typography?: Partial<TypographyStyle> | ScaledTypographyStyle;
|
|
215
|
+
};
|
|
216
|
+
cell: {
|
|
217
|
+
spacing?: ScaleSizeValue<number>;
|
|
218
|
+
padding?: ScaledCssPadding;
|
|
219
|
+
typography?: Partial<TypographyStyle> | ScaledTypographyStyle;
|
|
220
|
+
};
|
|
221
|
+
};
|
|
147
222
|
card: {
|
|
148
223
|
borderThickness: number;
|
|
149
224
|
cornerRadius: CssSize;
|
|
@@ -217,6 +292,16 @@ export interface ThemeTemplate {
|
|
|
217
292
|
cornerRadius: CssSize;
|
|
218
293
|
intents?: Partial<Record<Intent, Partial<IntentScheme>>>;
|
|
219
294
|
};
|
|
295
|
+
modal: {
|
|
296
|
+
fadeDuration: number;
|
|
297
|
+
baseZIndex: number;
|
|
298
|
+
zIndexStep: number;
|
|
299
|
+
width?: CssSize;
|
|
300
|
+
backdrop: {
|
|
301
|
+
backgroundColor: Color3;
|
|
302
|
+
backgroundTransparency: number;
|
|
303
|
+
};
|
|
304
|
+
};
|
|
220
305
|
charts: {
|
|
221
306
|
colors: Color3[];
|
|
222
307
|
pie: {
|
|
@@ -214,6 +214,7 @@ local DarkTheme = createTheme({
|
|
|
214
214
|
placeholder = {
|
|
215
215
|
color = Color3.fromHex("#697386"),
|
|
216
216
|
},
|
|
217
|
+
iconColor = Color3.fromHex("#697386"),
|
|
217
218
|
},
|
|
218
219
|
select = {
|
|
219
220
|
dropDownBackgroundColor = Color3.fromHex("#20252E"),
|
|
@@ -238,6 +239,25 @@ local DarkTheme = createTheme({
|
|
|
238
239
|
},
|
|
239
240
|
},
|
|
240
241
|
},
|
|
242
|
+
optGroup = {
|
|
243
|
+
textColor = Color3.fromHex("#8892A6"),
|
|
244
|
+
spacing = {
|
|
245
|
+
xs = 4,
|
|
246
|
+
sm = 6,
|
|
247
|
+
md = 8,
|
|
248
|
+
lg = 10,
|
|
249
|
+
xl = 12,
|
|
250
|
+
},
|
|
251
|
+
},
|
|
252
|
+
search = {
|
|
253
|
+
spacing = {
|
|
254
|
+
xs = 4,
|
|
255
|
+
sm = 6,
|
|
256
|
+
md = 8,
|
|
257
|
+
lg = 10,
|
|
258
|
+
xl = 12,
|
|
259
|
+
},
|
|
260
|
+
},
|
|
241
261
|
},
|
|
242
262
|
checkbox = {
|
|
243
263
|
borderColor = Color3.fromHex("#3A4352"),
|
|
@@ -251,6 +271,30 @@ local DarkTheme = createTheme({
|
|
|
251
271
|
xl = 8,
|
|
252
272
|
},
|
|
253
273
|
},
|
|
274
|
+
switch = {
|
|
275
|
+
width = 40,
|
|
276
|
+
height = 22,
|
|
277
|
+
cornerRadius = "100%",
|
|
278
|
+
borderThickness = 1,
|
|
279
|
+
disabledTransparency = 0.5,
|
|
280
|
+
animation = {
|
|
281
|
+
duration = 0.15,
|
|
282
|
+
},
|
|
283
|
+
track = {
|
|
284
|
+
backgroundColor = Color3.fromHex("#2A303B"),
|
|
285
|
+
backgroundTransparency = 0,
|
|
286
|
+
borderColor = Color3.fromHex("#3A4352"),
|
|
287
|
+
},
|
|
288
|
+
thumb = {
|
|
289
|
+
inset = 2,
|
|
290
|
+
cornerRadius = "100%",
|
|
291
|
+
backgroundColor = Color3.fromHex("#E8EDF8"),
|
|
292
|
+
backgroundTransparency = 0,
|
|
293
|
+
borderColor = Color3.fromHex("#4B74C7"),
|
|
294
|
+
borderThickness = 1,
|
|
295
|
+
boxShadow = "0px 0px 2px 1px",
|
|
296
|
+
},
|
|
297
|
+
},
|
|
254
298
|
tabs = {
|
|
255
299
|
borderColor = Color3.fromHex("#343B49"),
|
|
256
300
|
backgroundColor = Color3.fromHex("#1B1F27"),
|
|
@@ -301,6 +345,57 @@ local DarkTheme = createTheme({
|
|
|
301
345
|
},
|
|
302
346
|
},
|
|
303
347
|
},
|
|
348
|
+
pagination = {
|
|
349
|
+
backgroundColor = Color3.fromHex("#14181F"),
|
|
350
|
+
backgroundTransparency = 0,
|
|
351
|
+
borderColor = Color3.fromHex("#343B49"),
|
|
352
|
+
borderThickness = 1,
|
|
353
|
+
cornerRadius = 8,
|
|
354
|
+
spacing = {
|
|
355
|
+
xs = 2,
|
|
356
|
+
sm = 4,
|
|
357
|
+
md = 6,
|
|
358
|
+
lg = 8,
|
|
359
|
+
xl = 12,
|
|
360
|
+
},
|
|
361
|
+
item = {
|
|
362
|
+
borderThickness = 0,
|
|
363
|
+
cornerRadius = 4,
|
|
364
|
+
spacing = {
|
|
365
|
+
xs = 1,
|
|
366
|
+
sm = 2,
|
|
367
|
+
md = 4,
|
|
368
|
+
lg = 6,
|
|
369
|
+
xl = 8,
|
|
370
|
+
},
|
|
371
|
+
intents = {
|
|
372
|
+
primary = {
|
|
373
|
+
default = {
|
|
374
|
+
backgroundTransparency = 1,
|
|
375
|
+
textColor = Color3.fromHex("#AAB3C2"),
|
|
376
|
+
},
|
|
377
|
+
hover = {
|
|
378
|
+
backgroundTransparency = 1,
|
|
379
|
+
textColor = Color3.fromHex("#FFFFFF"),
|
|
380
|
+
},
|
|
381
|
+
focus = {
|
|
382
|
+
textColor = Color3.fromHex("#FFFFFF"),
|
|
383
|
+
backgroundColor = Color3.fromHex("#2A303B"),
|
|
384
|
+
backgroundTransparency = 0,
|
|
385
|
+
boxShadow = "2px 2px 6px 0px",
|
|
386
|
+
typography = {
|
|
387
|
+
weight = Enum.FontWeight.Bold,
|
|
388
|
+
},
|
|
389
|
+
},
|
|
390
|
+
disabled = {
|
|
391
|
+
backgroundTransparency = 1,
|
|
392
|
+
borderColor = Color3.fromHex("#343B49"),
|
|
393
|
+
textColor = Color3.fromHex("#697386"),
|
|
394
|
+
},
|
|
395
|
+
},
|
|
396
|
+
},
|
|
397
|
+
},
|
|
398
|
+
},
|
|
304
399
|
accordion = {
|
|
305
400
|
borderColor = Color3.fromHex("#4B5568"),
|
|
306
401
|
header = {
|
|
@@ -330,6 +425,14 @@ local DarkTheme = createTheme({
|
|
|
330
425
|
backgroundColor = Color3.fromHex("#171B22"),
|
|
331
426
|
},
|
|
332
427
|
},
|
|
428
|
+
table = {
|
|
429
|
+
backgroundColor = Color3.fromHex("#171B22"),
|
|
430
|
+
borderColor = Color3.fromHex("#4B5568"),
|
|
431
|
+
rowDividerColor = Color3.fromHex("#343C4A"),
|
|
432
|
+
header = {
|
|
433
|
+
backgroundColor = Color3.fromHex("#252B36"),
|
|
434
|
+
},
|
|
435
|
+
},
|
|
333
436
|
draggable = {
|
|
334
437
|
placeholder = {
|
|
335
438
|
backgroundColor = Color3.fromHex("#2A303B"),
|
|
@@ -194,6 +194,7 @@ local DefaultTheme = {
|
|
|
194
194
|
placeholder = {
|
|
195
195
|
color = Color3.fromHex("#8A8A8A"),
|
|
196
196
|
},
|
|
197
|
+
iconColor = Color3.fromHex("#8A8A8A"),
|
|
197
198
|
},
|
|
198
199
|
select = {
|
|
199
200
|
dropDownBackgroundColor = Color3.fromHex("#FFFFFF"),
|
|
@@ -216,6 +217,25 @@ local DefaultTheme = {
|
|
|
216
217
|
},
|
|
217
218
|
},
|
|
218
219
|
},
|
|
220
|
+
optGroup = {
|
|
221
|
+
textColor = Color3.fromHex("#5C6577"),
|
|
222
|
+
spacing = {
|
|
223
|
+
xs = 4,
|
|
224
|
+
sm = 6,
|
|
225
|
+
md = 8,
|
|
226
|
+
lg = 10,
|
|
227
|
+
xl = 12,
|
|
228
|
+
},
|
|
229
|
+
},
|
|
230
|
+
search = {
|
|
231
|
+
spacing = {
|
|
232
|
+
xs = 4,
|
|
233
|
+
sm = 6,
|
|
234
|
+
md = 8,
|
|
235
|
+
lg = 10,
|
|
236
|
+
xl = 12,
|
|
237
|
+
},
|
|
238
|
+
},
|
|
219
239
|
},
|
|
220
240
|
checkbox = {
|
|
221
241
|
borderColor = Color3.fromHex("#D9DEE8"),
|
|
@@ -229,6 +249,30 @@ local DefaultTheme = {
|
|
|
229
249
|
xl = 8,
|
|
230
250
|
},
|
|
231
251
|
},
|
|
252
|
+
switch = {
|
|
253
|
+
width = 40,
|
|
254
|
+
height = 22,
|
|
255
|
+
cornerRadius = "100%",
|
|
256
|
+
borderThickness = 1,
|
|
257
|
+
disabledTransparency = 0.5,
|
|
258
|
+
animation = {
|
|
259
|
+
duration = 0.15,
|
|
260
|
+
},
|
|
261
|
+
track = {
|
|
262
|
+
backgroundColor = Color3.fromHex("#D9DEE8"),
|
|
263
|
+
backgroundTransparency = 0,
|
|
264
|
+
borderColor = Color3.fromHex("#D9DEE8"),
|
|
265
|
+
},
|
|
266
|
+
thumb = {
|
|
267
|
+
inset = 2,
|
|
268
|
+
cornerRadius = "100%",
|
|
269
|
+
backgroundColor = Color3.fromHex("#FFFFFF"),
|
|
270
|
+
backgroundTransparency = 0,
|
|
271
|
+
borderColor = Color3.fromHex("#D9DEE8"),
|
|
272
|
+
borderThickness = 1,
|
|
273
|
+
boxShadow = "0px 0px 2px 1px",
|
|
274
|
+
},
|
|
275
|
+
},
|
|
232
276
|
tabs = {
|
|
233
277
|
borderColor = Color3.fromHex("#D9DEE8"),
|
|
234
278
|
backgroundColor = Color3.fromHex("#FFFFFF"),
|
|
@@ -279,6 +323,57 @@ local DefaultTheme = {
|
|
|
279
323
|
},
|
|
280
324
|
},
|
|
281
325
|
},
|
|
326
|
+
pagination = {
|
|
327
|
+
backgroundColor = Color3.fromHex("#F5F5F5"),
|
|
328
|
+
backgroundTransparency = 0,
|
|
329
|
+
borderColor = Color3.fromHex("#D9DEE8"),
|
|
330
|
+
borderThickness = 1,
|
|
331
|
+
cornerRadius = 8,
|
|
332
|
+
spacing = {
|
|
333
|
+
xs = 2,
|
|
334
|
+
sm = 4,
|
|
335
|
+
md = 6,
|
|
336
|
+
lg = 8,
|
|
337
|
+
xl = 12,
|
|
338
|
+
},
|
|
339
|
+
item = {
|
|
340
|
+
borderThickness = 0,
|
|
341
|
+
cornerRadius = 4,
|
|
342
|
+
spacing = {
|
|
343
|
+
xs = 1,
|
|
344
|
+
sm = 2,
|
|
345
|
+
md = 4,
|
|
346
|
+
lg = 6,
|
|
347
|
+
xl = 8,
|
|
348
|
+
},
|
|
349
|
+
intents = {
|
|
350
|
+
primary = {
|
|
351
|
+
default = {
|
|
352
|
+
backgroundTransparency = 1,
|
|
353
|
+
textColor = Color3.fromHex("#4F4F4F"),
|
|
354
|
+
},
|
|
355
|
+
hover = {
|
|
356
|
+
backgroundTransparency = 1,
|
|
357
|
+
textColor = Color3.fromHex("#000000"),
|
|
358
|
+
},
|
|
359
|
+
focus = {
|
|
360
|
+
textColor = Color3.fromHex("#000000"),
|
|
361
|
+
backgroundColor = Color3.fromHex("#FFFFFF"),
|
|
362
|
+
backgroundTransparency = 0,
|
|
363
|
+
boxShadow = "2px 2px 2px 2px",
|
|
364
|
+
typography = {
|
|
365
|
+
weight = Enum.FontWeight.Bold,
|
|
366
|
+
},
|
|
367
|
+
},
|
|
368
|
+
disabled = {
|
|
369
|
+
backgroundTransparency = 1,
|
|
370
|
+
borderColor = Color3.fromHex("#D9DEE8"),
|
|
371
|
+
textColor = Color3.fromHex("#8A8A8A"),
|
|
372
|
+
},
|
|
373
|
+
},
|
|
374
|
+
},
|
|
375
|
+
},
|
|
376
|
+
},
|
|
282
377
|
accordion = {
|
|
283
378
|
borderColor = Color3.fromHex("#D9DEE8"),
|
|
284
379
|
borderThickness = 1,
|
|
@@ -337,6 +432,31 @@ local DefaultTheme = {
|
|
|
337
432
|
duration = 0.2,
|
|
338
433
|
},
|
|
339
434
|
},
|
|
435
|
+
table = {
|
|
436
|
+
backgroundColor = Color3.fromHex("#FFFFFF"),
|
|
437
|
+
backgroundTransparency = 0,
|
|
438
|
+
borderColor = Color3.fromHex("#D9DEE8"),
|
|
439
|
+
borderThickness = 1,
|
|
440
|
+
cornerRadius = 8,
|
|
441
|
+
rowDividerColor = Color3.fromHex("#D9DEE8"),
|
|
442
|
+
rowDividerThickness = 1,
|
|
443
|
+
header = {
|
|
444
|
+
backgroundColor = Color3.fromHex("#F2F4F8"),
|
|
445
|
+
backgroundTransparency = 0,
|
|
446
|
+
typography = {
|
|
447
|
+
weight = Enum.FontWeight.Bold,
|
|
448
|
+
},
|
|
449
|
+
},
|
|
450
|
+
cell = {
|
|
451
|
+
spacing = {
|
|
452
|
+
xs = 4,
|
|
453
|
+
sm = 8,
|
|
454
|
+
md = 12,
|
|
455
|
+
lg = 16,
|
|
456
|
+
xl = 24,
|
|
457
|
+
},
|
|
458
|
+
},
|
|
459
|
+
},
|
|
340
460
|
draggable = {
|
|
341
461
|
placeholder = {
|
|
342
462
|
backgroundColor = Color3.fromHex("#D9DEE8"),
|
|
@@ -536,6 +656,16 @@ local DefaultTheme = {
|
|
|
536
656
|
},
|
|
537
657
|
},
|
|
538
658
|
},
|
|
659
|
+
modal = {
|
|
660
|
+
fadeDuration = 0.2,
|
|
661
|
+
baseZIndex = 1000,
|
|
662
|
+
zIndexStep = 10,
|
|
663
|
+
width = 420,
|
|
664
|
+
backdrop = {
|
|
665
|
+
backgroundColor = Color3.fromRGB(0, 0, 0),
|
|
666
|
+
backgroundTransparency = 0.5,
|
|
667
|
+
},
|
|
668
|
+
},
|
|
539
669
|
charts = {
|
|
540
670
|
colors = { Color3.fromHex("#2E9D63"), Color3.fromHex("#D64545"), Color3.fromHex("#E7A92F"), Color3.fromHex("#3187C8"), Color3.fromHex("#8E5AD7"), Color3.fromHex("#2FA7A1"), Color3.fromHex("#F26D4F"), Color3.fromHex("#D94F9D"), Color3.fromHex("#6B7C93"), Color3.fromHex("#7CB342") },
|
|
541
671
|
pie = {
|
|
@@ -211,6 +211,7 @@ local SandstoneTheme = createTheme({
|
|
|
211
211
|
borderColor = Color3.fromHex("#CDBFA8"),
|
|
212
212
|
borderThickness = 1,
|
|
213
213
|
cornerRadius = 4,
|
|
214
|
+
iconColor = Color3.fromHex("#8A7A61"),
|
|
214
215
|
},
|
|
215
216
|
select = {
|
|
216
217
|
dropDownBackgroundColor = Color3.fromHex("#FFF9ED"),
|
|
@@ -235,6 +236,25 @@ local SandstoneTheme = createTheme({
|
|
|
235
236
|
},
|
|
236
237
|
},
|
|
237
238
|
},
|
|
239
|
+
optGroup = {
|
|
240
|
+
textColor = Color3.fromHex("#8A7A61"),
|
|
241
|
+
spacing = {
|
|
242
|
+
xs = 4,
|
|
243
|
+
sm = 6,
|
|
244
|
+
md = 8,
|
|
245
|
+
lg = 10,
|
|
246
|
+
xl = 12,
|
|
247
|
+
},
|
|
248
|
+
},
|
|
249
|
+
search = {
|
|
250
|
+
spacing = {
|
|
251
|
+
xs = 4,
|
|
252
|
+
sm = 6,
|
|
253
|
+
md = 8,
|
|
254
|
+
lg = 10,
|
|
255
|
+
xl = 12,
|
|
256
|
+
},
|
|
257
|
+
},
|
|
238
258
|
},
|
|
239
259
|
checkbox = {
|
|
240
260
|
borderColor = Color3.fromHex("#CDBFA8"),
|
|
@@ -248,6 +268,30 @@ local SandstoneTheme = createTheme({
|
|
|
248
268
|
xl = 8,
|
|
249
269
|
},
|
|
250
270
|
},
|
|
271
|
+
switch = {
|
|
272
|
+
width = 40,
|
|
273
|
+
height = 22,
|
|
274
|
+
cornerRadius = 4,
|
|
275
|
+
borderThickness = 1,
|
|
276
|
+
disabledTransparency = 0.5,
|
|
277
|
+
animation = {
|
|
278
|
+
duration = 0.15,
|
|
279
|
+
},
|
|
280
|
+
track = {
|
|
281
|
+
backgroundColor = Color3.fromHex("#EFE5D3"),
|
|
282
|
+
backgroundTransparency = 0,
|
|
283
|
+
borderColor = Color3.fromHex("#CDBFA8"),
|
|
284
|
+
},
|
|
285
|
+
thumb = {
|
|
286
|
+
inset = 2,
|
|
287
|
+
cornerRadius = 4,
|
|
288
|
+
backgroundColor = Color3.fromHex("#FFF9ED"),
|
|
289
|
+
backgroundTransparency = 0,
|
|
290
|
+
borderColor = Color3.fromHex("#CDBFA8"),
|
|
291
|
+
borderThickness = 1,
|
|
292
|
+
boxShadow = "0px 0px 2px 1px",
|
|
293
|
+
},
|
|
294
|
+
},
|
|
251
295
|
tabs = {
|
|
252
296
|
borderColor = Color3.fromHex("#D8CDBA"),
|
|
253
297
|
backgroundColor = Color3.fromHex("#FFF9ED"),
|
|
@@ -298,6 +342,57 @@ local SandstoneTheme = createTheme({
|
|
|
298
342
|
},
|
|
299
343
|
},
|
|
300
344
|
},
|
|
345
|
+
pagination = {
|
|
346
|
+
backgroundColor = Color3.fromHex("#EFE5D3"),
|
|
347
|
+
backgroundTransparency = 0,
|
|
348
|
+
borderColor = Color3.fromHex("#D8CDBA"),
|
|
349
|
+
borderThickness = 1,
|
|
350
|
+
cornerRadius = 2,
|
|
351
|
+
spacing = {
|
|
352
|
+
xs = 2,
|
|
353
|
+
sm = 4,
|
|
354
|
+
md = 6,
|
|
355
|
+
lg = 8,
|
|
356
|
+
xl = 12,
|
|
357
|
+
},
|
|
358
|
+
item = {
|
|
359
|
+
borderThickness = 0,
|
|
360
|
+
cornerRadius = 2,
|
|
361
|
+
spacing = {
|
|
362
|
+
xs = 1,
|
|
363
|
+
sm = 2,
|
|
364
|
+
md = 4,
|
|
365
|
+
lg = 6,
|
|
366
|
+
xl = 8,
|
|
367
|
+
},
|
|
368
|
+
intents = {
|
|
369
|
+
primary = {
|
|
370
|
+
default = {
|
|
371
|
+
backgroundTransparency = 1,
|
|
372
|
+
textColor = Color3.fromHex("#746754"),
|
|
373
|
+
},
|
|
374
|
+
hover = {
|
|
375
|
+
backgroundTransparency = 1,
|
|
376
|
+
textColor = Color3.fromHex("#244F4A"),
|
|
377
|
+
},
|
|
378
|
+
focus = {
|
|
379
|
+
textColor = Color3.fromHex("#244F4A"),
|
|
380
|
+
backgroundColor = Color3.fromHex("#FFF9ED"),
|
|
381
|
+
backgroundTransparency = 0,
|
|
382
|
+
boxShadow = "0px 2px 5px 0px",
|
|
383
|
+
typography = {
|
|
384
|
+
weight = Enum.FontWeight.SemiBold,
|
|
385
|
+
},
|
|
386
|
+
},
|
|
387
|
+
disabled = {
|
|
388
|
+
backgroundTransparency = 1,
|
|
389
|
+
borderColor = Color3.fromHex("#D8CDBA"),
|
|
390
|
+
textColor = Color3.fromHex("#9B8B73"),
|
|
391
|
+
},
|
|
392
|
+
},
|
|
393
|
+
},
|
|
394
|
+
},
|
|
395
|
+
},
|
|
301
396
|
accordion = {
|
|
302
397
|
borderColor = Color3.fromHex("#B9A98F"),
|
|
303
398
|
header = {
|
|
@@ -327,6 +422,14 @@ local SandstoneTheme = createTheme({
|
|
|
327
422
|
backgroundColor = Color3.fromHex("#FFF9ED"),
|
|
328
423
|
},
|
|
329
424
|
},
|
|
425
|
+
table = {
|
|
426
|
+
backgroundColor = Color3.fromHex("#FFF9ED"),
|
|
427
|
+
borderColor = Color3.fromHex("#B9A98F"),
|
|
428
|
+
rowDividerColor = Color3.fromHex("#D8CBB5"),
|
|
429
|
+
header = {
|
|
430
|
+
backgroundColor = Color3.fromHex("#EFE5D3"),
|
|
431
|
+
},
|
|
432
|
+
},
|
|
330
433
|
draggable = {
|
|
331
434
|
placeholder = {
|
|
332
435
|
backgroundColor = Color3.fromHex("#EFE5D3"),
|
|
@@ -163,6 +163,19 @@ local WoodenTheme = createTheme({
|
|
|
163
163
|
backgroundTransparency = 0,
|
|
164
164
|
},
|
|
165
165
|
},
|
|
166
|
+
table = {
|
|
167
|
+
backgroundColor = Color3.fromHex("#5C3A18"),
|
|
168
|
+
backgroundTransparency = 0,
|
|
169
|
+
borderColor = Color3.fromHex("#3D2712"),
|
|
170
|
+
borderThickness = 2,
|
|
171
|
+
cornerRadius = 0,
|
|
172
|
+
rowDividerColor = Color3.fromHex("#3D2712"),
|
|
173
|
+
rowDividerThickness = 2,
|
|
174
|
+
header = {
|
|
175
|
+
backgroundColor = Color3.fromHex("#7A4A20"),
|
|
176
|
+
backgroundTransparency = 0,
|
|
177
|
+
},
|
|
178
|
+
},
|
|
166
179
|
tabs = {
|
|
167
180
|
backgroundImage = {
|
|
168
181
|
image = 137043424796720,
|
|
@@ -292,6 +305,7 @@ local WoodenTheme = createTheme({
|
|
|
292
305
|
placeholder = {
|
|
293
306
|
color = Color3.fromHex("#546b8a"),
|
|
294
307
|
},
|
|
308
|
+
iconColor = Color3.fromHex("#FFF7CF"),
|
|
295
309
|
},
|
|
296
310
|
card = {
|
|
297
311
|
borderThickness = 0,
|
|
@@ -441,6 +455,27 @@ local WoodenTheme = createTheme({
|
|
|
441
455
|
},
|
|
442
456
|
},
|
|
443
457
|
},
|
|
458
|
+
optGroup = {
|
|
459
|
+
textColor = Color3.fromHex("#FFF7CF"),
|
|
460
|
+
backgroundColor = Color3.fromHex("#1F477D"),
|
|
461
|
+
backgroundTransparency = 0,
|
|
462
|
+
spacing = {
|
|
463
|
+
xs = 4,
|
|
464
|
+
sm = 6,
|
|
465
|
+
md = 8,
|
|
466
|
+
lg = 10,
|
|
467
|
+
xl = 12,
|
|
468
|
+
},
|
|
469
|
+
},
|
|
470
|
+
search = {
|
|
471
|
+
spacing = {
|
|
472
|
+
xs = 4,
|
|
473
|
+
sm = 6,
|
|
474
|
+
md = 8,
|
|
475
|
+
lg = 10,
|
|
476
|
+
xl = 12,
|
|
477
|
+
},
|
|
478
|
+
},
|
|
444
479
|
},
|
|
445
480
|
increment = {
|
|
446
481
|
button = {
|
|
@@ -492,6 +527,48 @@ local WoodenTheme = createTheme({
|
|
|
492
527
|
},
|
|
493
528
|
},
|
|
494
529
|
},
|
|
530
|
+
switch = {
|
|
531
|
+
track = {
|
|
532
|
+
backgroundColor = Color3.fromHex("#5C3A18"),
|
|
533
|
+
borderColor = Color3.fromHex("#3D2712"),
|
|
534
|
+
intents = {
|
|
535
|
+
primary = {
|
|
536
|
+
default = {
|
|
537
|
+
backgroundColor = Color3.fromHex("#A16B30"),
|
|
538
|
+
borderColor = Color3.fromHex("#3D2712"),
|
|
539
|
+
},
|
|
540
|
+
},
|
|
541
|
+
success = {
|
|
542
|
+
default = {
|
|
543
|
+
backgroundColor = Color3.fromHex("#4E6A24"),
|
|
544
|
+
borderColor = Color3.fromHex("#3D2712"),
|
|
545
|
+
},
|
|
546
|
+
},
|
|
547
|
+
info = {
|
|
548
|
+
default = {
|
|
549
|
+
backgroundColor = Color3.fromHex("#2C5270"),
|
|
550
|
+
borderColor = Color3.fromHex("#3D2712"),
|
|
551
|
+
},
|
|
552
|
+
},
|
|
553
|
+
warning = {
|
|
554
|
+
default = {
|
|
555
|
+
backgroundColor = Color3.fromHex("#A67A20"),
|
|
556
|
+
borderColor = Color3.fromHex("#3D2712"),
|
|
557
|
+
},
|
|
558
|
+
},
|
|
559
|
+
danger = {
|
|
560
|
+
default = {
|
|
561
|
+
backgroundColor = Color3.fromHex("#7A3220"),
|
|
562
|
+
borderColor = Color3.fromHex("#3D2712"),
|
|
563
|
+
},
|
|
564
|
+
},
|
|
565
|
+
},
|
|
566
|
+
},
|
|
567
|
+
thumb = {
|
|
568
|
+
backgroundColor = Color3.fromHex("#BA854A"),
|
|
569
|
+
borderColor = Color3.fromHex("#3D2712"),
|
|
570
|
+
},
|
|
571
|
+
},
|
|
495
572
|
slider = {
|
|
496
573
|
height = 20,
|
|
497
574
|
bar = {
|
|
@@ -517,6 +594,51 @@ local WoodenTheme = createTheme({
|
|
|
517
594
|
cornerRadius = "100%",
|
|
518
595
|
},
|
|
519
596
|
},
|
|
597
|
+
pagination = {
|
|
598
|
+
backgroundColor = Color3.fromHex("#5C3A18"),
|
|
599
|
+
backgroundTransparency = 1,
|
|
600
|
+
borderColor = Color3.fromHex("#331D07"),
|
|
601
|
+
borderThickness = 1,
|
|
602
|
+
cornerRadius = 0,
|
|
603
|
+
item = {
|
|
604
|
+
borderThickness = 0,
|
|
605
|
+
cornerRadius = 0,
|
|
606
|
+
intents = {
|
|
607
|
+
primary = {
|
|
608
|
+
default = {
|
|
609
|
+
textColor = Color3.fromHex("#FFF7CF"),
|
|
610
|
+
backgroundTransparency = 1,
|
|
611
|
+
backgroundImage = {
|
|
612
|
+
image = 92016395170536,
|
|
613
|
+
slice = "10 5 240 40",
|
|
614
|
+
tintColor = Color3.fromHex("#A16B30"),
|
|
615
|
+
},
|
|
616
|
+
},
|
|
617
|
+
hover = {
|
|
618
|
+
textColor = Color3.fromHex("#D3CBA3"),
|
|
619
|
+
backgroundImage = {
|
|
620
|
+
tintColor = Color3.fromHex("#BA854A"),
|
|
621
|
+
},
|
|
622
|
+
},
|
|
623
|
+
focus = {
|
|
624
|
+
textColor = Color3.fromHex("#FFF7CF"),
|
|
625
|
+
backgroundTransparency = 1,
|
|
626
|
+
boxShadow = 0,
|
|
627
|
+
backgroundImage = {
|
|
628
|
+
tintColor = Color3.fromHex("#7A4A20"),
|
|
629
|
+
},
|
|
630
|
+
},
|
|
631
|
+
disabled = {
|
|
632
|
+
textColor = Color3.fromHex("#a4a29f"),
|
|
633
|
+
backgroundTransparency = 1,
|
|
634
|
+
backgroundImage = {
|
|
635
|
+
transparency = 0.3,
|
|
636
|
+
},
|
|
637
|
+
},
|
|
638
|
+
},
|
|
639
|
+
},
|
|
640
|
+
},
|
|
641
|
+
},
|
|
520
642
|
toast = {
|
|
521
643
|
intents = {
|
|
522
644
|
primary = {
|