ui-theme-igc-effect 1.0.0

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 (34) hide show
  1. package/README.md +0 -0
  2. package/dist/index.d.ts +3 -0
  3. package/dist/index.js +3 -0
  4. package/dist/themes/igcEffect/Theme.css +32 -0
  5. package/dist/themes/igcEffect/_color/Theme_color_igcEffectCustom.css +11 -0
  6. package/dist/themes/igcEffect/_color/Theme_color_igcEffectDark.css +112 -0
  7. package/dist/themes/igcEffect/_color/Theme_color_igcEffectDefault.css +110 -0
  8. package/dist/themes/igcEffect/_component/Theme_component_igcEffectButton.css +15 -0
  9. package/dist/themes/igcEffect/_component/Theme_component_igcEffectCheckbox.css +35 -0
  10. package/dist/themes/igcEffect/_component/Theme_component_igcEffectCommon.css +11 -0
  11. package/dist/themes/igcEffect/_component/Theme_component_igcEffectRctable.css +50 -0
  12. package/dist/themes/igcEffect/_component/Theme_component_igcEffectSelect.css +63 -0
  13. package/dist/themes/igcEffect/_component/Theme_component_igcEffectSwitch.css +10 -0
  14. package/dist/themes/igcEffect/_component/Theme_component_igcEffectTextField.css +18 -0
  15. package/dist/themes/igcEffect/_control/Theme_control_igcEffect.css +19 -0
  16. package/dist/themes/igcEffect/_font/Theme_font_igcEffect.css +107 -0
  17. package/dist/themes/igcEffect/_font/pt-root-ui_bold.woff +0 -0
  18. package/dist/themes/igcEffect/_font/pt-root-ui_bold.woff2 +0 -0
  19. package/dist/themes/igcEffect/_font/pt-root-ui_light.woff +0 -0
  20. package/dist/themes/igcEffect/_font/pt-root-ui_light.woff2 +0 -0
  21. package/dist/themes/igcEffect/_font/pt-root-ui_medium.woff +0 -0
  22. package/dist/themes/igcEffect/_font/pt-root-ui_medium.woff2 +0 -0
  23. package/dist/themes/igcEffect/_font/pt-root-ui_regular.woff +0 -0
  24. package/dist/themes/igcEffect/_font/pt-root-ui_regular.woff2 +0 -0
  25. package/dist/themes/igcEffect/_font/pt-root-ui_vf.woff +0 -0
  26. package/dist/themes/igcEffect/_font/pt-root-ui_vf.woff2 +0 -0
  27. package/dist/themes/igcEffect/_shadow/Theme_shadow_igcEffect.css +8 -0
  28. package/dist/themes/igcEffect/_size/Theme_size_igcEffect.css +27 -0
  29. package/dist/themes/igcEffect/_space/Theme_space_igcEffect.css +14 -0
  30. package/dist/themes/igcEffect/presets/presetIgcEffectDark.d.ts +18 -0
  31. package/dist/themes/igcEffect/presets/presetIgcEffectDark.js +28 -0
  32. package/dist/themes/igcEffect/presets/presetIgcEffectDefault.d.ts +18 -0
  33. package/dist/themes/igcEffect/presets/presetIgcEffectDefault.js +28 -0
  34. package/package.json +36 -0
