new-front-common-library 0.0.31 → 0.0.32
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/README.md +9 -5
- package/assets/css/_dark-theme.scss +10 -7
- package/assets/css/_global.scss +11 -5
- package/assets/css/_light-theme.scss +12 -7
- package/assets/css/_mat-palettes.scss +60 -60
- package/assets/css/_themes.scss +10 -10
- package/assets/i18n/front-common/de.json +1 -1
- package/assets/i18n/front-common/en.json +1 -1
- package/assets/i18n/front-common/fr.json +1 -1
- package/bundles/new-front-common-library.umd.js +14 -12
- package/bundles/new-front-common-library.umd.js.map +1 -1
- package/esm2015/lib/util/array.service.js +1 -1
- package/esm2015/lib/util/component/header/header.component.js +2 -2
- package/esm2015/lib/util/component/overlay/overlay.component.js +2 -2
- package/esm2015/lib/util/component/overlay/overlay.service.js +1 -1
- package/esm2015/lib/util/component/popup/popup-login/popup-login.component.js +4 -3
- package/esm2015/lib/util/component/sub-header/sub-header.component.js +4 -3
- package/esm2015/lib/util/config.js +1 -1
- package/esm2015/lib/util/date/PeriodModel.js +1 -1
- package/esm2015/lib/util/date/date-adapter.js +1 -1
- package/esm2015/lib/util/date/date-format-constants.js +1 -1
- package/esm2015/lib/util/date/date.util.js +1 -1
- package/esm2015/lib/util/decorators/theme.decorator.js +1 -1
- package/esm2015/lib/util/decorators/user.decorator.js +1 -1
- package/esm2015/lib/util/directives/my-number-formatter-directive.js +1 -1
- package/esm2015/lib/util/event/header/header-events.service.js +1 -1
- package/esm2015/lib/util/event/storage/local-storage-events.service.js +1 -1
- package/esm2015/lib/util/event/storage/session-storage-events.service.js +1 -1
- package/esm2015/lib/util/i18n/de.js +1 -1
- package/esm2015/lib/util/i18n/en.js +1 -1
- package/esm2015/lib/util/i18n/fr.js +1 -1
- package/esm2015/lib/util/interfaces/permissions.interface.js +1 -1
- package/esm2015/lib/util/models/any-line.model.js +1 -1
- package/esm2015/lib/util/models/audio-content.model.js +1 -1
- package/esm2015/lib/util/models/authPermission.model.js +1 -1
- package/esm2015/lib/util/models/authUser.model.js +1 -1
- package/esm2015/lib/util/models/basic.model.js +1 -1
- package/esm2015/lib/util/models/box-set-item.model.js +1 -1
- package/esm2015/lib/util/models/disc-program.model.js +1 -1
- package/esm2015/lib/util/models/disc.model.js +1 -1
- package/esm2015/lib/util/models/eventType.model.js +1 -1
- package/esm2015/lib/util/models/expenditure-commitment/purchase-order-file.model.js +3 -2
- package/esm2015/lib/util/models/lang-line.model.js +1 -1
- package/esm2015/lib/util/models/legal/contract-work.model.js +1 -1
- package/esm2015/lib/util/models/legal/contract-work2.model.js +1 -1
- package/esm2015/lib/util/models/media-line.model.js +1 -1
- package/esm2015/lib/util/models/menu-language.model.js +1 -1
- package/esm2015/lib/util/models/milo/territory.model.js +1 -1
- package/esm2015/lib/util/models/permission.model.js +1 -1
- package/esm2015/lib/util/models/product-box-set.model.js +1 -1
- package/esm2015/lib/util/models/product-disc-detail.model.js +1 -1
- package/esm2015/lib/util/models/product-disc.model.js +1 -1
- package/esm2015/lib/util/models/product-division.model.js +1 -1
- package/esm2015/lib/util/models/product-type.model.js +1 -1
- package/esm2015/lib/util/models/product.model.js +1 -1
- package/esm2015/lib/util/models/program.model.js +1 -1
- package/esm2015/lib/util/models/purchase-order/purchase-order.model.js +1 -1
- package/esm2015/lib/util/models/referential/WorkVersionArticleDto.js +1 -1
- package/esm2015/lib/util/models/referential/adress-type.model.js +1 -1
- package/esm2015/lib/util/models/referential/adress.model.js +1 -1
- package/esm2015/lib/util/models/referential/attached-file.model.js +1 -1
- package/esm2015/lib/util/models/referential/bank-account.model.js +1 -1
- package/esm2015/lib/util/models/referential/bank-accounts.model.js +1 -1
- package/esm2015/lib/util/models/referential/basic-hierarchy.model.js +1 -1
- package/esm2015/lib/util/models/referential/broadcast-list-item.model.js +3 -2
- package/esm2015/lib/util/models/referential/color.model.js +1 -1
- package/esm2015/lib/util/models/referential/company.model.js +1 -1
- package/esm2015/lib/util/models/referential/content-type.model.js +1 -1
- package/esm2015/lib/util/models/referential/content.model.js +3 -2
- package/esm2015/lib/util/models/referential/cost-center-criteria-values.model.js +1 -1
- package/esm2015/lib/util/models/referential/cost-center-criteria.model.js +3 -2
- package/esm2015/lib/util/models/referential/cost-center.model.js +1 -1
- package/esm2015/lib/util/models/referential/coutry.model.js +1 -1
- package/esm2015/lib/util/models/referential/currency.model.js +1 -1
- package/esm2015/lib/util/models/referential/editorial-content.model.js +1 -1
- package/esm2015/lib/util/models/referential/fixing.model.js +1 -1
- package/esm2015/lib/util/models/referential/flat-media.model.js +1 -1
- package/esm2015/lib/util/models/referential/format-image.model.js +1 -1
- package/esm2015/lib/util/models/referential/format-type.model.js +1 -1
- package/esm2015/lib/util/models/referential/format.model.js +1 -1
- package/esm2015/lib/util/models/referential/fsk-index.model.js +1 -1
- package/esm2015/lib/util/models/referential/fsk.model.js +1 -1
- package/esm2015/lib/util/models/referential/function.model.js +1 -1
- package/esm2015/lib/util/models/referential/genre.model.js +1 -1
- package/esm2015/lib/util/models/referential/invoice-product-type.model.js +1 -1
- package/esm2015/lib/util/models/referential/keywords.model.js +1 -1
- package/esm2015/lib/util/models/referential/language.model.js +1 -1
- package/esm2015/lib/util/models/referential/media-filter.model.js +1 -1
- package/esm2015/lib/util/models/referential/media.model.js +1 -1
- package/esm2015/lib/util/models/referential/module.model.js +1 -1
- package/esm2015/lib/util/models/referential/parameter.model.js +1 -1
- package/esm2015/lib/util/models/referential/participant.model.js +3 -2
- package/esm2015/lib/util/models/referential/person.model.js +1 -1
- package/esm2015/lib/util/models/referential/project-status.model.js +1 -1
- package/esm2015/lib/util/models/referential/quota.model.js +1 -1
- package/esm2015/lib/util/models/referential/referential-entity-state.model.js +3 -2
- package/esm2015/lib/util/models/referential/referential-value.model.js +3 -2
- package/esm2015/lib/util/models/referential/referentiel.model.js +1 -1
- package/esm2015/lib/util/models/referential/restriction.model.js +3 -2
- package/esm2015/lib/util/models/referential/sap-order.model.js +3 -2
- package/esm2015/lib/util/models/referential/service-error.model.js +1 -1
- package/esm2015/lib/util/models/referential/sound.model.js +1 -1
- package/esm2015/lib/util/models/referential/territories-languages.model.js +1 -1
- package/esm2015/lib/util/models/referential/territory-filter.model.js +1 -1
- package/esm2015/lib/util/models/referential/territory.model.js +1 -1
- package/esm2015/lib/util/models/referential/theme.model.js +1 -1
- package/esm2015/lib/util/models/referential/third-party-creation-request.model.js +1 -1
- package/esm2015/lib/util/models/referential/third-party-module.model.js +1 -1
- package/esm2015/lib/util/models/referential/third-party.model.js +1 -1
- package/esm2015/lib/util/models/referential/translated-value-model.js +3 -2
- package/esm2015/lib/util/models/referential/tva.model.js +1 -1
- package/esm2015/lib/util/models/referential/type-export.model.js +1 -1
- package/esm2015/lib/util/models/referential/type-tva-company-territory.model.js +1 -1
- package/esm2015/lib/util/models/referential/type-tva.model.js +1 -1
- package/esm2015/lib/util/models/referential/work-addons-model.js +3 -2
- package/esm2015/lib/util/models/referential/work-appartenance.model.js +1 -1
- package/esm2015/lib/util/models/referential/work-genre.model.js +3 -2
- package/esm2015/lib/util/models/referential/work-language.model.js +3 -2
- package/esm2015/lib/util/models/referential/work-milo.model.js +1 -1
- package/esm2015/lib/util/models/referential/work-participant.model.js +3 -2
- package/esm2015/lib/util/models/referential/work-restrictions-model.js +3 -2
- package/esm2015/lib/util/models/referential/work-theme.model.js +3 -2
- package/esm2015/lib/util/models/referential/work-title.model.js +3 -2
- package/esm2015/lib/util/models/referential/work-version-origin.model.js +3 -2
- package/esm2015/lib/util/models/referential/work-versions-used.model.js +3 -2
- package/esm2015/lib/util/models/referential/work-versions.model.js +1 -1
- package/esm2015/lib/util/models/referential/work-year-production.model.js +3 -2
- package/esm2015/lib/util/models/referential/work.model.js +1 -1
- package/esm2015/lib/util/models/referential/zone.model.js +1 -1
- package/esm2015/lib/util/models/referentiel.model.js +1 -1
- package/esm2015/lib/util/models/search-response.model.js +1 -1
- package/esm2015/lib/util/models/section.model.js +1 -1
- package/esm2015/lib/util/models/select/options.model.js +1 -1
- package/esm2015/lib/util/models/select/select.model.js +1 -1
- package/esm2015/lib/util/models/subtitle-content.model.js +1 -1
- package/esm2015/lib/util/models/user-video.model.js +3 -2
- package/esm2015/lib/util/models/user.model.js +1 -1
- package/esm2015/lib/util/models/video-content.model.js +1 -1
- package/esm2015/lib/util/number.validator.js +3 -2
- package/esm2015/lib/util/permissions/permissions.service.js +1 -1
- package/esm2015/lib/util/pipes/capitalizefirst.pipe.js +1 -1
- package/esm2015/lib/util/pipes/comma-separated-number.pipe.js +1 -1
- package/esm2015/lib/util/pipes/common-translate.pipe.js +1 -1
- package/esm2015/lib/util/pipes/display-html.pipe.js +1 -1
- package/esm2015/lib/util/pipes/display-null.pipe.js +1 -1
- package/esm2015/lib/util/pipes/format-number-input.pipe.js +1 -1
- package/esm2015/lib/util/pipes/local-date.pipe.js +1 -1
- package/esm2015/lib/util/pipes/my-number.pipe.js +1 -1
- package/esm2015/lib/util/pipes/trim-string.pipe.js +1 -1
- package/esm2015/lib/util/regex/regex.service.js +1 -1
- package/esm2015/lib/util/services/api/common-api.service.js +1 -1
- package/esm2015/lib/util/services/form-action/form-actions-events.service.js +2 -2
- package/esm2015/lib/util/services/guard/auth.guard.js +1 -1
- package/esm2015/lib/util/services/guard/login.guard.js +1 -1
- package/esm2015/lib/util/services/history/history.service.js +1 -1
- package/esm2015/lib/util/services/interceptor/auth.interceptor.js +1 -1
- package/esm2015/lib/util/services/jwt-security/aes.service.js +1 -1
- package/esm2015/lib/util/services/jwt-security/interceptorhttp.service.js +1 -1
- package/esm2015/lib/util/services/jwt-security/jwt.helpher.js +1 -1
- package/esm2015/lib/util/services/storage/local-storage.service.js +1 -1
- package/esm2015/lib/util/services/storage/session-storage.service.js +1 -1
- package/esm2015/lib/util/services/translate-language/lang.service.js +1 -1
- package/esm2015/lib/util/sort.js +7 -7
- package/esm2015/lib/util/theme/theme-event.service.js +1 -1
- package/esm2015/lib/util/toaster/toaster-events.service.js +1 -1
- package/esm2015/lib/util/util.module.js +1 -1
- package/esm2015/public-api.js +1 -1
- package/fesm2015/new-front-common-library.js +52 -31
- package/fesm2015/new-front-common-library.js.map +1 -1
- package/lib/util/date/date.util.d.ts +1 -1
- package/lib/util/number.validator.d.ts +1 -1
- package/lib/util/services/api/common-api.service.d.ts +1 -2
- package/lib/util/sort.d.ts +1 -1
- package/lib/util/util.module.d.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -4,16 +4,19 @@ This library was generated with [Angular CLI](https://github.com/angular/angular
|
|
|
4
4
|
|
|
5
5
|
## Code scaffolding
|
|
6
6
|
|
|
7
|
-
Run `ng generate component component-name --project new-front-common-library` to generate a new component. You can also
|
|
8
|
-
|
|
7
|
+
Run `ng generate component component-name --project new-front-common-library` to generate a new component. You can also
|
|
8
|
+
use `ng generate directive|pipe|service|class|guard|interface|enum|module --project new-front-common-library`.
|
|
9
|
+
> Note: Don't forget to add `--project new-front-common-library` or else it will be added to the default project in your `angular.json` file.
|
|
9
10
|
|
|
10
11
|
## Build
|
|
11
12
|
|
|
12
|
-
Run `ng build new-front-common-library` to build the project. The build artifacts will be stored in the `dist/`
|
|
13
|
+
Run `ng build new-front-common-library` to build the project. The build artifacts will be stored in the `dist/`
|
|
14
|
+
directory.
|
|
13
15
|
|
|
14
16
|
## Publishing
|
|
15
17
|
|
|
16
|
-
After building your library with `ng build new-front-common-library`, go to the dist
|
|
18
|
+
After building your library with `ng build new-front-common-library`, go to the dist
|
|
19
|
+
folder `cd dist/new-front-common-library` and run `npm publish`.
|
|
17
20
|
|
|
18
21
|
## Running unit tests
|
|
19
22
|
|
|
@@ -21,4 +24,5 @@ Run `ng test new-front-common-library` to execute the unit tests via [Karma](htt
|
|
|
21
24
|
|
|
22
25
|
## Further help
|
|
23
26
|
|
|
24
|
-
To get more help on the Angular CLI use `ng help` or go check out
|
|
27
|
+
To get more help on the Angular CLI use `ng help` or go check out
|
|
28
|
+
the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
|
|
@@ -181,10 +181,11 @@
|
|
|
181
181
|
.table-header-text {
|
|
182
182
|
color: $gray-strong;
|
|
183
183
|
font-size: 14px;
|
|
184
|
-
padding-bottom:10px;
|
|
184
|
+
padding-bottom: 10px;
|
|
185
185
|
font-weight: bold;
|
|
186
186
|
}
|
|
187
|
-
|
|
187
|
+
|
|
188
|
+
.action-button {
|
|
188
189
|
background-color: $blue-primary !important;
|
|
189
190
|
border-color: $blue-primary !important;
|
|
190
191
|
color: white !important;
|
|
@@ -198,10 +199,10 @@
|
|
|
198
199
|
background: $background-lvl2 !important
|
|
199
200
|
}
|
|
200
201
|
|
|
201
|
-
.cancel-button{
|
|
202
|
+
.cancel-button {
|
|
202
203
|
background-color: $red-primary !important;
|
|
203
204
|
color: white !important;
|
|
204
|
-
border-color:
|
|
205
|
+
border-color: $red-primary !important;
|
|
205
206
|
}
|
|
206
207
|
|
|
207
208
|
.save-button {
|
|
@@ -244,6 +245,7 @@
|
|
|
244
245
|
::-webkit-scrollbar-thumb:hover {
|
|
245
246
|
background: $blue-primary;
|
|
246
247
|
}
|
|
248
|
+
|
|
247
249
|
//END SCROLL BAR
|
|
248
250
|
|
|
249
251
|
.mat-select-panel {
|
|
@@ -506,8 +508,8 @@
|
|
|
506
508
|
}
|
|
507
509
|
|
|
508
510
|
.mat-calendar-body-today {
|
|
509
|
-
background: rgb(0 0 0 / 40%)!important;
|
|
510
|
-
border-color: rgb(0 0 0 / 40%)!important;
|
|
511
|
+
background: rgb(0 0 0 / 40%) !important;
|
|
512
|
+
border-color: rgb(0 0 0 / 40%) !important;
|
|
511
513
|
color: white !important;
|
|
512
514
|
}
|
|
513
515
|
|
|
@@ -532,6 +534,7 @@
|
|
|
532
534
|
display: flex;
|
|
533
535
|
margin: 0% calc(33% / 7 - 16px);
|
|
534
536
|
}
|
|
537
|
+
|
|
535
538
|
// END CALENDAR
|
|
536
539
|
|
|
537
540
|
.mat-raised-button.mat-accent {
|
|
@@ -576,7 +579,7 @@
|
|
|
576
579
|
color: #FFFFFF !important;
|
|
577
580
|
}
|
|
578
581
|
|
|
579
|
-
.icon-box-class{
|
|
582
|
+
.icon-box-class {
|
|
580
583
|
color: $gray-background-lightest;
|
|
581
584
|
}
|
|
582
585
|
|
package/assets/css/_global.scss
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
body, html {
|
|
8
8
|
margin: 0;
|
|
9
9
|
padding: 0;
|
|
10
|
-
font-family: 'Sofia Pro'!important;
|
|
10
|
+
font-family: 'Sofia Pro' !important;
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
.page-container {
|
|
@@ -23,6 +23,7 @@ body, html {
|
|
|
23
23
|
.spacer {
|
|
24
24
|
flex: 1 1 auto;
|
|
25
25
|
}
|
|
26
|
+
|
|
26
27
|
.toolbar-spacer {
|
|
27
28
|
flex: 1 1 auto;
|
|
28
29
|
}
|
|
@@ -33,19 +34,21 @@ body, html {
|
|
|
33
34
|
border: none;
|
|
34
35
|
}
|
|
35
36
|
}
|
|
37
|
+
|
|
36
38
|
// Striped alt colors for rows in mat-table
|
|
37
39
|
.highlight {
|
|
38
40
|
background: #f4f4f6 !important;
|
|
39
41
|
}
|
|
40
42
|
|
|
41
43
|
// Bottom border for mat card
|
|
42
|
-
.mat-card-border-bottom{
|
|
44
|
+
.mat-card-border-bottom {
|
|
43
45
|
border-bottom: 1px solid #e2e5e8;
|
|
44
46
|
}
|
|
45
47
|
|
|
46
48
|
.custom-colored-checkbox .mat-checkbox-frame {
|
|
47
49
|
border-color: ghostwhite !important;
|
|
48
50
|
}
|
|
51
|
+
|
|
49
52
|
//Text next to icons
|
|
50
53
|
.icon-text {
|
|
51
54
|
display: flex !important;
|
|
@@ -58,13 +61,15 @@ body, html {
|
|
|
58
61
|
}
|
|
59
62
|
|
|
60
63
|
|
|
61
|
-
.custom-switch{
|
|
64
|
+
.custom-switch {
|
|
62
65
|
font-family: 'Poppins' !important;
|
|
63
|
-
|
|
66
|
+
|
|
67
|
+
.switch-small:focus {
|
|
64
68
|
outline: none;
|
|
65
69
|
}
|
|
66
70
|
}
|
|
67
|
-
|
|
71
|
+
|
|
72
|
+
.card-header-title-icon {
|
|
68
73
|
margin-right: 7px;
|
|
69
74
|
|
|
70
75
|
}
|
|
@@ -280,6 +285,7 @@ textarea {
|
|
|
280
285
|
.home-button button {
|
|
281
286
|
height: 32px;
|
|
282
287
|
}
|
|
288
|
+
|
|
283
289
|
.btn {
|
|
284
290
|
height: 24px;
|
|
285
291
|
padding: 2px;
|
|
@@ -181,10 +181,11 @@
|
|
|
181
181
|
.table-header-text {
|
|
182
182
|
color: $black-bluish;
|
|
183
183
|
font-size: 14px;
|
|
184
|
-
padding-bottom:10px;
|
|
184
|
+
padding-bottom: 10px;
|
|
185
185
|
font-weight: bold;
|
|
186
186
|
}
|
|
187
|
-
|
|
187
|
+
|
|
188
|
+
.action-button {
|
|
188
189
|
background-color: $blue-primary !important;
|
|
189
190
|
border-color: $blue-primary !important;
|
|
190
191
|
color: white !important;
|
|
@@ -198,10 +199,10 @@
|
|
|
198
199
|
background: #FFFFFF !important
|
|
199
200
|
}
|
|
200
201
|
|
|
201
|
-
.cancel-button{
|
|
202
|
+
.cancel-button {
|
|
202
203
|
background-color: $red-primary !important;
|
|
203
204
|
color: white !important;
|
|
204
|
-
border-color:
|
|
205
|
+
border-color: $red-primary !important;
|
|
205
206
|
}
|
|
206
207
|
|
|
207
208
|
.save-button {
|
|
@@ -244,6 +245,7 @@
|
|
|
244
245
|
::-webkit-scrollbar-thumb:hover {
|
|
245
246
|
background: $blue-primary;
|
|
246
247
|
}
|
|
248
|
+
|
|
247
249
|
// END SCROLL BAR
|
|
248
250
|
|
|
249
251
|
.mat-select-panel {
|
|
@@ -411,7 +413,8 @@
|
|
|
411
413
|
background: $blue-primary !important;
|
|
412
414
|
border: none;
|
|
413
415
|
padding: 5px 10px 5px 10px;
|
|
414
|
-
border-radius: 4px;
|
|
416
|
+
border-radius: 4px;
|
|
417
|
+
height: 32px;
|
|
415
418
|
min-width: 64px;
|
|
416
419
|
margin-right: 10px;
|
|
417
420
|
cursor: pointer;
|
|
@@ -422,7 +425,8 @@
|
|
|
422
425
|
background: $red-primary !important;
|
|
423
426
|
border: none;
|
|
424
427
|
padding: 5px 10px 5px 10px;
|
|
425
|
-
border-radius: 4px;
|
|
428
|
+
border-radius: 4px;
|
|
429
|
+
height: 32px;
|
|
426
430
|
min-width: 64px;
|
|
427
431
|
margin-right: 10px;
|
|
428
432
|
cursor: pointer;
|
|
@@ -554,6 +558,7 @@
|
|
|
554
558
|
display: flex;
|
|
555
559
|
margin: 0% calc(33% / 7 - 16px);
|
|
556
560
|
}
|
|
561
|
+
|
|
557
562
|
// END CALENDAR
|
|
558
563
|
|
|
559
564
|
.mat-raised-button.mat-accent {
|
|
@@ -598,7 +603,7 @@
|
|
|
598
603
|
color: #FFFFFF !important;
|
|
599
604
|
}
|
|
600
605
|
|
|
601
|
-
.icon-box-class{
|
|
606
|
+
.icon-box-class {
|
|
602
607
|
color: $black-bluish;
|
|
603
608
|
//background: linear-gradient(60deg,$gray-primary,$gray-strong);
|
|
604
609
|
}
|
|
@@ -30,66 +30,66 @@ $dark-work-title-color: #C2CFDD;
|
|
|
30
30
|
$dark-work-details-color: #809EC1;
|
|
31
31
|
|
|
32
32
|
$light-unity-palette: (
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
33
|
+
50: $gray-background-lightest,
|
|
34
|
+
100: $gray-background-light,
|
|
35
|
+
200: $gray-strong,
|
|
36
|
+
300: $gray-light,
|
|
37
|
+
400: $gray-primary,
|
|
38
|
+
500: $black-bluish,
|
|
39
|
+
600: $background-lvl5,
|
|
40
|
+
700: $background-lvl3,
|
|
41
|
+
800: $background-lvl2,
|
|
42
|
+
900: $background-lvl1,
|
|
43
|
+
A100: #ff8a80,
|
|
44
|
+
A200: #ff5252,
|
|
45
|
+
A400: #ff1744,
|
|
46
|
+
A700: #d50000,
|
|
47
|
+
contrast: (
|
|
48
|
+
50: rgba(black, 0.87),
|
|
49
|
+
100: rgba(black, 0.87),
|
|
50
|
+
200: rgba(black, 0.87),
|
|
51
|
+
300: rgba(black, 0.87),
|
|
52
|
+
400: rgba(black, 0.87),
|
|
53
|
+
500: white,
|
|
54
|
+
600: white,
|
|
55
|
+
700: white,
|
|
56
|
+
800: rgba(white, 0.87),
|
|
57
|
+
900: rgba(white, 0.87),
|
|
58
|
+
A100: rgba(black, 0.87),
|
|
59
|
+
A200: white,
|
|
60
|
+
A400: white,
|
|
61
|
+
A700: white,
|
|
62
|
+
)
|
|
63
63
|
);
|
|
64
64
|
$dark-unity-palette: (
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
65
|
+
50: $gray-background-lightest,
|
|
66
|
+
100: $gray-background-light,
|
|
67
|
+
200: $gray-strong,
|
|
68
|
+
300: $gray-light,
|
|
69
|
+
400: $gray-primary,
|
|
70
|
+
500: $dark-work-title-color,
|
|
71
|
+
600: $background-lvl5,
|
|
72
|
+
700: $background-lvl3,
|
|
73
|
+
800: $background-lvl2,
|
|
74
|
+
900: $background-lvl1,
|
|
75
|
+
A100: #ff8a80,
|
|
76
|
+
A200: #ff5252,
|
|
77
|
+
A400: #ff1744,
|
|
78
|
+
A700: #d50000,
|
|
79
|
+
contrast: (
|
|
80
|
+
50: rgba(black, 0.87),
|
|
81
|
+
100: rgba(black, 0.87),
|
|
82
|
+
200: rgba(black, 0.87),
|
|
83
|
+
300: rgba(black, 0.87),
|
|
84
|
+
400: rgba(black, 0.87),
|
|
85
|
+
500: white,
|
|
86
|
+
600: white,
|
|
87
|
+
700: white,
|
|
88
|
+
800: rgba(white, 0.87),
|
|
89
|
+
900: rgba(white, 0.87),
|
|
90
|
+
A100: rgba(black, 0.87),
|
|
91
|
+
A200: white,
|
|
92
|
+
A400: white,
|
|
93
|
+
A700: white,
|
|
94
|
+
)
|
|
95
95
|
);
|
package/assets/css/_themes.scss
CHANGED
|
@@ -19,24 +19,24 @@
|
|
|
19
19
|
$light-primary: mat.define-palette($light-unity-palette);
|
|
20
20
|
$light-accent: mat.define-palette($light-unity-palette);
|
|
21
21
|
$light-typography: mat.define-typography-config(
|
|
22
|
-
|
|
22
|
+
$font-family: '"Sofia Pro","Source Sans Pro",Poppins'
|
|
23
23
|
);
|
|
24
24
|
$light-theme: mat.define-light-theme((
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
25
|
+
color: (
|
|
26
|
+
primary: $light-primary,
|
|
27
|
+
accent: $light-accent,
|
|
28
|
+
),
|
|
29
|
+
typography: $light-typography,
|
|
30
30
|
));
|
|
31
31
|
|
|
32
32
|
// Define a dark theme
|
|
33
33
|
$dark-primary: mat.define-palette($dark-unity-palette);
|
|
34
34
|
$dark-accent: mat.define-palette($dark-unity-palette);
|
|
35
35
|
$dark-theme: mat.define-dark-theme((
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
36
|
+
color: (
|
|
37
|
+
primary: $dark-primary,
|
|
38
|
+
accent: $dark-accent,
|
|
39
|
+
)
|
|
40
40
|
));
|
|
41
41
|
|
|
42
42
|
.dark-theme {
|