mirror of
https://github.com/CaramelFur/Picsur.git
synced 2026-05-06 18:37:24 +02:00
Fix some color bugs
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { Directive, Host, Optional } from '@angular/core';
|
||||
import { MatButton } from '@angular/material/button';
|
||||
import { MatMiniFabButton } from '@angular/material/button';
|
||||
import { MatTooltip } from '@angular/material/tooltip';
|
||||
|
||||
@Directive({
|
||||
@@ -8,7 +8,7 @@ import { MatTooltip } from '@angular/material/tooltip';
|
||||
export class SpeedDialOptionDirective {
|
||||
constructor(
|
||||
@Host() @Optional() tooltip?: MatTooltip,
|
||||
@Host() @Optional() button?: MatButton,
|
||||
@Host() @Optional() button?: MatMiniFabButton,
|
||||
) {
|
||||
if (tooltip) tooltip.position = 'left';
|
||||
if (button) button.color = 'primary';
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
picsur-img {
|
||||
margin-top: 1em;
|
||||
margin-bottom: .5em;
|
||||
}
|
||||
@@ -176,6 +176,8 @@ $mat-theme-light: mat.define-light-theme(
|
||||
|
||||
@include mat.all-component-themes($mat-theme);
|
||||
@include mat.all-component-typographies($mat-theme);
|
||||
@include mat.legacy-slide-toggle-theme($mat-theme);
|
||||
@include mat.slide-toggle-theme($mat-theme);
|
||||
@include custom-mat.custom-material($mat-theme);
|
||||
|
||||
.theme-alternate {
|
||||
|
||||
Reference in New Issue
Block a user