package/README.md ADDED
File without changes
@@ -0,0 +1,3 @@
1
+ import { presetIgcEffectDark } from './themes/igcEffect/presets/presetIgcEffectDark';
2
+ import { presetIgcEffectDefault } from './themes/igcEffect/presets/presetIgcEffectDefault';
3
+ export { presetIgcEffectDark, presetIgcEffectDefault };
package/dist/index.js ADDED
@@ -0,0 +1,3 @@
1
+ import { presetIgcEffectDark } from './themes/igcEffect/presets/presetIgcEffectDark';
2
+ import { presetIgcEffectDefault } from './themes/igcEffect/presets/presetIgcEffectDefault';
3
+ export { presetIgcEffectDark, presetIgcEffectDefault };
@@ -0,0 +1,32 @@
1
+ .Theme {
2
+ --graphics-size-xs: 12px;
3
+ --graphics-size-s: 16px;
4
+ --graphics-size-m: 24px;
5
+ --graphics-size-l: 32px;
6
+ --graphics-size-xl: 40px;
7
+ --graphics-size-2xl: 60px;
8
+ --graphics-size-3xl: 80px;
9
+ --graphics-size-4xl: 120px;
10
+
11
+ *::-webkit-scrollbar {
12
+ width: 8px;
13
+ height: 8px;
14
+ }
15
+
16
+ *::-webkit-scrollbar-track {
17
+ background-color: var(--color-scroll-bg);
18
+ }
19
+
20
+ *::-webkit-scrollbar-corner {
21
+ background-color: var(--color-scroll-bg);
22
+ }
23
+
24
+ *::-webkit-scrollbar-thumb {
25
+ background-color: var(--color-scroll-thumb);
26
+ border-radius: 0px;
27
+ }
28
+
29
+ *::-webkit-scrollbar-thumb:hover {
30
+ background-color: var(--color-scroll-thumb-hover);
31
+ }
32
+ }
@@ -0,0 +1,11 @@
1
+ .Theme_color_igcEffectDefault,
2
+ .Theme_color_igcEffectDark {
3
+ --color-royal-blue-50: rgba(242, 243, 255, 1);
4
+ --color-royal-blue-300: rgba(177, 169, 255, 1);
5
+ --color-gray-100: rgba(233, 234, 242, 1);
6
+ --color-gray-200: rgba(209, 210, 222, 1);
7
+ --color-gray-600: rgba(96, 99, 115, 1);
8
+ --color-red-400: rgba(241, 60, 79, 1);
9
+ --color-aquamarine-50: rgb(242, 254, 255, 1);
10
+ --color-aquamarine-300: rgba(107, 245, 207, 1);
11
+ }
@@ -0,0 +1,112 @@
1
+ .Theme_color_igcEffectDark {
2
+ --color-bg-default: rgb(34, 39, 43);
3
+ --color-bg-secondary: rgb(22, 26, 29);
4
+
5
+ --color-bg-brand: rgb(0, 113, 178);
6
+
7
+ --color-bg-link: rgb(0, 120, 210);
8
+ --color-bg-border: rgba(255, 255, 255, 0.2);
9
+ --color-bg-stripe: rgba(246, 251, 253, 0.06);
10
+
11
+ --color-bg-ghost: rgba(246, 251, 253, 0.1);
12
+ --color-bg-tone: rgba(6, 20, 25, 0.85);
13
+
14
+ --color-bg-soft: rgba(255, 255, 255, 0.9);
15
+
16
+ --color-bg-system: rgb(77, 82, 91);
17
+
18
+ --color-bg-normal: rgb(10, 165, 255);
19
+
20
+ --color-bg-success: rgb(34, 195, 142);
21
+ --color-bg-caution: rgb(242, 201, 76);
22
+
23
+ --color-bg-warning: rgb(243, 139, 0);
24
+
25
+ --color-bg-alert: rgb(254, 67, 67);
26
+ --color-bg-critical: rgb(51, 0, 15);
27
+ --color-typo-primary: rgb(250, 250, 250);
28
+
29
+ --color-typo-secondary: rgba(255, 255, 255, 0.6);
30
+
31
+ --color-typo-ghost: rgba(255, 255, 255, 0.3);
32
+
33
+ --color-typo-brand: rgb(0, 113, 178);
34
+
35
+ --color-typo-system: rgb(99, 110, 131);
36
+
37
+ --color-typo-normal: rgb(0, 155, 245);
38
+
39
+ --color-typo-success: rgb(15, 174, 121);
40
+
41
+ --color-typo-caution: rgb(248, 199, 53);
42
+
43
+ --color-typo-warning: rgb(230, 130, 0);
44
+
45
+ --color-typo-alert: rgb(247, 59, 59);
46
+
47
+ --color-typo-critical: rgb(97, 0, 29);
48
+
49
+ --color-typo-link: rgb(15, 159, 255);
50
+
51
+ --color-typo-link-minor: rgb(111, 165, 200);
52
+
53
+ --color-typo-link-hover: rgb(87, 188, 255);
54
+ --color-scroll-bg: rgba(246, 251, 253, 0.06);
55
+ --color-scroll-thumb: rgba(246, 251, 253, 0.24);
56
+ --color-scroll-thumb-hover: rgba(246, 251, 253, 0.32);
57
+ --color-control-bg-default: rgb(34, 39, 43);
58
+
59
+ --color-control-typo-default: rgba(255, 255, 255, 0.8);
60
+
61
+ --color-control-typo-placeholder: rgba(255, 255, 255, 0.35);
62
+
63
+ --color-control-bg-border-default: rgba(246, 251, 253, 0.28);
64
+
65
+ --color-control-bg-border-default-hover: rgba(246, 251, 253, 0.52);
66
+
67
+ --color-control-bg-border-focus: rgb(5, 147, 255);
68
+ --color-control-bg-focus: rgba(0, 120, 210, 0.4);
69
+
70
+ --color-control-bg-active: rgba(0, 120, 210, 0.7);
71
+ --color-control-bg-primary: rgb(53, 33, 255);
72
+
73
+ --color-control-bg-primary-hover: rgb(23, 0, 254);
74
+
75
+ --color-control-typo-primary: rgb(255, 255, 255);
76
+
77
+ --color-control-typo-primary-hover: rgb(255, 255, 255);
78
+ --color-control-bg-secondary: rgba(34, 39, 43, 0);
79
+
80
+ --color-control-bg-border-secondary: rgb(0, 120, 210);
81
+
82
+ --color-control-bg-border-secondary-hover: rgb(0, 145, 255);
83
+
84
+ --color-control-typo-secondary: rgb(15, 159, 255);
85
+
86
+ --color-control-typo-secondary-hover: rgb(87, 188, 255);
87
+ --color-control-bg-ghost: rgba(250, 250, 250, 0.16);
88
+
89
+ --color-control-bg-ghost-hover: rgba(250, 250, 250, 0.23);
90
+
91
+ --color-control-typo-ghost: rgba(255, 255, 255, 0.75);
92
+
93
+ --color-control-typo-ghost-hover: rgba(255, 255, 255, 0.9);
94
+ --color-control-bg-clear: rgba(250, 250, 250, 0);
95
+
96
+ --color-control-bg-clear-hover: rgba(250, 250, 250, 0.23);
97
+
98
+ --color-control-typo-clear: rgba(255, 255, 255, 0.75);
99
+
100
+ --color-control-typo-clear-hover: rgba(255, 255, 255, 0.9);
101
+ --color-control-bg-disable: rgba(250, 250, 250, 0.16);
102
+
103
+ --color-control-bg-border-disable: rgba(250, 250, 250, 0);
104
+
105
+ --color-control-typo-disable: rgba(255, 255, 255, 0.24);
106
+ --color-shadow-group-1: rgba(0, 0, 0, 0.08);
107
+ --color-shadow-group-2: rgba(0, 0, 0, 0.32);
108
+ --color-shadow-layer-1: rgba(0, 0, 0, 0.08);
109
+ --color-shadow-layer-2: rgba(0, 0, 0, 0.32);
110
+ --color-shadow-modal-1: rgba(0, 0, 0, 0.08);
111
+ --color-shadow-modal-2: rgba(0, 0, 0, 0.32);
112
+ }
@@ -0,0 +1,110 @@
1
+ .Theme_color_igcEffectDefault {
2
+ --color-bg-default: rgb(255, 255, 255);
3
+ --color-bg-secondary: rgb(244, 246, 251);
4
+
5
+ --color-bg-brand: rgb(0, 113, 178);
6
+
7
+ --color-bg-link: rgb(53, 33, 255);
8
+ --color-bg-border: rgba(0, 65, 102, 0.2);
9
+ --color-bg-stripe: rgba(0, 32, 51, 0.05);
10
+
11
+ --color-bg-ghost: rgba(0, 32, 51, 0.08);
12
+
13
+ --color-bg-tone: rgba(71, 74, 89, 0.3);
14
+ --color-bg-soft: rgba(255, 255, 255, 0.9);
15
+ --color-bg-system: rgb(222, 228, 232);
16
+
17
+ --color-bg-normal: rgb(86, 185, 242);
18
+
19
+ --color-bg-success: rgb(223, 250, 242);
20
+ --color-bg-caution: rgb(242, 201, 76);
21
+
22
+ --color-bg-warning: rgb(255, 246, 214);
23
+
24
+ --color-bg-alert: rgb(255, 236, 238);
25
+ --color-bg-critical: rgb(51, 0, 15);
26
+ --color-typo-primary: rgb(26, 27, 38);
27
+
28
+ --color-typo-secondary: rgb(126, 128, 143);
29
+
30
+ --color-typo-ghost: rgba(26, 27, 38, 0.3);
31
+
32
+ --color-typo-brand: rgb(0, 113, 178);
33
+
34
+ --color-typo-system: rgb(53, 33, 255);
35
+
36
+ --color-typo-normal: rgb(51, 180, 255);
37
+
38
+ --color-typo-success: rgb(11, 201, 148);
39
+
40
+ --color-typo-caution: rgb(255, 161, 10);
41
+
42
+ --color-typo-warning: rgb(255, 122, 0);
43
+
44
+ --color-typo-alert: rgb(243, 92, 108);
45
+
46
+ --color-typo-critical: rgb(51, 0, 15);
47
+
48
+ --color-typo-link: rgb(80, 102, 255);
49
+ --color-typo-link-minor: rgb(70, 89, 216);
50
+
51
+ --color-typo-link-hover: rgb(122, 140, 255);
52
+ --color-scroll-bg: rgba(0, 66, 105, 0.06);
53
+ --color-scroll-thumb: rgba(0, 66, 105, 0.24);
54
+ --color-scroll-thumb-hover: rgba(0, 66, 105, 0.32);
55
+ --color-control-bg-default: rgb(255, 255, 255);
56
+
57
+ --color-control-typo-default: rgb(26, 27, 38);
58
+
59
+ --color-control-typo-placeholder: rgba(26, 27, 38, 0.35);
60
+
61
+ --color-control-bg-border-default: rgb(183, 185, 199);
62
+
63
+ --color-control-bg-border-default-hover: rgba(0, 66, 105, 0.52);
64
+
65
+ --color-control-bg-border-focus: rgb(128, 144, 255);
66
+ --color-control-bg-focus: rgba(80, 102, 255, 0.3);
67
+
68
+ --color-control-bg-active: rgba(80, 102, 255, 0.5);
69
+ --color-control-bg-primary: rgb(53, 33, 255);
70
+
71
+ --color-control-bg-primary-hover: rgb(23, 0, 254);
72
+
73
+ --color-control-typo-primary: rgb(255, 255, 255);
74
+
75
+ --color-control-typo-primary-hover: rgb(255, 255, 255);
76
+ --color-control-bg-secondary: rgba(255, 255, 255, 0);
77
+
78
+ --color-control-bg-border-secondary: rgb(80, 102, 255);
79
+
80
+ --color-control-bg-border-secondary-hover: rgb(23, 0, 254);
81
+
82
+ --color-control-typo-secondary: rgb(53, 33, 255);
83
+
84
+ --color-control-typo-secondary-hover: rgb(23, 0, 254);
85
+ --color-control-bg-ghost: rgba(0, 66, 105, 0.07);
86
+
87
+ --color-control-bg-ghost-hover: rgba(0, 66, 105, 0.05);
88
+
89
+ --color-control-typo-ghost: rgba(43, 45, 64, 0.8);
90
+
91
+ --color-control-typo-ghost-hover: rgba(43, 45, 64, 0.75);
92
+ --color-control-bg-clear: rgba(0, 66, 105, 0);
93
+
94
+ --color-control-bg-clear-hover: rgba(0, 66, 105, 0.05);
95
+
96
+ --color-control-typo-clear: rgba(53, 33, 255);
97
+
98
+ --color-control-typo-clear-hover: rgba(23, 0, 254);
99
+ --color-control-bg-disable: rgba(0, 66, 105, 0.07);
100
+
101
+ --color-control-bg-border-disable: rgba(0, 65, 102, 0.2);
102
+
103
+ --color-control-typo-disable: rgb(26, 27, 38);
104
+ --color-shadow-group-1: rgba(0, 32, 51, 0.02);
105
+ --color-shadow-group-2: rgba(0, 32, 51, 0.16);
106
+ --color-shadow-layer-1: rgba(0, 32, 51, 0.04);
107
+ --color-shadow-layer-2: rgba(0, 32, 51, 0.12);
108
+ --color-shadow-modal-1: rgba(0, 0, 0, 0.08);
109
+ --color-shadow-modal-2: rgba(0, 0, 0, 0.08);
110
+ }
@@ -0,0 +1,15 @@
1
+ .Theme_control_igcEffect .Button_disabled {
2
+ background-color: var(--color-bg-secondary);
3
+ opacity: 0.3;
4
+ border-color: var(--color-control-typo-secondary);
5
+ color: var(--color-control-typo-secondary);
6
+ }
7
+
8
+ .Theme_control_igcEffect .Button_view_secondary:hover,
9
+ .Theme_control_igcEffect .Button_view_clear:hover {
10
+ --button-bg-color-hover: var(--color-royal-blue-50);
11
+ }
12
+ .Theme_control_igcEffect .Button_view_secondary:hover,
13
+ .Theme_control_igcEffect .Button_view_primary:hover {
14
+ box-shadow: 0px 0px 0px 4px var(--color-royal-blue-50);
15
+ }
@@ -0,0 +1,35 @@
1
+ .Theme_control_igcEffect .Checkbox_size_l {
2
+ --checkbox-size: 24px;
3
+ --control-radius: 2px;
4
+ }
5
+
6
+ .Theme_control_igcEffect .Checkbox-Input::before {
7
+ content: '';
8
+ width: var(--checkbox-size);
9
+ height: var(--checkbox-size);
10
+ background-size: var(--checkbox-size) var(--checkbox-size);
11
+ border: 0;
12
+ transition: none;
13
+ }
14
+
15
+ .Theme_control_igcEffect .Checkbox-Input:checked:before {
16
+ background-image: url('../../../assets/Checkbox.svg');
17
+ }
18
+
19
+ .Theme_control_igcEffect .Checkbox-Input:checked:before {
20
+ transform: none;
21
+ }
22
+
23
+ .Theme_control_igcEffect .Checkbox-Input:before {
24
+ top: -1px;
25
+ left: -1.2px;
26
+ }
27
+
28
+ .Theme_control_igcEffect .Checkbox_intermediate .Checkbox-Input:before {
29
+ top: calc(var(--checkbox-size) / 2 - 0.5px);
30
+ left: calc(var(--checkbox-size) / 5 - 1.5px);
31
+ }
32
+
33
+ .Theme_control_igcEffect .Checkbox_disabled .Checkbox-Input:disabled:before {
34
+ background-image: url('../../../assets/CheckboxDisabled.svg');
35
+ }
@@ -0,0 +1,11 @@
1
+ .Theme_control_igcEffect * {
2
+ margin: 0;
3
+ padding: 0;
4
+ box-sizing: border-box;
5
+ font-weight: 500;
6
+ }
7
+
8
+ .Theme_control_igcEffect .MixFocus:not(.MixFocus_before):focus,
9
+ .Theme_control_igcEffect .MixFocus:not(.MixFocus_before):focus:hover {
10
+ box-shadow: none;
11
+ }
@@ -0,0 +1,50 @@
1
+ .Theme_control_igcEffect .rcta--RcTable-cell {
2
+ font-weight: 500;
3
+ padding: 8px;
4
+ }
5
+
6
+ .Theme_control_igcEffect .rcta--RcTable-thead .rcta--RcTable-cell {
7
+ padding: 4px 8px;
8
+ }
9
+
10
+ .Theme_control_igcEffect .rcta--RcTable thead > tr:last-child > * {
11
+ border-bottom: 0px;
12
+ }
13
+
14
+ .Theme_control_igcEffect
15
+ .rcta--RcTable
16
+ tbody
17
+ > tr:not(.rcta--RcTable-placeholder):hover {
18
+ background-color: var(--color-bg-default);
19
+ }
20
+
21
+ .Theme_control_igcEffect
22
+ .rcta--RcTable
23
+ tbody
24
+ > tr:not(.rcta--RcTable-placeholder):hover
25
+ .rcta--RcTable-cell-fix-left:before,
26
+ .Theme_control_igcEffect
27
+ .rcta--RcTable
28
+ tbody
29
+ > tr:not(.rcta--RcTable-placeholder):hover
30
+ .rcta--RcTable-cell-fix-right:before {
31
+ background-color: var(--color-bg-default);
32
+ }
33
+
34
+ .Theme_control_igcEffect .rcta--RcTable *::-webkit-scrollbar {
35
+ width: 16px;
36
+ }
37
+
38
+ .Theme_control_igcEffect .rcta--RcTable *::-webkit-scrollbar-track {
39
+ background: var(--color-gray-100);
40
+ border-left: 8px var(--color-bg-default) solid;
41
+ }
42
+
43
+ .Theme_control_igcEffect .rcta--RcTable *::-webkit-scrollbar-thumb {
44
+ background: var(--color-gray-200);
45
+ border-left: 8px var(--color-bg-default) solid;
46
+ }
47
+
48
+ .Theme_control_igcEffect .rcta--RcTable *::-webkit-scrollbar-thumb:hover {
49
+ background-color: var(--color-gray-200);
50
+ }
@@ -0,0 +1,63 @@
1
+ .Theme_control_igcEffect.SelectDropdown *::-webkit-scrollbar {
2
+ width: 24px;
3
+ }
4
+
5
+ .Theme_control_igcEffect.SelectDropdown *::-webkit-scrollbar-track {
6
+ background: var(--color-bg-secondary);
7
+ border-left: 8px var(--color-bg-default) solid;
8
+ border-right: 8px var(--color-bg-default) solid;
9
+ margin: 8px;
10
+ }
11
+
12
+ .Theme_control_igcEffect.SelectDropdown *::-webkit-scrollbar-thumb {
13
+ background: var(--color-gray-100);
14
+ border-left: 8px var(--color-bg-default) solid;
15
+ border-right: 8px var(--color-bg-default) solid;
16
+ }
17
+
18
+ .Theme_control_igcEffect.SelectDropdown *::-webkit-scrollbar-thumb:hover {
19
+ background-color: var(--color-gray-100);
20
+ }
21
+
22
+ .Theme_control_igcEffect.SelectDropdown {
23
+ min-width: 178px;
24
+ border-radius: 0px;
25
+ border: none;
26
+ }
27
+
28
+ .Theme_control_igcEffect .SelectDropdown-List {
29
+ padding-top: 0px;
30
+ }
31
+
32
+ .Theme_control_igcEffect .SelectDropdown-List .ListItem {
33
+ padding-top: 8px;
34
+ padding-bottom: 8px;
35
+ padding-left: 16px;
36
+ padding-right: 16px;
37
+ line-height: var(--line-height-text-m);
38
+ }
39
+
40
+ .Theme_control_igcEffect.SelectDropdown-List .ListItemGrid-Slot {
41
+ line-height: var(--line-height-text-m);
42
+ }
43
+
44
+ .Theme_control_igcEffect .Select .Select-IndicatorsDropdown {
45
+ color: var(--color-control-bg-primary);
46
+ }
47
+
48
+ .Theme_control_igcEffect .Select-SelectContainer_status_alert {
49
+ --container-border-color: var(--color-typo-alert);
50
+ }
51
+
52
+ .Theme_control_igcEffect .Select-SelectContainer_status_warning {
53
+ --container-border-color: var(--color-typo-warning);
54
+ }
55
+
56
+ .Theme_control_igcEffect .Select-Delimiter {
57
+ display: none;
58
+ }
59
+
60
+ .Theme_control_igcEffect .Select-SelectContainer_view_default .Select-Control {
61
+ padding-left: 8px;
62
+ padding-right: 8px;
63
+ }
@@ -0,0 +1,10 @@
1
+ .Theme_control_igcEffect .Switch_disabled .Switch-Input:disabled:checked {
2
+ --background-color: var(--color-control-bg-primary);
3
+ opacity: 0.4;
4
+ --content-color: var(--color-control-typo-primary);
5
+ }
6
+
7
+ .Theme_control_igcEffect .Switch_disabled .Switch-Input:disabled:not(:checked) {
8
+ --background-color: var(--color-control-bg-disable);
9
+ --content-color: var(--color-control-typo-primary);
10
+ }
@@ -0,0 +1,18 @@
1
+ .Theme_control_igcEffect .TextField-Input::placeholder {
2
+ color: var(--color-control-typo-placeholder);
3
+ }
4
+
5
+ .Theme_control_igcEffect
6
+ .TextField-InputContainer.TextField-InputContainer_status_alert {
7
+ --container-border-color: var(--color-typo-alert);
8
+ }
9
+
10
+ .Theme_control_igcEffect
11
+ .TextField-InputContainer.TextField-InputContainer_status_warning {
12
+ --container-border-color: var(--color-typo-warning);
13
+ }
14
+
15
+ .Theme_control_igcEffect .TextField-InputContainer_view_default {
16
+ padding-left: 16px;
17
+ padding-right: 16px;
18
+ }
@@ -0,0 +1,19 @@
1
+ .Theme_control_igcEffect {
2
+ --control-radius: 4px;
3
+ --control-border-width: 1px;
4
+ --control-height-l: var(--space-4xl);
5
+ --control-height-m: var(--space-3xl);
6
+ --control-height-s: var(--space-2xl);
7
+ --control-height-xs: var(--space-xl);
8
+ --control-box-size-s: var(--space-s);
9
+ --control-box-size-m: var(--space-m);
10
+ --control-box-size-l: var(--space-l);
11
+ --control-space-l: var(--space-xl);
12
+ --control-space-m: var(--space-l);
13
+ --control-space-s: var(--space-m);
14
+ --control-space-xs: var(--space-s);
15
+ --control-text-size-l: var(--size-text-l);
16
+ --control-text-size-m: var(--size-text-m);
17
+ --control-text-size-s: var(--size-text-s);
18
+ --control-text-size-xs: var(--size-text-xs);
19
+ }
@@ -0,0 +1,107 @@
1
+ @font-face {
2
+ font-family: 'PT Root UI';
3
+ src:
4
+ url('pt-root-ui_vf.woff2') format('woff2'),
5
+ url('pt-root-ui_vf.woff') format('woff');
6
+ font-weight: 100;
7
+ font-style: normal;
8
+ }
9
+
10
+ @font-face {
11
+ font-family: 'PT Root UI';
12
+ src:
13
+ url('pt-root-ui_vf.woff2') format('woff2'),
14
+ url('pt-root-ui_vf.woff') format('woff');
15
+ font-weight: 200;
16
+ font-style: normal;
17
+ }
18
+
19
+ @font-face {
20
+ font-family: 'PT Root UI';
21
+ src:
22
+ url('pt-root-ui_light.woff2') format('woff2'),
23
+ url('pt-root-ui_light.woff') format('woff');
24
+ font-weight: 300;
25
+ font-style: normal;
26
+ }
27
+
28
+ @font-face {
29
+ font-family: 'PT Root UI';
30
+ src:
31
+ url('pt-root-ui_regular.woff2') format('woff2'),
32
+ url('pt-root-ui_regular.woff') format('woff');
33
+ font-weight: normal;
34
+ font-style: normal;
35
+ }
36
+
37
+ @font-face {
38
+ font-family: 'PT Root UI';
39
+ src:
40
+ url('pt-root-ui_regular.woff2') format('woff2'),
41
+ url('pt-root-ui_regular.woff') format('woff');
42
+ font-weight: 400;
43
+ font-style: normal;
44
+ }
45
+
46
+ @font-face {
47
+ font-family: 'PT Root UI';
48
+ src:
49
+ url('pt-root-ui_medium.woff2') format('woff2'),
50
+ url('pt-root-ui_medium.woff') format('woff');
51
+ font-weight: 500;
52
+ font-style: normal;
53
+ }
54
+
55
+ @font-face {
56
+ font-family: 'PT Root UI';
57
+ src:
58
+ url('pt-root-ui_vf.woff2') format('woff2'),
59
+ url('pt-root-ui_vf.woff') format('woff');
60
+ font-weight: 600;
61
+ font-style: normal;
62
+ }
63
+
64
+ @font-face {
65
+ font-family: 'PT Root UI';
66
+ src:
67
+ url('pt-root-ui_bold.woff2') format('woff2'),
68
+ url('pt-root-ui_bold.woff') format('woff');
69
+ font-weight: 700;
70
+ font-style: normal;
71
+ }
72
+
73
+ @font-face {
74
+ font-family: 'PT Root UI';
75
+ src:
76
+ url('pt-root-ui_bold.woff2') format('woff2'),
77
+ url('pt-root-ui_bold.woff') format('woff');
78
+ font-weight: bold;
79
+ font-style: normal;
80
+ }
81
+
82
+ @font-face {
83
+ font-family: 'PT Root UI';
84
+ src:
85
+ url('pt-root-ui_vf.woff2') format('woff2'),
86
+ url('pt-root-ui_vf.woff') format('woff');
87
+ font-weight: 800;
88
+ font-style: normal;
89
+ }
90
+
91
+ @font-face {
92
+ font-family: 'PT Root UI';
93
+ src:
94
+ url('pt-root-ui_vf.woff2') format('woff2'),
95
+ url('pt-root-ui_vf.woff') format('woff');
96
+ font-weight: 900;
97
+ font-style: normal;
98
+ }
99
+
100
+ .Theme_font_igcEffect {
101
+ --font-primary: 'PT Root UI', -apple-system, BlinkMacSystemFont, 'Roboto',
102
+ 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans',
103
+ 'Helvetica Neue', sans-serif;
104
+ --font-mono: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
105
+ monospace;
106
+ font-family: var(--font-primary);
107
+ }
@@ -0,0 +1,8 @@
1
+ .Theme_shadow_igcEffect {
2
+ --shadow-group: 0px 2px 2px var(--color-shadow-group-1),
3
+ 0px 2px 2px var(--color-shadow-group-2);
4
+ --shadow-layer: 0px 4px 4px var(--color-shadow-layer-1),
5
+ 0px 4px 4px var(--color-shadow-layer-2);
6
+ --shadow-modal: 0px 4px 8px 0px var(--color-shadow-modal-1),
7
+ 0px 0px 1px 0px var(--color-shadow-modal-2);
8
+ }
@@ -0,0 +1,27 @@
1
+ .Theme_size_igcEffect {
2
+ --size-text-2xs: 10px;
3
+ --size-text-xs: 12px;
4
+ --size-text-s: 14px;
5
+ --size-text-m: 16px;
6
+ --size-text-l: 18px;
7
+ --size-text-xl: 20px;
8
+ --size-text-2xl: 24px;
9
+ --size-text-3xl: 32px;
10
+ --size-text-4xl: 48px;
11
+ --size-text-5xl: 72px;
12
+ --size-text-6xl: 96px;
13
+ --line-height-text-2xs: 1.1em;
14
+ --line-height-text-xs: 1.2em;
15
+ --line-height-text-s: 1.4em;
16
+ --line-height-text-m: 18px;
17
+ --line-height-text-l: 1.6em;
18
+ --font-weight-text-thin: 100;
19
+ --font-weight-text-extralight: 100;
20
+ --font-weight-text-light: 300;
21
+ --font-weight-text-regular: normal;
22
+ --font-weight-text-medium: 500;
23
+ --font-weight-text-semibold: 600;
24
+ --font-weight-text-bold: bold;
25
+ --font-weight-text-extrabold: 800;
26
+ --font-weight-text-black: 900;
27
+ }
@@ -0,0 +1,14 @@
1
+ .Theme_space_igcEffect {
2
+ --space-3xs: 2px;
3
+ --space-2xs: 4px;
4
+ --space-xs: 8px;
5
+ --space-s: 12px;
6
+ --space-m: 16px;
7
+ --space-l: 20px;
8
+ --space-xl: 24px;
9
+ --space-2xl: 32px;
10
+ --space-3xl: 40px;
11
+ --space-4xl: 48px;
12
+ --space-5xl: 72px;
13
+ --space-6xl: 96px;
14
+ }
@@ -0,0 +1,18 @@
1
+ import '../Theme.css';
2
+ import '../_color/Theme_color_igcEffectDefault.css';
3
+ import '../_color/Theme_color_igcEffectDark.css';
4
+ import '../_color/Theme_color_igcEffectCustom.css';
5
+ import '../_control/Theme_control_igcEffect.css';
6
+ import '../_font/Theme_font_igcEffect.css';
7
+ import '../_size/Theme_size_igcEffect.css';
8
+ import '../_space/Theme_space_igcEffect.css';
9
+ import '../_shadow/Theme_shadow_igcEffect.css';
10
+ import '../_component/Theme_component_igcEffectRctable.css';
11
+ import '../_component/Theme_component_igcEffectCheckbox.css';
12
+ import '../_component/Theme_component_igcEffectSelect.css';
13
+ import '../_component/Theme_component_igcEffectTextField.css';
14
+ import '../_component/Theme_component_igcEffectSwitch.css';
15
+ import '../_component/Theme_component_igcEffectButton.css';
16
+ import '../_component/Theme_component_igcEffectCommon.css';
17
+ import { ThemePreset } from '@consta/uikit/Theme';
18
+ export declare const presetIgcEffectDark: ThemePreset;
@@ -0,0 +1,28 @@
1
+ import '../Theme.css';
2
+ import '../_color/Theme_color_igcEffectDefault.css';
3
+ import '../_color/Theme_color_igcEffectDark.css';
4
+ import '../_color/Theme_color_igcEffectCustom.css';
5
+ import '../_control/Theme_control_igcEffect.css';
6
+ import '../_font/Theme_font_igcEffect.css';
7
+ import '../_size/Theme_size_igcEffect.css';
8
+ import '../_space/Theme_space_igcEffect.css';
9
+ import '../_shadow/Theme_shadow_igcEffect.css';
10
+ import '../_component/Theme_component_igcEffectRctable.css';
11
+ import '../_component/Theme_component_igcEffectCheckbox.css';
12
+ import '../_component/Theme_component_igcEffectSelect.css';
13
+ import '../_component/Theme_component_igcEffectTextField.css';
14
+ import '../_component/Theme_component_igcEffectSwitch.css';
15
+ import '../_component/Theme_component_igcEffectButton.css';
16
+ import '../_component/Theme_component_igcEffectCommon.css';
17
+ export var presetIgcEffectDark = {
18
+ color: {
19
+ primary: 'igcEffectDark',
20
+ accent: 'igcEffectDefault',
21
+ invert: 'igcEffectDefault',
22
+ },
23
+ control: 'igcEffect',
24
+ font: 'igcEffect',
25
+ size: 'igcEffect',
26
+ space: 'igcEffect',
27
+ shadow: 'igcEffect',
28
+ };
@@ -0,0 +1,18 @@
1
+ import '../Theme.css';
2
+ import '../_color/Theme_color_igcEffectDefault.css';
3
+ import '../_color/Theme_color_igcEffectDark.css';
4
+ import '../_color/Theme_color_igcEffectCustom.css';
5
+ import '../_control/Theme_control_igcEffect.css';
6
+ import '../_font/Theme_font_igcEffect.css';
7
+ import '../_size/Theme_size_igcEffect.css';
8
+ import '../_space/Theme_space_igcEffect.css';
9
+ import '../_shadow/Theme_shadow_igcEffect.css';
10
+ import '../_component/Theme_component_igcEffectRctable.css';
11
+ import '../_component/Theme_component_igcEffectCheckbox.css';
12
+ import '../_component/Theme_component_igcEffectSelect.css';
13
+ import '../_component/Theme_component_igcEffectTextField.css';
14
+ import '../_component/Theme_component_igcEffectSwitch.css';
15
+ import '../_component/Theme_component_igcEffectButton.css';
16
+ import '../_component/Theme_component_igcEffectCommon.css';
17
+ import { ThemePreset } from '@consta/uikit/Theme';
18
+ export declare const presetIgcEffectDefault: ThemePreset;
@@ -0,0 +1,28 @@
1
+ import '../Theme.css';
2
+ import '../_color/Theme_color_igcEffectDefault.css';
3
+ import '../_color/Theme_color_igcEffectDark.css';
4
+ import '../_color/Theme_color_igcEffectCustom.css';
5
+ import '../_control/Theme_control_igcEffect.css';
6
+ import '../_font/Theme_font_igcEffect.css';
7
+ import '../_size/Theme_size_igcEffect.css';
8
+ import '../_space/Theme_space_igcEffect.css';
9
+ import '../_shadow/Theme_shadow_igcEffect.css';
10
+ import '../_component/Theme_component_igcEffectRctable.css';
11
+ import '../_component/Theme_component_igcEffectCheckbox.css';
12
+ import '../_component/Theme_component_igcEffectSelect.css';
13
+ import '../_component/Theme_component_igcEffectTextField.css';
14
+ import '../_component/Theme_component_igcEffectSwitch.css';
15
+ import '../_component/Theme_component_igcEffectButton.css';
16
+ import '../_component/Theme_component_igcEffectCommon.css';
17
+ export var presetIgcEffectDefault = {
18
+ color: {
19
+ primary: 'igcEffectDefault',
20
+ accent: 'igcEffectDark',
21
+ invert: 'igcEffectDark',
22
+ },
23
+ control: 'igcEffect',
24
+ font: 'igcEffect',
25
+ size: 'igcEffect',
26
+ space: 'igcEffect',
27
+ shadow: 'igcEffect',
28
+ };
package/package.json ADDED
@@ -0,0 +1,36 @@
1
+ {
2
+ "name": "ui-theme-igc-effect",
3
+ "private": false,
4
+ "version": "1.0.0",
5
+ "type": "module",
6
+ "license": "MIT",
7
+ "files": [
8
+ "dist"
9
+ ],
10
+ "main": "./dist/index.js",
11
+ "exports": {
12
+ ".": {
13
+ "import": "./dist/index.js"
14
+ }
15
+ },
16
+ "scripts": {
17
+ "build:css": "npx postcss dist/**/*.css --replace",
18
+ "build:copy": "node --loader ts-node/esm ./scripts/copyToDist.ts",
19
+ "build:rmAssets": "node --loader ts-node/esm ./scripts/rmAssets.ts",
20
+ "build": "tsc --build && npm run build:copy && npm run build:css && npm run build:rmAssets && npm run prettier:dist",
21
+ "prettier:dist": "prettier --write dist --ignore-path ''"
22
+ },
23
+ "peerDependencies": {
24
+ "@consta/uikit": "4 - 5"
25
+ },
26
+ "devDependencies": {
27
+ "@types/node": "^20.11.5",
28
+ "postcss": "^8.4.33",
29
+ "postcss-cli": "^11.0.0",
30
+ "postcss-discard-comments": "^6.0.1",
31
+ "postcss-url": "^10.1.3",
32
+ "prettier": "^3.2.4",
33
+ "ts-node": "^10.9.2",
34
+ "typescript": "^5.2.2"
35
+ }
36
+ }