-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8f8199e
commit dce728f
Showing
6 changed files
with
49 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
|
||
# 1.0.0 | ||
|
||
- Removed polyfills since there are no longer needed in most modern browsers | ||
- Updated RxJs dependency to version 7.4 | ||
- Updated Angular dependency to version 14 | ||
- Removed deprecated TSLint and added ESLint | ||
- Removed deprecated Protractor tests | ||
- Replace deprecated scss `@import` with `@use` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,39 @@ | ||
@import '@angular/material/theming'; | ||
@use '@angular/material' as mat; | ||
|
||
@mixin mgl-timeline-theme($theme) { | ||
@mixin timeline-theme($theme) { | ||
$primary: map-get($theme, primary); | ||
$accent: map-get($theme, accent); | ||
$foreground: map-get($theme, foreground); | ||
$background: map-get($theme, background); | ||
$typographyConfig: mat-typography-config(); | ||
$typographyConfig: mat.get-typography-config($theme); | ||
|
||
|
||
mgl-timeline { | ||
font-family: mat-font-family($typographyConfig); | ||
font-family: mat.font-family((font-family: $typographyConfig)); | ||
|
||
& mgl-timeline-entry { | ||
& mgl-timeline-entry { | ||
|
||
& .mgl-timeline-entry-card { | ||
@include mat-elevation(4); | ||
background-color: map-get($background, card) !important; | ||
color: map-get($foreground, base); | ||
& .mgl-timeline-entry-card { | ||
@include mat.elevation(4); | ||
background-color: map-get($background, card) !important; | ||
color: map-get($foreground, base); | ||
|
||
& .mgl-timeline-entry-card-header { | ||
background-color: map-get($background, app-bar) !important; | ||
} | ||
& .mgl-timeline-entry-card-header { | ||
background-color: map-get($background, app-bar) !important; | ||
} | ||
} | ||
|
||
& mgl-timeline-entry-dot { | ||
@include mat-elevation(2); | ||
& mgl-timeline-entry-dot { | ||
@include mat.elevation(2); | ||
|
||
&.primary { | ||
background-color: mat-color($primary); | ||
} | ||
&.primary { | ||
background-color: mat.get-color-from-palette($primary); | ||
} | ||
|
||
&.accent { | ||
background-color: mat-color($accent); | ||
} | ||
} | ||
&.accent { | ||
background-color: mat.get-color-from-palette($accent); | ||
} | ||
} | ||
} | ||
} | ||
|
||
|
||
} |