l-min-components 1.0.297 → 1.0.300

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "l-min-components",
3
- "version": "1.0.297",
3
+ "version": "1.0.300",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "src/assets",
@@ -1,4 +1,4 @@
1
- @use "../../variables/colors" as c;
1
+ @use "./variables/colors" as c;
2
2
 
3
3
  @mixin defaultPadding {
4
4
  padding: 14px 19px;
@@ -0,0 +1,25 @@
1
+ $secondary-color-main: #00c2c2;
2
+ $secondary-color-1: #3ac2c2;
3
+ $secondary-color-2: #74c2c2;
4
+ $secondary-color-3: #b0dcdc;
5
+ $secondary-color-dark: #009999;
6
+ $primary-color-main: #febf10;
7
+ $primary-1: #fecf4c;
8
+ $primary-2: #fee398;
9
+ $primary-3: #fef1cb;
10
+ $success: #30d468;
11
+ $primary-dark: #e5ad0e;
12
+ $warning: #f39b33;
13
+ $error: #f95454;
14
+ $black: #0c0d0d;
15
+ $white: #ffffff;
16
+ $neutral-100: #0c0d0d;
17
+ $neutral-90: #313333;
18
+ $neutral-80: #4a4d4d;
19
+ $neutral-70: #636666;
20
+ $neutral-60: #7c8080;
21
+ $neutral-50: #949999;
22
+ $neutral-40: #adb2b2;
23
+ $neutral-30: #c6cccc;
24
+ $neutral-20: #dfe5e5;
25
+ $neutral-10: #f5f7f7;
@@ -0,0 +1,7 @@
1
+ @use "./colors" as c;
2
+
3
+ @mixin header-one {
4
+ color: c.$secondary-color-main;
5
+ font-size: 28px;
6
+ font-weight: 700;
7
+ }
@@ -0,0 +1,83 @@
1
+ @use "./colors" as c;
2
+ @mixin primary-button {
3
+ background-color: c.$primary-color-main;
4
+ padding: 11px;
5
+ color: white;
6
+ font-weight: 700;
7
+ font-size: 16px;
8
+ border: none;
9
+ border-radius: 12px;
10
+ width: calc(100% - 30px);
11
+ cursor: pointer;
12
+ margin-bottom: 35px;
13
+ box-shadow: 0px 10px 20px rgba(254, 191, 16, 0.25);
14
+ }
15
+ @mixin input {
16
+ padding: 11px 20px;
17
+ color: c.$neutral-70;
18
+ border-radius: 12px;
19
+ transition: 0.4s all;
20
+ border: 1px solid c.$secondary-color-main;
21
+ font-size: 16px;
22
+ &::placeholder {
23
+ color: c.$neutral-40;
24
+ }
25
+ &.error {
26
+ border-color: c.$error;
27
+ }
28
+ }
29
+
30
+ @mixin inputLabel {
31
+ display: grid;
32
+ gap: 8px;
33
+ width: 100%;
34
+ margin-bottom: 30px;
35
+ position: relative;
36
+ .message {
37
+ display: none;
38
+ position: absolute;
39
+ left: 0;
40
+ bottom: -20px;
41
+ font-size: 15px;
42
+ }
43
+ span {
44
+ font-size: 14px;
45
+ font-weight: 600;
46
+ color: c.$neutral-70;
47
+ }
48
+ input,
49
+ .input-box {
50
+ @include input;
51
+ }
52
+
53
+ &.error {
54
+ .message {
55
+ color: c.$error;
56
+ display: block;
57
+ }
58
+ input {
59
+ border-color: c.$error;
60
+ }
61
+ }
62
+ }
63
+
64
+ @mixin scrollBars(
65
+ $size: 8px,
66
+ $foreground-color: c.$neutral-40,
67
+ $background-color: transparent
68
+ ) {
69
+ // For Chrome & Safari
70
+ &::-webkit-scrollbar {
71
+ width: $size;
72
+ height: $size;
73
+ }
74
+ &::-webkit-scrollbar-thumb {
75
+ background: $foreground-color;
76
+ border-radius: 10px;
77
+ }
78
+ &::-webkit-scrollbar-track {
79
+ background: $background-color;
80
+ }
81
+ // Standard version (Firefox only for now)
82
+ scrollbar-color: $foreground-color $background-color;
83
+ }