This repository was archived by the owner on Dec 18, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +26
-7
lines changed Expand file tree Collapse file tree 4 files changed +26
-7
lines changed Original file line number Diff line number Diff line change 44@import ' ./app/pages/component-viewer/component-viewer-theme' ;
55@import ' ./app/pages/component-list/component-list-theme' ;
66@import ' ./app/pages/component-category-list/component-category-list-theme' ;
7+ @import ' ./app/pages/guide-list/guide-list-theme' ;
78
89@import ' ./styles/api-theme' ;
910@import ' ./styles/markdown-theme' ;
5051 @include nav-bar-theme ($theme );
5152 @include example-viewer-theme ($theme );
5253 @include footer-theme ($theme );
54+ @include guide-list-theme ($theme );
5355}
Original file line number Diff line number Diff line change 1+ @import ' ~@angular/material/theming' ;
2+
3+ @mixin guide-list-theme ($theme ) {
4+ $primary : map-get ($theme , primary );
5+ $accent : map-get ($theme , accent );
6+ $warn : map-get ($theme , warn );
7+ $background : map-get ($theme , background );
8+ $foreground : map-get ($theme , foreground );
9+
10+ .docs-guide-list .docs-guide-item {
11+ color : mat-color ($primary );
12+ }
13+ }
Original file line number Diff line number Diff line change 11< div class ="docs-primary-header ">
22 < h1 > Guides</ h1 >
33</ div >
4- < md-list class ="docs-guide-list-item ">
5- < a md-list-item
6- *ngFor ="let guide of guideItems.getAllItems() "
7- [routerLink] ="['/guide/', guide.id] ">
8- {{guide.name}}
4+
5+ < md-nav-list class ="docs-guide-list ">
6+ < a md-list-item *ngFor ="let guide of guideItems.getAllItems() "
7+ class ="docs-guide-item "
8+ [routerLink] ="['/guide/', guide.id] ">
9+ {{guide.name}}
910 </ a >
10- </ md-list >
11+ </ md-nav- list >
1112
1213< app-footer > </ app-footer >
Original file line number Diff line number Diff line change 44 flex-grow : 1 ;
55}
66
7- .docs-guide-list-item {
7+ .docs-guide-list {
88 margin : 50px ;
99 flex-grow : 1 ;
1010}
1111
12+ .docs-guide-item , .docs-guide-item :hover {
13+ text-decoration : none ;
14+ }
You can’t perform that action at this time.
0 commit comments