azion-theme 1.5.3 → 1.5.5

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/CHANGELOG.md CHANGED
@@ -1,3 +1,15 @@
1
+ ## [1.5.5](https://github.com/aziontech/azion-theme/compare/v1.5.4...v1.5.5) (2024-08-07)
2
+
3
+ ### Bug Fixes
4
+
5
+ * tags dark/light variables + primary color on light mode ([b83c5d6](https://github.com/aziontech/azion-theme/commit/b83c5d67342482f8ff92c231622a0184087c4674))
6
+
7
+ ## [1.5.4](https://github.com/aziontech/azion-theme/compare/v1.5.3...v1.5.4) (2024-08-07)
8
+
9
+ ### Bug Fixes
10
+
11
+ * button secondary color priority ([0d0f457](https://github.com/aziontech/azion-theme/commit/0d0f457c4a54394a7a2f2526ea8449b5b0c5a055))
12
+
1
13
  ## [1.5.3](https://github.com/aziontech/azion-theme/compare/v1.5.2...v1.5.3) (2024-08-07)
2
14
 
3
15
  ### Bug Fixes
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "azion-theme",
3
3
  "type": "module",
4
- "version": "1.5.3",
4
+ "version": "1.5.5",
5
5
  "author": "aziontech",
6
6
  "contributors": [
7
7
  {
@@ -46,7 +46,7 @@ $colors: (
46
46
  "bluegray": #607d8b,
47
47
  "purple": #9c27b0,
48
48
  "red": #ff4032,
49
- "primary": #f4f4f4,
49
+ "primary": #2b2b2b,
50
50
  );
51
51
 
52
52
  @import "./variables/general";
@@ -215,6 +215,14 @@ $colors: (
215
215
  0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 2px 4px -1px rgba(0, 0, 0, 0.2),
216
216
  0px 0px 0px 1px #3c3c3c;
217
217
  --horizontal-menu-bg: #1c1c1c;
218
+ --p-tag-background: #ff6c4729;
219
+ --p-tag-color: #ff6c47;
220
+ --p-tag-success-background: #16a34a33;
221
+ --p-tag-success-color: #39e478;
222
+ --p-tag-warning-background: #ffb64d33;
223
+ --p-tag-warning-color: #ffb64d;
224
+ --p-tag-danger-background: #f53d3d33;
225
+ --p-tag-danger-color: #f53d3d;
218
226
  }
219
227
 
220
228
  :root.azion.azion-light {
@@ -225,7 +233,7 @@ $colors: (
225
233
  --text-color-link: #3265cb;
226
234
  --text-color-link-hover: #2851a4;
227
235
 
228
- --primary-color: #f4f4f4;
236
+ --primary-color: #2b2b2b;
229
237
  --primary-dark-color: #000;
230
238
  --primary-darker-color: #000;
231
239
  --primary-text-color: #f4f4f4;
@@ -363,4 +371,12 @@ $colors: (
363
371
  --overlay-menu-shadow: 0px 1px 4px 0px rgba(0, 0, 0, 0.04),
364
372
  0px 0px 0px 1px #e7e7e7;
365
373
  --horizontal-menu-bg: #f8f9fa;
374
+ --p-tag-background: #ff6c4729;
375
+ --p-tag-color: #ff6c47;
376
+ --p-tag-success-background: #16a34a33;
377
+ --p-tag-success-color: #16a34a;
378
+ --p-tag-warning-background: #c5970733;
379
+ --p-tag-warning-color: #c59707;
380
+ --p-tag-danger-background: #ef404033;
381
+ --p-tag-danger-color: #ef4040;
366
382
  }
@@ -4,9 +4,6 @@
4
4
  border: 2px solid var(--surface-border) !important;
5
5
  .p-checkbox-icon {
6
6
  color: white !important;
7
-
8
- &.p-icon {
9
- }
10
7
  }
11
8
 
12
9
  &.p-highlight {
@@ -37,22 +34,3 @@
37
34
  @include invalid-input();
38
35
  }
39
36
  }
40
-
41
- .p-input-filled {
42
- .p-checkbox {
43
- .p-checkbox-box {
44
- &.p-highlight {
45
- }
46
- }
47
-
48
- &:not(.p-checkbox-disabled) {
49
- .p-checkbox-box {
50
- &:hover {
51
- }
52
-
53
- &.p-highlight:hover {
54
- }
55
- }
56
- }
57
- }
58
- }
@@ -1,17 +1,22 @@
1
1
  // Custom Tag
2
- @use 'sass:math';
2
+ @use "sass:math";
3
3
 
4
4
  .p-tag {
5
- background: #ff6c4729 !important;
6
- color: #ff6c47 !important;
5
+ background: var(--p-tag-background) !important;
6
+ color: var(--p-tag-color) !important;
7
7
  font-size: 0.75rem !important;
8
8
  font-weight: 500 !important;
9
9
  letter-spacing: 0.01rem;
10
10
  padding: $tagPadding;
11
11
 
12
- &.p-tag-success {
13
- background-color: #16a34a33 !important;
14
- color: #39e478 !important;
12
+ .p-tag-icon {
13
+ margin-right: math.div($inlineSpacing, 2);
14
+ font-size: $badgeFontSize;
15
+
16
+ &.p-icon {
17
+ width: $badgeFontSize;
18
+ height: $badgeFontSize;
19
+ }
15
20
  }
16
21
 
17
22
  &.p-tag-info {
@@ -20,23 +25,18 @@
20
25
  box-shadow: 0px 0px 0px 1px var(--surface-border) !important;
21
26
  }
22
27
 
23
- &.p-tag-warning {
24
- background-color: #ffb64d33 !important;
25
- color: #ffb64d !important;
28
+ &.p-tag-success {
29
+ background-color: var(--p-tag-success-background) !important;
30
+ color: var(--p-tag-success-color) !important;
26
31
  }
27
32
 
28
- &.p-tag-danger {
29
- background-color: #f53d3d33 !important;
30
- color: #f53d3d !important;
33
+ &.p-tag-warning {
34
+ background-color: var(--p-tag-warning-background) !important;
35
+ color: var(--p-tag-warning-color) !important;
31
36
  }
32
37
 
33
- .p-tag-icon {
34
- margin-right: math.div($inlineSpacing, 2);
35
- font-size: $badgeFontSize;
36
-
37
- &.p-icon {
38
- width: $badgeFontSize;
39
- height: $badgeFontSize;
40
- }
38
+ &.p-tag-danger {
39
+ background-color: var(--p-tag-danger-background) !important;
40
+ color: var(--p-tag-danger-color) !important;
41
41
  }
42
42
  }
@@ -4,64 +4,6 @@
4
4
  .p-toast-message-content {
5
5
  background: var(--surface-card) !important;
6
6
  border-radius: $borderRadius !important;
7
- .p-toast-message-text {
8
- }
9
-
10
- .p-toast-message-icon {
11
- &.p-icon {
12
- }
13
- }
14
-
15
- .p-toast-summary {
16
- }
17
-
18
- .p-toast-detail {
19
- }
20
- }
21
-
22
- .p-toast-icon-close {
23
- border: 1px solid var(--surface-border) !important;
24
-
25
- &:hover {
26
- }
27
-
28
- &:focus-visible {
29
- }
30
- }
31
-
32
- &.p-toast-message-info {
33
- background: var(--surface-section) !important;
34
-
35
- .p-toast-message-icon {
36
- }
37
- .p-toast-icon-close {
38
- }
39
- }
40
-
41
- &.p-toast-message-success {
42
- background: var(--surface-section) !important;
43
-
44
- .p-toast-message-icon {
45
- }
46
- .p-toast-icon-close {
47
- }
48
- }
49
-
50
- &.p-toast-message-warn {
51
- background: var(--surface-section) !important;
52
-
53
- .p-toast-message-icon {
54
- }
55
- .p-toast-icon-close {
56
- }
57
- }
58
-
59
- &.p-toast-message-error {
60
- background: var(--surface-section) !important;
61
- .p-toast-message-icon {
62
- }
63
- .p-toast-icon-close {
64
- }
65
7
  }
66
8
  }
67
9
  }
@@ -87,7 +87,7 @@ $secondaryButtonBg: var(--secondary-button-bg);
87
87
 
88
88
  /// Text color of a secondary button
89
89
  /// @group button
90
- $secondaryButtonTextColor: var(--secondary-button-text-color);
90
+ $secondaryButtonTextColor: var(--secondary-button-text-color) !important;
91
91
 
92
92
  /// Border of a secondary button
93
93
  /// @group button