Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 386
feat(navbar): Add themepicker component with lazy loaded themes#136
Uh oh!
There was an error while loading. Please reload this page.
Changes from all commits
File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,11 +1,11 @@ | ||
| <div class="docs-component-list-category"> | ||
| <a *ngFor="let component of category.items" | ||
| class="docs-component-list-item" | ||
| [routerLink]="['/components/component/', component.id]"> | ||
| <div class="docs-component-list-item-icon" | ||
| [attr.aria-label]="component.name" | ||
| [style.backgroundImage]="'url(\'../../../assets/img/components/' + component.id + '.svg\')'"> | ||
| </div> | ||
| class="docs-component-list-item" | ||
| [routerLink]="['/components/component/', component.id]"> | ||
| <docs-svg-viewer class="docs-component-list-item-icon" | ||
| [attr.aria-label]="component.name" | ||
| [svgHref]="'../../../assets/img/components/' + component.id + '.svg'"> | ||
| </docs-svg-viewer> | ||
| {{component.name}} | ||
| </a> | ||
| </div> |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| @import '~@angular/material/theming'; | ||
| @import '../../../../node_modules/@angular/material/theming'; | ||
Contributor There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. You should be able to change all of these imports back; there was a short-lived bug in webpack's scss loader that made the ContributorAuthor There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This doesn't quite appear to work still. After removing node_modules, running ContributorAuthor There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @jelbourn As an update on this issue, compiling the individual | ||
| @mixin component-viewer-sidenav-theme($theme) { | ||
| $primary: map-get($theme, primary); | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| export * from './style-manager'; |
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can these be referenced directly from
node_modulesrather than copying them to assets?