prlg-ui 1.8.328 → 1.8.330

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.
@@ -87,6 +87,24 @@
87
87
  --theme-primary-icon-default: var(--theme-primary-500);
88
88
  }
89
89
 
90
+ //SECONDARY
91
+ :root {
92
+ --theme-secondary-50: #f1f4f5;
93
+ --theme-secondary-100: #ebeff1;
94
+ --theme-secondary-150: #ecf2f4;
95
+ --theme-secondary-200: #d6e2e6;
96
+ --theme-secondary-250: #c7d9df;
97
+ --theme-secondary-300: #b3c9d0;
98
+ --theme-secondary-350: #a2c0ca;
99
+ --theme-secondary-400: #7da7b5;
100
+ --theme-secondary-450: #588ea0;
101
+ --theme-secondary-500: #3f7587;
102
+ --theme-secondary-600: #315b69;
103
+ --theme-secondary-700: #2a4e5a;
104
+ --theme-secondary-800: #23414b;
105
+ --theme-secondary-900: #15272d;
106
+ }
107
+
90
108
  //INFO
91
109
  :root {
92
110
  --theme-info-100: #e3eefa;
@@ -3,7 +3,7 @@
3
3
  @use "./animations.scss";
4
4
  @use "./mixins.scss";
5
5
  @use "./fonts.scss";
6
- @use "./reset.scss";
6
+ @use "./reset.css";
7
7
  @use "./typography.scss";
8
8
 
9
9
  @use "./global.scss";
@@ -0,0 +1,64 @@
1
+ @layer ui-kit {
2
+ * {
3
+ margin: 0;
4
+ padding: 0;
5
+ box-sizing: border-box;
6
+ }
7
+
8
+ html,
9
+ body {
10
+ height: 100%;
11
+ width: 100%;
12
+
13
+ font-size: var(--font-size);
14
+ line-height: 1.5;
15
+ }
16
+
17
+ body {
18
+ font-family: "Inter", sans-serif;
19
+ -webkit-font-smoothing: antialiased;
20
+ -moz-osx-font-smoothing: grayscale;
21
+
22
+ color: var(--theme-neutral-950);
23
+ }
24
+
25
+ a {
26
+ text-decoration: none;
27
+ color: inherit;
28
+ }
29
+
30
+ button {
31
+ border: none;
32
+ background: none;
33
+ cursor: pointer;
34
+ font: inherit;
35
+ }
36
+
37
+ ul,
38
+ ol {
39
+ list-style: none;
40
+ }
41
+
42
+ img {
43
+ max-width: 100%;
44
+ height: auto;
45
+ display: block;
46
+ }
47
+
48
+ input,
49
+ textarea,
50
+ select {
51
+ font: inherit;
52
+ border: none;
53
+ outline: none;
54
+ }
55
+
56
+ h1,
57
+ h2,
58
+ h3,
59
+ h4,
60
+ h5,
61
+ h6 {
62
+ font-weight: normal;
63
+ }
64
+ }
@@ -18,6 +18,29 @@
18
18
  }
19
19
  }
20
20
 
21
+ //Переменные для INPUT
22
+ :root {
23
+ --input-height-small: 36px;
24
+ --input-height: 40px;
25
+ --input-height-large: 44px;
26
+
27
+ --input-font-size-small: 0.75rem;
28
+ --input-font-size: 0.9375rem;
29
+ --input-font-size-large: 1rem;
30
+
31
+ --input-padding: 0 8px;
32
+
33
+ --input-color-text: var(--theme-neutral-text-body);
34
+ --input-color-placeholder: var(--theme-neutral-500);
35
+
36
+ --input-border-color: var(--theme-neutral-border-default);
37
+ --input-border-color-hover: var(--theme-primary-300);
38
+ --input-border-color-focus: var(--theme-primary-500);
39
+ --input-border-color-disabled: var(--theme-neutral-border-disabled);
40
+
41
+ --input-error-color: var(--theme-error-500);
42
+ }
43
+
21
44
  //Удалить после перехода на reka-ui
22
45
  :root {
23
46
  --modal-z-index: 1000;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "prlg-ui",
3
3
  "private": false,
4
- "version": "1.8.328",
4
+ "version": "1.8.330",
5
5
  "type": "module",
6
6
  "main": "dist/prlg-ui.umd.js",
7
7
  "module": "dist/prlg-ui.es.js",
@@ -1,62 +0,0 @@
1
- * {
2
- margin: 0;
3
- padding: 0;
4
- box-sizing: border-box;
5
- }
6
-
7
- html,
8
- body {
9
- height: 100%;
10
- width: 100%;
11
-
12
- font-size: var(--font-size);
13
- line-height: 1.5;
14
- }
15
-
16
- body {
17
- font-family: "Inter", sans-serif;
18
- -webkit-font-smoothing: antialiased;
19
- -moz-osx-font-smoothing: grayscale;
20
-
21
- color: var(--theme-neutral-950);
22
- }
23
-
24
- a {
25
- text-decoration: none;
26
- color: inherit;
27
- }
28
-
29
- button {
30
- border: none;
31
- background: none;
32
- cursor: pointer;
33
- font: inherit;
34
- }
35
-
36
- ul,
37
- ol {
38
- list-style: none;
39
- }
40
-
41
- img {
42
- max-width: 100%;
43
- height: auto;
44
- display: block;
45
- }
46
-
47
- input,
48
- textarea,
49
- select {
50
- font: inherit;
51
- border: none;
52
- outline: none;
53
- }
54
-
55
- h1,
56
- h2,
57
- h3,
58
- h4,
59
- h5,
60
- h6 {
61
- font-weight: normal;
62
- }