srcdev-nuxt-components 0.0.16 → 0.0.18

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.
Files changed (35) hide show
  1. package/assets/styles/forms/index.css +2 -0
  2. package/assets/styles/forms/themes/_error.css +63 -0
  3. package/assets/styles/forms/themes/_ghost.css +63 -0
  4. package/assets/styles/forms/themes/_primary.css +67 -0
  5. package/assets/styles/forms/themes/_secondary.css +63 -0
  6. package/assets/styles/forms/themes/_success.css +63 -0
  7. package/assets/styles/forms/themes/_tertiary.css +63 -0
  8. package/assets/styles/forms/themes/_warning.css +63 -0
  9. package/assets/styles/forms/themes/index.css +7 -0
  10. package/assets/styles/forms/variables/_theme.css +69 -0
  11. package/assets/styles/forms/variables/index.css +1 -0
  12. package/assets/styles/main.css +4 -0
  13. package/assets/styles/typography/index.css +2 -0
  14. package/assets/styles/typography/utils/_font-classes.css +160 -0
  15. package/assets/styles/typography/utils/_weights.css +69 -0
  16. package/assets/styles/typography/utils/index.css +2 -0
  17. package/assets/styles/typography/variables/_colors.css +14 -0
  18. package/assets/styles/typography/variables/_reponsive-font-size.css +10 -0
  19. package/assets/styles/typography/variables/index.css +2 -0
  20. package/assets/styles/utils/_margin-helpers.css +308 -0
  21. package/assets/styles/utils/_padding-helpers.css +308 -0
  22. package/assets/styles/utils/_page.css +23 -0
  23. package/assets/styles/utils/index.css +3 -0
  24. package/assets/styles/variables/colors/_blue.css +15 -0
  25. package/assets/styles/variables/colors/_gray.css +16 -0
  26. package/assets/styles/variables/colors/_green.css +15 -0
  27. package/assets/styles/variables/colors/_orange.css +15 -0
  28. package/assets/styles/variables/colors/_red.css +15 -0
  29. package/assets/styles/variables/colors/_yellow.css +15 -0
  30. package/assets/styles/variables/colors/colors.css +6 -0
  31. package/assets/styles/variables/index.css +1 -0
  32. package/components/presentation/tabs/Tabs.vue +99 -0
  33. package/composables/useNavDecoration.ts +132 -0
  34. package/nuxt.config.ts +1 -0
  35. package/package.json +4 -3
