@ieeesa-npm/shared-styles 0.0.2 → 0.0.4

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": "@ieeesa-npm/shared-styles",
3
- "version": "0.0.2",
3
+ "version": "0.0.4",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^16.1.0",
6
6
  "@angular/core": "^16.1.0"
package/styles/theme.scss CHANGED
@@ -5,7 +5,8 @@
5
5
  // button variant classes
6
6
  .mat-mdc-button.mat-mdc-button-base {
7
7
  &.mat-primary-button,
8
- &.mat-secondary-button {
8
+ &.mat-secondary-button,
9
+ &.mat-tertiary-button {
9
10
  min-width: 103px;
10
11
  width: auto;
11
12
  min-height: 40px;
@@ -57,9 +58,26 @@
57
58
  color: $ieeesa-background-dark-color;
58
59
  opacity: $ieeesa-opacity-point-38;
59
60
  }
61
+
62
+ &.mat-tertiary-button {
63
+ background-color: $ieeesa-white;
64
+ border: 1px solid $ieeesa-teritary-btn-active;
65
+ color: $ieeesa-teritary-btn-active;
66
+ }
67
+ &.mat-tertiary-button:hover {
68
+ background-color: $ieeesa-tertiary-btn-hover;
69
+ }
70
+ &.mat-tertiary-button:active {
71
+ background: $ieeesa-tertiary-btn-active;
72
+ }
73
+ &.mat-tertiary-button:disabled {
74
+ border: 1px solid $ieeesa-teritary-btn-disabled;
75
+ color: $ieeesa-background-dark-color;
76
+ opacity: $ieeesa-opacity-point-38;
77
+ }
60
78
  }
61
79
  .ieeesa-text-button {
62
- color: $outline-variant;
80
+ color: $ieeesa-outline-variant;
63
81
  background: none;
64
82
  border: none;
65
83
  }
@@ -115,3 +133,15 @@
115
133
  width: 100%;
116
134
  min-width: 312px;
117
135
  }
136
+
137
+ .mat-mdc-form-field {
138
+ @include set-font-style(
139
+ $ieeesa-font-calibri-regular,
140
+ $ieeesa-font-style-normal,
141
+ $ieeesa-font-wt-400,
142
+ $ieeesa-font-size-18,
143
+ $ieeesa-line-height-24,
144
+ $ieeesa-on-surface-variant-color,
145
+ $ieeesa-letter-space-point-5
146
+ );
147
+ }
@@ -86,7 +86,7 @@ $ieeesa-date-container-outline-color: #cac4d0;
86
86
  $ieeesa-select-horizontal-line-color: #595758;
87
87
  $ieeesa-select-border-color: #918f90;
88
88
  $ieeesa-border-gray: #d7d6d6;
89
- $ieeesa-blue: #00b5e2;
89
+ $ieeesa-nav-blue: #00b5e2;
90
90
  $ieeesa-primary-99: #f0f5f9;
91
91
  // Box-shadow options
92
92
  $ieeesa-box-shadow-1: 0px 1px 2px rgba(0, 0, 0, 0.3),
@@ -102,6 +102,7 @@ $ieeesa-box-shadow-5: 0px 8px 12px 6px rgba(0, 0, 0, 0.15),
102
102
  $ieeesa-box-shadow-6: 0px 1px 3px rgba(0, 0, 0, 0.12),
103
103
  0px 1px 1px rgba(0, 0, 0, 0.14), 0px 2px 1px -1px rgba(0, 0, 0, 0.2);
104
104
  $ieeesa-box-shadow-7: 0px 4px 8px 0px rgba(0, 0, 0, 0.25);
105
+ $ieeesa-box-shadow-8: 0px 3px 0px 0px #11B7E5 inset, 0px 4px 24px 0px rgba(0, 0, 0, 0.50);
105
106
  $ieeesa-box-inner-shadow: 0px 1px 0px 0px rgba(0, 0, 0, 0.25) inset;
106
107
  // Angular Material mat-button styles
107
108
  $ieeesa-primary-btn-active: #00629b;
@@ -109,15 +110,20 @@ $ieeesa-primary-btn-hover: #003e65;
109
110
  $ieeesa-primary-btn-disabled: rgba(28, 27, 31, 0.12);
110
111
  $ieeesa-secondary-btn-hover: #a7a8aa;
111
112
  $ieeesa-secondary-btn-active: rgba(29, 25, 43, 0.12);
113
+ $ieeesa-teritary-btn-active: #00629b;
114
+ $ieeesa-tertiary-btn-hover: rgba(103, 80, 164, 0.08);
115
+ $ieeesa-tertiary-btn-active: rgba(103, 80, 164, 0.12);
116
+ $ieeesa-teritary-btn-disabled: rgba(28, 27, 31, 0.12);
112
117
  // Opacity
113
118
  $ieeesa-opacity-point-38: 0.38;
114
119
  // IEEE SA Branding
115
120
  $ieeesa-primary-brand-10: #002c37;
116
121
  $ieeesa-primary-brand-30: #0188aa;
117
122
  $ieeesa-brand-grey-50: #777a7e;
118
- $outline-variant: #cac4d0;
123
+ $ieeesa-outline-variant: #cac4d0;
119
124
  $ieeesa-dark-grey: #63666a;
120
125
  $ieeesa-neutral-variant-50: #79747e;
121
126
  $ieeesa-success-color: #c0deef;
122
127
  $ieeesa-error-color: #f9dedc;
123
128
  $ieeesa-warning-color: #ffefd3;
129
+ $ieeesa-form-field-background: linear-gradient(0deg, rgba(0, 98, 155, 0.05) 0%, rgba(0, 98, 155, 0.05) 100%), #FFFBFE;