@latte-macchiat-io/latte-vanilla-components 0.0.267 → 0.0.268
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/package.json
CHANGED
@@ -0,0 +1,30 @@
|
|
1
|
+
const themeFormRowBase = {
|
2
|
+
form: {
|
3
|
+
row: {
|
4
|
+
gap: {
|
5
|
+
mobile: '15px',
|
6
|
+
sm: '15px',
|
7
|
+
md: '30px',
|
8
|
+
lg: '30px',
|
9
|
+
xl: '50px',
|
10
|
+
'2xl': '50px',
|
11
|
+
},
|
12
|
+
},
|
13
|
+
},
|
14
|
+
};
|
15
|
+
|
16
|
+
export const themeFormRowLight = {
|
17
|
+
form: {
|
18
|
+
row: {
|
19
|
+
...themeFormRowBase.form.row,
|
20
|
+
},
|
21
|
+
},
|
22
|
+
};
|
23
|
+
|
24
|
+
export const themeFormRowDark = {
|
25
|
+
form: {
|
26
|
+
row: {
|
27
|
+
...themeFormRowBase.form.row,
|
28
|
+
},
|
29
|
+
},
|
30
|
+
};
|
@@ -1,7 +1,6 @@
|
|
1
1
|
export { Form, type FormProps } from '.';
|
2
2
|
|
3
|
-
export
|
4
|
-
export { type RowVariants } from './Row/styles.css';
|
3
|
+
export * from './Row/export';
|
5
4
|
|
6
5
|
export { TextField, type TextFieldProps, type InputType } from '../Form/TextField/TextField';
|
7
6
|
export { type TextFieldVariants } from '../Form/TextField/TextField.css';
|
@@ -1,3 +1,5 @@
|
|
1
|
+
import { themeFormRowDark, themeFormRowLight } from './Row/theme';
|
2
|
+
|
1
3
|
const themeFormBase = {
|
2
4
|
form: {
|
3
5
|
borderRadius: '30px',
|
@@ -55,6 +57,7 @@ const themeFormBase = {
|
|
55
57
|
export const themeFormLight = {
|
56
58
|
form: {
|
57
59
|
...themeFormBase.form,
|
60
|
+
...themeFormRowLight.form,
|
58
61
|
backgroundColor: '#000000',
|
59
62
|
},
|
60
63
|
};
|
@@ -62,6 +65,7 @@ export const themeFormLight = {
|
|
62
65
|
export const themeFormDark = {
|
63
66
|
form: {
|
64
67
|
...themeFormBase.form,
|
68
|
+
...themeFormRowDark.form,
|
65
69
|
backgroundColor: '#000000',
|
66
70
|
},
|
67
71
|
};
|