@@ -0,0 +1,2 @@
1
+ @import './variables/index.css';
2
+ @import './themes/index.css';
@@ -0,0 +1,63 @@
1
+ :root {
2
+ [data-form-theme='error'] {
3
+ --theme-form-input-bg: light-dark(var(--gray-1), var(--gray-4));
4
+ --theme-form-input-border: var(--red-8);
5
+ --theme-form-input-border-active: var(--red-2);
6
+ --theme-form-input-border-focus: var(--red-2);
7
+ --theme-form-input-outline: white;
8
+ --theme-form-input-outline-active: var(--red-6);
9
+ --theme-form-input-outline-focus: var(--red-6);
10
+ --theme-form-input-text: light-dark(var(--gray-10), var(--gray-11));
11
+
12
+ --theme-form-focus-box-shadow: 1px 1px 8px 1px light-dark(var(--red-12), var(--red-2));
13
+
14
+ --theme-form-checkbox-bg: light-dark(var(--gray-1), var(--gray-4));
15
+ --theme-form-checkbox-border: light-dark(var(--red-12), var(--red-12));
16
+ --theme-form-checkbox-outline: light-dark(var(--red-1), var(--red-1));
17
+ --theme-form-checkbox-shadow: transparent;
18
+ --theme-form-checkbox-shadow-focus: var(--red-6);
19
+ --theme-form-checkbox-symbol: var(--red-12);
20
+
21
+ --theme-form-radio-bg: light-dark(var(--gray-1), var(--gray-4));
22
+ --theme-form-radio-border: light-dark(var(--red-12), var(--red-12));
23
+ --theme-form-radio-outline: light-dark(var(--red-1), var(--red-1));
24
+ --theme-form-radio-shadow: transparent;
25
+ --theme-form-radio-shadow-focus: var(--red-6);
26
+ --theme-form-radio-symbol: var(--red-12);
27
+
28
+ --theme-form-range-accent-color: light-dark(var(--red-12), var(--red-3));
29
+
30
+ /*
31
+ * Checkbox as button
32
+ **/
33
+
34
+ --theme-checkbox-radio-button-bg-default: light-dark(var(--red-1), var(--red-1));
35
+
36
+ --theme-checkbox-radio-button-border-default: light-dark(var(--red-12), var(--red-12));
37
+ --theme-checkbox-radio-button-border-width: 1px;
38
+
39
+ --theme-checkbox-radio-button-outline-default: light-dark(var(--red-5), var(--red-5));
40
+ --theme-checkbox-radio-button-outline-width: 1px;
41
+
42
+ --theme-checkbox-radio-button-label-default: light-dark(var(--red-12), var(--red-12));
43
+ }
44
+
45
+ [data-btn-theme='error'] {
46
+ --theme-btn-bg: var(--red-12);
47
+ --theme-btn-border: var(--red-0);
48
+ --theme-btn-outline: var(--red-12);
49
+ --theme-btn-text: var(--red-0);
50
+
51
+ --theme-btn-bg-hover: var(--red-0);
52
+ --theme-btn-border-hover: var(--red-12);
53
+ --theme-btn-outline-hover: var(--red-0);
54
+ --theme-btn-text-hover: var(--red-12);
55
+
56
+ --theme-btn-bg-focus: var(--red-0);
57
+ --theme-btn-border-focus: var(--red-12);
58
+ --theme-btn-outline-focus: var(--red-0);
59
+ --theme-btn-text-focus: var(--red-12);
60
+
61
+ --theme-form-focus-box-shadow: 1px 1px 8px 1px light-dark(var(--red-12), var(--red-2));
62
+ }
63
+ }
@@ -0,0 +1,63 @@
1
+ :root {
2
+ [data-form-theme='ghost'] {
3
+ --theme-form-input-bg: light-dark(var(--gray-1), var(--gray-4));
4
+ --theme-form-input-border: var(--gray-8);
5
+ --theme-form-input-border-active: var(--gray-2);
6
+ --theme-form-input-border-focus: var(--gray-2);
7
+ --theme-form-input-outline: white;
8
+ --theme-form-input-outline-active: var(--gray-6);
9
+ --theme-form-input-outline-focus: var(--gray-6);
10
+ --theme-form-input-text: light-dark(var(--gray-10), var(--gray-11));
11
+
12
+ --theme-form-focus-box-shadow: 1px 1px 8px 1px light-dark(var(--gray-12), var(--gray-2));
13
+
14
+ --theme-form-checkbox-bg: light-dark(var(--gray-1), var(--gray-4));
15
+ --theme-form-checkbox-border: light-dark(var(--gray-12), var(--gray-12));
16
+ --theme-form-checkbox-outline: light-dark(var(--gray-1), var(--gray-1));
17
+ --theme-form-checkbox-shadow: transparent;
18
+ --theme-form-checkbox-shadow-focus: var(--gray-6);
19
+ --theme-form-checkbox-symbol: var(--gray-12);
20
+
21
+ --theme-form-radio-bg: light-dark(var(--gray-1), var(--gray-4));
22
+ --theme-form-radio-border: light-dark(var(--gray-12), var(--gray-12));
23
+ --theme-form-radio-outline: light-dark(var(--gray-1), var(--gray-1));
24
+ --theme-form-radio-shadow: transparent;
25
+ --theme-form-radio-shadow-focus: var(--gray-6);
26
+ --theme-form-radio-symbol: var(--gray-12);
27
+
28
+ --theme-form-range-accent-color: light-dark(var(--gray-12), var(--gray-3));
29
+
30
+ /*
31
+ * Checkbox as button
32
+ **/
33
+
34
+ --theme-checkbox-radio-button-bg-default: light-dark(var(--gray-1), var(--gray-4));
35
+
36
+ --theme-checkbox-radio-button-border-default: light-dark(var(--gray-12), var(--gray-12));
37
+ --theme-checkbox-radio-button-border-width: 1px;
38
+
39
+ --theme-checkbox-radio-button-outline-default: light-dark(var(--gray-5), var(--gray-5));
40
+ --theme-checkbox-radio-button-outline-width: 1px;
41
+
42
+ --theme-checkbox-radio-button-label-default: light-dark(var(--gray-12), var(--gray-12));
43
+ }
44
+
45
+ [data-btn-theme='ghost'] {
46
+ --theme-btn-bg: transparent;
47
+ --theme-btn-border: var(--gray-0);
48
+ --theme-btn-outline: var(--gray-12);
49
+ --theme-btn-text: light-dark(var(--gray-12), var(--gray-0));
50
+
51
+ --theme-btn-bg-hover: light-dark(var(--gray-2), var(--gray-8));
52
+ --theme-btn-border-hover: light-dark(var(--gray-12), var(--gray-0));
53
+ --theme-btn-outline-hover: light-dark(var(--gray-12), var(--gray-0));
54
+ --theme-btn-text-hover: light-dark(var(--gray-12), var(--gray-0));
55
+
56
+ --theme-btn-bg-focus: light-dark(var(--gray-2), var(--gray-8));
57
+ --theme-btn-border-focus: light-dark(var(--gray-12), var(--gray-0));
58
+ --theme-btn-outline-focus: light-dark(var(--gray-12), var(--gray-0));
59
+ --theme-btn-text-focus: light-dark(var(--gray-12), var(--gray-0));
60
+
61
+ --theme-form-focus-box-shadow: 1px 1px 8px 1px light-dark(var(--gray-12), var(--gray-2));
62
+ }
63
+ }
@@ -0,0 +1,67 @@
1
+ :root {
2
+ [data-form-theme='primary'] {
3
+ --theme-form-input-bg: light-dark(var(--gray-1), var(--gray-4));
4
+ --theme-form-input-border: var(--blue-8);
5
+ --theme-form-input-border-active: var(--blue-2);
6
+ --theme-form-input-border-focus: var(--blue-2);
7
+ --theme-form-input-outline: white;
8
+ --theme-form-input-outline-active: var(--blue-6);
9
+ --theme-form-input-outline-focus: var(--blue-6);
10
+ --theme-form-input-text: light-dark(var(--gray-10), var(--gray-11));
11
+
12
+ --theme-form-focus-box-shadow: 1px 1px 8px 1px light-dark(var(--blue-12), var(--blue-2));
13
+
14
+ --theme-form-checkbox-bg: light-dark(var(--gray-1), var(--gray-4));
15
+ --theme-form-checkbox-border: light-dark(var(--blue-12), var(--blue-12));
16
+ --theme-form-checkbox-outline: light-dark(var(--blue-1), var(--blue-1));
17
+ --theme-form-checkbox-shadow: transparent;
18
+ --theme-form-checkbox-shadow-focus: var(--blue-6);
19
+ --theme-form-checkbox-symbol: var(--blue-12);
20
+
21
+ --theme-form-radio-bg: light-dark(var(--gray-1), var(--gray-4));
22
+ --theme-form-radio-border: light-dark(var(--blue-12), var(--blue-12));
23
+ --theme-form-radio-outline: light-dark(var(--blue-1), var(--blue-1));
24
+ --theme-form-radio-shadow: transparent;
25
+ --theme-form-radio-shadow-focus: var(--blue-6);
26
+ --theme-form-radio-symbol: var(--blue-12);
27
+
28
+ --theme-form-range-accent-color: light-dark(var(--blue-12), var(--blue-));
29
+
30
+ /*
31
+ * Checkbox as button
32
+ **/
33
+
34
+ --theme-checkbox-radio-button-bg-default: light-dark(var(--gray-1), var(--gray-4));
35
+
36
+ --theme-checkbox-radio-button-border-default: light-dark(var(--blue-12), var(--blue-12));
37
+ --theme-checkbox-radio-button-border-width: 1px;
38
+
39
+ --theme-checkbox-radio-button-outline-default: light-dark(var(--blue-5), var(--blue-5));
40
+ --theme-checkbox-radio-button-outline-focus: light-dark(var(--blue-12), var(--blue-12));
41
+ --theme-checkbox-radio-button-outline-width: 1px;
42
+
43
+ --theme-checkbox-radio-button-shadow: transparent;
44
+ --theme-checkbox-radio-button-shadow-focus: light-dark(var(--blue-6), var(--blue-1));
45
+
46
+ --theme-checkbox-radio-button-label-default: light-dark(var(--blue-12), var(--blue-12));
47
+ }
48
+
49
+ [data-btn-theme='primary'] {
50
+ --theme-btn-bg: var(--blue-12);
51
+ --theme-btn-border: var(--blue-0);
52
+ --theme-btn-outline: var(--blue-12);
53
+ --theme-btn-text: var(--blue-0);
54
+
55
+ --theme-btn-bg-hover: var(--blue-0);
56
+ --theme-btn-border-hover: var(--blue-12);
57
+ --theme-btn-outline-hover: var(--blue-0);
58
+ --theme-btn-text-hover: var(--blue-12);
59
+
60
+ --theme-btn-bg-focus: var(--blue-0);
61
+ --theme-btn-border-focus: var(--blue-12);
62
+ --theme-btn-outline-focus: var(--blue-0);
63
+ --theme-btn-text-focus: var(--blue-12);
64
+
65
+ --theme-form-focus-box-shadow: 1px 1px 8px 1px light-dark(var(--blue-12), var(--blue-2));
66
+ }
67
+ }
@@ -0,0 +1,63 @@
1
+ :root {
2
+ [data-form-theme='secondary'] {
3
+ --theme-form-input-bg: light-dark(var(--gray-1), var(--gray-4));
4
+ --theme-form-input-border: var(--gray-8);
5
+ --theme-form-input-border-active: var(--gray-2);
6
+ --theme-form-input-border-focus: var(--gray-2);
7
+ --theme-form-input-outline: white;
8
+ --theme-form-input-outline-active: var(--gray-6);
9
+ --theme-form-input-outline-focus: var(--gray-6);
10
+ --theme-form-input-text: light-dark(var(--gray-10), var(--gray-11));
11
+
12
+ --theme-form-focus-box-shadow: 1px 1px 8px 1px light-dark(var(--gray-12), var(--gray-2));
13
+
14
+ --theme-form-checkbox-bg: light-dark(var(--gray-1), var(--gray-4));
15
+ --theme-form-checkbox-border: light-dark(var(--gray-12), var(--gray-12));
16
+ --theme-form-checkbox-outline: light-dark(var(--gray-1), var(--gray-1));
17
+ --theme-form-checkbox-shadow: transparent;
18
+ --theme-form-checkbox-shadow-focus: var(--gray-6);
19
+ --theme-form-checkbox-symbol: var(--gray-12);
20
+
21
+ --theme-form-radio-bg: light-dark(var(--gray-1), var(--gray-4));
22
+ --theme-form-radio-border: light-dark(var(--gray-12), var(--gray-12));
23
+ --theme-form-radio-outline: light-dark(var(--gray-1), var(--gray-1));
24
+ --theme-form-radio-shadow: transparent;
25
+ --theme-form-radio-shadow-focus: var(--gray-6);
26
+ --theme-form-radio-symbol: var(--gray-12);
27
+
28
+ --theme-form-range-accent-color: light-dark(var(--gray-12), var(--gray-3));
29
+
30
+ /*
31
+ * Checkbox as button
32
+ **/
33
+
34
+ --theme-checkbox-radio-button-bg-default: light-dark(var(--gray-1), var(--gray-4));
35
+
36
+ --theme-checkbox-radio-button-border-default: light-dark(var(--gray-12), var(--gray-12));
37
+ --theme-checkbox-radio-button-border-width: 1px;
38
+
39
+ --theme-checkbox-radio-button-outline-default: light-dark(var(--gray-5), var(--gray-5));
40
+ --theme-checkbox-radio-button-outline-width: 1px;
41
+
42
+ --theme-checkbox-radio-button-label-default: light-dark(var(--gray-12), var(--gray-12));
43
+ }
44
+
45
+ [data-btn-theme='secondary'] {
46
+ --theme-btn-bg: var(--gray-12);
47
+ --theme-btn-border: var(--gray-0);
48
+ --theme-btn-outline: var(--gray-12);
49
+ --theme-btn-text: var(--gray-0);
50
+
51
+ --theme-btn-bg-hover: var(--gray-0);
52
+ --theme-btn-border-hover: var(--gray-12);
53
+ --theme-btn-outline-hover: var(--gray-0);
54
+ --theme-btn-text-hover: var(--gray-12);
55
+
56
+ --theme-btn-bg-focus: var(--gray-0);
57
+ --theme-btn-border-focus: var(--gray-12);
58
+ --theme-btn-outline-focus: var(--gray-0);
59
+ --theme-btn-text-focus: var(--gray-12);
60
+
61
+ --theme-form-focus-box-shadow: 1px 1px 8px 1px light-dark(var(--gray-12), var(--gray-2));
62
+ }
63
+ }
@@ -0,0 +1,63 @@
1
+ :root {
2
+ [data-form-theme='success'] {
3
+ --theme-form-input-bg: light-dark(var(--gray-1), var(--gray-4));
4
+ --theme-form-input-border: var(--green-8);
5
+ --theme-form-input-border-active: var(--green-2);
6
+ --theme-form-input-border-focus: var(--green-2);
7
+ --theme-form-input-outline: white;
8
+ --theme-form-input-outline-active: var(--green-6);
9
+ --theme-form-input-outline-focus: var(--green-6);
10
+ --theme-form-input-text: light-dark(var(--gray-10), var(--gray-11));
11
+
12
+ --theme-form-focus-box-shadow: 1px 1px 8px 1px light-dark(var(--green-12), var(--green-2));
13
+
14
+ --theme-form-checkbox-bg: light-dark(var(--gray-1), var(--gray-4));
15
+ --theme-form-checkbox-border: light-dark(var(--green-12), var(--green-12));
16
+ --theme-form-checkbox-outline: light-dark(var(--green-1), var(--green-1));
17
+ --theme-form-checkbox-shadow: transparent;
18
+ --theme-form-checkbox-shadow-focus: var(--green-6);
19
+ --theme-form-checkbox-symbol: var(--green-12);
20
+
21
+ --theme-form-radio-bg: light-dark(var(--gray-1), var(--gray-4));
22
+ --theme-form-radio-border: light-dark(var(--green-12), var(--green-12));
23
+ --theme-form-radio-outline: light-dark(var(--green-1), var(--green-1));
24
+ --theme-form-radio-shadow: transparent;
25
+ --theme-form-radio-shadow-focus: var(--green-6);
26
+ --theme-form-radio-symbol: var(--green-12);
27
+
28
+ --theme-form-range-accent-color: light-dark(var(--green-12), var(--green-3));
29
+
30
+ /*
31
+ * Checkbox as button
32
+ **/
33
+
34
+ --theme-checkbox-radio-button-bg-default: light-dark(var(--gray-1), var(--gray-4));
35
+
36
+ --theme-checkbox-radio-button-border-default: light-dark(var(--green-12), var(--green-12));
37
+ --theme-checkbox-radio-button-border-width: 1px;
38
+
39
+ --theme-checkbox-radio-button-outline-default: light-dark(var(--green-5), var(--green-5));
40
+ --theme-checkbox-radio-button-outline-width: 1px;
41
+
42
+ --theme-checkbox-radio-button-label-default: light-dark(var(--green-12), var(--green-12));
43
+ }
44
+
45
+ [data-btn-theme='success'] {
46
+ --theme-btn-bg: var(--green-12);
47
+ --theme-btn-border: var(--green-0);
48
+ --theme-btn-outline: var(--green-12);
49
+ --theme-btn-text: var(--green-0);
50
+
51
+ --theme-btn-bg-hover: var(--green-0);
52
+ --theme-btn-border-hover: var(--green-12);
53
+ --theme-btn-outline-hover: var(--green-0);
54
+ --theme-btn-text-hover: var(--green-12);
55
+
56
+ --theme-btn-bg-focus: var(--green-0);
57
+ --theme-btn-border-focus: var(--green-12);
58
+ --theme-btn-outline-focus: var(--green-0);
59
+ --theme-btn-text-focus: var(--green-12);
60
+
61
+ --theme-form-focus-box-shadow: 1px 1px 8px 1px light-dark(var(--green-12), var(--green-2));
62
+ }
63
+ }
@@ -0,0 +1,63 @@
1
+ :root {
2
+ [data-form-theme='tertiary'] {
3
+ --theme-form-input-bg: light-dark(var(--gray-1), var(--gray-4));
4
+ --theme-form-input-border: var(--gray-8);
5
+ --theme-form-input-border-active: var(--gray-2);
6
+ --theme-form-input-border-focus: var(--gray-2);
7
+ --theme-form-input-outline: white;
8
+ --theme-form-input-outline-active: var(--gray-6);
9
+ --theme-form-input-outline-focus: var(--gray-6);
10
+ --theme-form-input-text: light-dark(var(--gray-10), var(--gray-11));
11
+
12
+ --theme-form-focus-box-shadow: 1px 1px 8px 1px light-dark(var(--gray-12), var(--gray-2));
13
+
14
+ --theme-form-checkbox-bg: light-dark(var(--gray-1), var(--gray-4));
15
+ --theme-form-checkbox-border: light-dark(var(--gray-12), var(--gray-12));
16
+ --theme-form-checkbox-outline: light-dark(var(--gray-1), var(--gray-1));
17
+ --theme-form-checkbox-shadow: transparent;
18
+ --theme-form-checkbox-shadow-focus: var(--gray-6);
19
+ --theme-form-checkbox-symbol: var(--gray-12);
20
+
21
+ --theme-form-radio-bg: light-dark(var(--gray-1), var(--gray-4));
22
+ --theme-form-radio-border: light-dark(var(--gray-12), var(--gray-12));
23
+ --theme-form-radio-outline: light-dark(var(--gray-1), var(--gray-1));
24
+ --theme-form-radio-shadow: transparent;
25
+ --theme-form-radio-shadow-focus: var(--gray-6);
26
+ --theme-form-radio-symbol: var(--gray-12);
27
+
28
+ --theme-form-range-accent-color: light-dark(var(--gray-12), var(--gray-3));
29
+
30
+ /*
31
+ * Checkbox as button
32
+ **/
33
+
34
+ --theme-checkbox-radio-button-bg-default: light-dark(var(--gray-1), var(--gray-4));
35
+
36
+ --theme-checkbox-radio-button-border-default: light-dark(var(--green-12), var(--green-12));
37
+ --theme-checkbox-radio-button-border-width: 1px;
38
+
39
+ --theme-checkbox-radio-button-outline-default: light-dark(var(--green-5), var(--green-5));
40
+ --theme-checkbox-radio-button-outline-width: 1px;
41
+
42
+ --theme-checkbox-radio-button-label-default: light-dark(var(--green-12), var(--green-12));
43
+ }
44
+
45
+ [data-btn-theme='tertiary'] {
46
+ --theme-btn-bg: var(--gray-0);
47
+ --theme-btn-border: var(--gray-0);
48
+ --theme-btn-outline: var(--gray-12);
49
+ --theme-btn-text: var(--gray-12);
50
+
51
+ --theme-btn-bg-hover: var(--gray-12);
52
+ --theme-btn-border-hover: var(--gray-0);
53
+ --theme-btn-outline-hover: var(--gray-12);
54
+ --theme-btn-text-hover: var(--gray-0);
55
+
56
+ --theme-btn-bg-focus: var(--gray-12);
57
+ --theme-btn-border-focus: var(--gray-0);
58
+ --theme-btn-outline-focus: var(--gray-12);
59
+ --theme-btn-text-focus: var(--gray-0);
60
+
61
+ --theme-form-focus-box-shadow: 1px 1px 8px 1px var(--gray-12);
62
+ }
63
+ }
@@ -0,0 +1,63 @@
1
+ :root {
2
+ [data-form-theme='warning'] {
3
+ --theme-form-input-bg: light-dark(var(--gray-1), var(--gray-4));
4
+ --theme-form-input-border: var(--orange-8);
5
+ --theme-form-input-border-active: var(--orange-2);
6
+ --theme-form-input-border-focus: var(--orange-2);
7
+ --theme-form-input-outline: white;
8
+ --theme-form-input-outline-active: var(--orange-6);
9
+ --theme-form-input-outline-focus: var(--orange-6);
10
+ --theme-form-input-text: light-dark(var(--gray-10), var(--gray-11));
11
+
12
+ --theme-form-focus-box-shadow: 1px 1px 8px 1px light-dark(var(--orange-12), var(--orange-2));
13
+
14
+ --theme-form-checkbox-bg: light-dark(var(--gray-1), var(--gray-4));
15
+ --theme-form-checkbox-border: light-dark(var(--orange-12), var(--orange-12));
16
+ --theme-form-checkbox-outline: light-dark(var(--orange-1), var(--orange-1));
17
+ --theme-form-checkbox-shadow: transparent;
18
+ --theme-form-checkbox-shadow-focus: var(--orange-6);
19
+ --theme-form-checkbox-symbol: var(--orange-12);
20
+
21
+ --theme-form-radio-bg: light-dark(var(--gray-1), var(--gray-4));
22
+ --theme-form-radio-border: light-dark(var(--orange-12), var(--orange-12));
23
+ --theme-form-radio-outline: light-dark(var(--orange-1), var(--orange-1));
24
+ --theme-form-radio-shadow: transparent;
25
+ --theme-form-radio-shadow-focus: var(--orange-6);
26
+ --theme-form-radio-symbol: var(--orange-12);
27
+
28
+ --theme-form-range-accent-color: light-dark(var(--orange-12), var(--orange-3));
29
+
30
+ /*
31
+ * Checkbox as button
32
+ **/
33
+
34
+ --theme-checkbox-radio-button-bg-default: light-dark(var(--gray-1), var(--gray-4));
35
+
36
+ --theme-checkbox-radio-button-border-default: light-dark(var(--orange-12), var(--orange-12));
37
+ --theme-checkbox-radio-button-border-width: 1px;
38
+
39
+ --theme-checkbox-radio-button-outline-default: light-dark(var(--orange-5), var(--orange-5));
40
+ --theme-checkbox-radio-button-outline-width: 1px;
41
+
42
+ --theme-checkbox-radio-button-label-default: light-dark(var(--orange-12), var(--orange-12));
43
+ }
44
+
45
+ [data-btn-theme='warning'] {
46
+ --theme-btn-bg: var(--orange-12);
47
+ --theme-btn-border: var(--orange-0);
48
+ --theme-btn-outline: var(--orange-12);
49
+ --theme-btn-text: var(--orange-0);
50
+
51
+ --theme-btn-bg-hover: var(--orange-0);
52
+ --theme-btn-border-hover: var(--orange-12);
53
+ --theme-btn-outline-hover: var(--orange-0);
54
+ --theme-btn-text-hover: var(--orange-12);
55
+
56
+ --theme-btn-bg-focus: var(--orange-0);
57
+ --theme-btn-border-focus: var(--orange-12);
58
+ --theme-btn-outline-focus: var(--orange-0);
59
+ --theme-btn-text-focus: var(--orange-12);
60
+
61
+ --theme-form-focus-box-shadow: 1px 1px 8px 1px light-dark(var(--orange-12), var(--orange-2));
62
+ }
63
+ }
@@ -0,0 +1,7 @@
1
+ @import './_primary.css';
2
+ @import './_secondary.css';
3
+ @import './_tertiary.css';
4
+ @import './_ghost.css';
5
+ @import './_error.css';
6
+ @import './_success.css';
7
+ @import './_warning.css';
@@ -0,0 +1,69 @@
1
+ :root {
2
+ --font-size: 16px;
3
+ --line-height: calc((var(--font-size) * 2) - 10px);
4
+
5
+ --input-border-radius: 4px;
6
+ --input-border-width-thin: 1px;
7
+ --input-border-width-default: 2px;
8
+ --input-border-width-thick: 3px;
9
+
10
+ --input-outline-radius: 4px;
11
+ --input-outline-width-thin: 1px;
12
+ --input-outline-width-default: 2px;
13
+ --input-outline-width-thick: 3px;
14
+
15
+ --font-family: futura-pt, Seravek, 'Gill Sans Nova', Ubuntu, Calibri, 'DejaVu Sans', source-sans-pro, sans-serif;
16
+
17
+ --theme-error-surface: var(--red-12);
18
+ --theme-error-text: var(--red-0);
19
+
20
+ --theme-form-button-font-size-x-small: 14px;
21
+ --theme-form-button-font-size-small: 14px;
22
+ --theme-form-button-font-size-normal: 16px;
23
+ --theme-form-button-font-size-medium: 18px;
24
+ --theme-form-button-font-size-large: 20px;
25
+
26
+ /*
27
+ * Button Padding
28
+ */
29
+
30
+ --theme-form-button-padding-block-x-small: 6px;
31
+ --theme-form-button-padding-block-small: 8px;
32
+ --theme-form-button-padding-block-normal: 10px;
33
+ --theme-form-button-padding-block-medium: 12px;
34
+ --theme-form-button-padding-block-large: 12px;
35
+
36
+ --theme-form-button-padding-inline-x-small: 12px;
37
+ --theme-form-button-padding-inline-small: 16px;
38
+ --theme-form-button-padding-inline-normal: 20px;
39
+ --theme-form-button-padding-inline-medium: 22px;
40
+ --theme-form-button-padding-inline-large: 24px;
41
+
42
+ /*
43
+ * Button Icon Sizes and Gap
44
+ */
45
+
46
+ --theme-form-button-padding-inline-icon-only-x-small: 4px;
47
+ --theme-form-button-padding-inline-icon-only-small: 6px;
48
+ --theme-form-button-padding-inline-icon-only-normal: 8px;
49
+ --theme-form-button-padding-inline-icon-only-medium: 10px;
50
+ --theme-form-button-padding-inline-icon-only-large: 12px;
51
+
52
+ --theme-form-button-padding-block-icon-only-x-small: 4px;
53
+ --theme-form-button-padding-block-icon-only-small: 4px;
54
+ --theme-form-button-padding-block-icon-only-normal: 6px;
55
+ --theme-form-button-padding-block-icon-only-medium: 8px;
56
+ --theme-form-button-padding-block-icon-only-large: 10px;
57
+
58
+ --theme-form-button-icon-size-x-small: 18px;
59
+ --theme-form-button-icon-size-small: 18px;
60
+ --theme-form-button-icon-size-normal: 18px;
61
+ --theme-form-button-icon-size-medium: 20px;
62
+ --theme-form-button-icon-size-large: 22px;
63
+
64
+ --theme-form-button-icon-gap-x-small: var(--theme-form-button-padding-inline-x-small);
65
+ --theme-form-button-icon-gap-small: var(--theme-form-button-padding-inline-small);
66
+ --theme-form-button-icon-gap-normal: var(--theme-form-button-padding-inline-normal);
67
+ --theme-form-button-icon-gap-medium: var(--theme-form-button-padding-inline-medium);
68
+ --theme-form-button-icon-gap-large: var(--theme-form-button-padding-inline-large);
69
+ }
@@ -0,0 +1 @@
1
+ @import './_theme.css';
@@ -0,0 +1,4 @@
1
+ @import './variables';
2
+ @import './forms';
3
+ @import './utils';
4
+ @import './typography';
@@ -0,0 +1,2 @@
1
+ @import './utils';
2
+ @import './variables';