Skip to content

Commit

Permalink
re-established theme
Browse files Browse the repository at this point in the history
  • Loading branch information
Ron Schmitt committed Dec 5, 2021
1 parent 1c4c61f commit 345a0a0
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 67 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,56 +80,3 @@
padding: 0 10px !important;
}

// the following colors are used if a theme is not applied

#theme-primary {
color: blue;
}
#theme-highlight {
color: blue;
}
#theme-primary-shaded {
color: rgba(blue, 0.05);
}
#theme-accent {
color: blueviolet;
}
#theme-warn {
color: red;
}
#theme-foreground {
color: #3e3e3e;
}
#theme-divider {
color: #e0e0e0;
}
#theme-background {
color: white;
}

// .mat-button.navigation-button:hover {
// // background-color: mat.get-color-from-palette($primary-palette, 900);
// }

// .mat-button.navigation-button:active {
// // color: mat.get-color-from-palette($accent-palette);
// }

// .mat-button-toggle.view-button {
// color: lightblue;
// background-color: blue;
// }

// .mat-button-toggle.view-button:hover {
// color: darkblue;
// }

// .mat-button-toggle-checked.view-button {
// color: lightblue;
// background-color: blue;
// }

// .mat-button-toggle-checked.view-button:hover {
// color: lightblue;
// background-color: blue;
// }
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@
color: $background-color;
}

.event-calendar-title {
}

.mat-button.navigation-button:hover {
background-color: mat.get-color-from-palette($primary-palette, 900);
}
Expand Down
29 changes: 15 additions & 14 deletions src/app/app.component.html
Original file line number Diff line number Diff line change
@@ -1,20 +1,21 @@
<section [className]="themeClass">

<!-- make visible once issues with dark mode are fixed -->
<div style="display: none;">
<mat-toolbar color="primary">
<div class="flex-stretch"></div>
<mat-icon class="mr-8">wb_sunny</mat-icon>
<mat-slide-toggle [formControl]="toggleControl" class="mr-8">
</mat-slide-toggle>
<mat-icon>bedtime</mat-icon>
</mat-toolbar>
</div>
<ngx-mat-tui-calendar #matTuiCalendarNgx
<!-- make visible once issues with dark mode are fixed -->
<div style="display: none;">
<mat-toolbar color="primary">
<div class="flex-stretch"></div>
<mat-icon class="mr-8">wb_sunny</mat-icon>
<mat-slide-toggle [formControl]="toggleControl" class="mr-8">
</mat-slide-toggle>
<mat-icon>bedtime</mat-icon>
</mat-toolbar>
</div>

<ngx-mat-tui-calendar #matTuiCalendarNgx
(userCreatedSchedule)="onUserCreatedSchedule($event)"
(userUpdatedSchedule)="onUserUpdatedSchedule($event)"
(userDeletedSchedule)="onUserDeletedSchedule($event)"
[options]="options">
</ngx-mat-tui-calendar>
</section>
</ngx-mat-tui-calendar>

</section>
2 changes: 2 additions & 0 deletions src/styles.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
@import "./themes.scss";
// @import '~@angular/material/prebuilt-themes/deeppurple-amber.css';


html,
body {
Expand Down

0 comments on commit 345a0a0

Please sign in to comment.