@angular/material/core#ThemePalette TypeScript Examples

The following examples show how to use @angular/material/core#ThemePalette. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: datetime-input.ts    From ngx-mat-datetime-picker with MIT License 5 votes vote down vote up
/** Returns the palette used by the input's form field, if any. */
    _getThemePalette(): ThemePalette {
        return this._formField ? this._formField.color : undefined;
    }
Example #2
Source File: spinner.component.ts    From flingo with MIT License 5 votes vote down vote up
colour: ThemePalette = 'primary';
Example #3
Source File: ngx-mat-timepicker-base.directive.ts    From ngx-mat-timepicker with MIT License 5 votes vote down vote up
protected _color: ThemePalette = "primary";
Example #4
Source File: ngx-mat-timepicker-minutes-face.component.ts    From ngx-mat-timepicker with MIT License 5 votes vote down vote up
private _color: ThemePalette = "primary";
Example #5
Source File: ngx-mat-timepicker-hours-face.directive.ts    From ngx-mat-timepicker with MIT License 5 votes vote down vote up
protected _color: ThemePalette = "primary";
Example #6
Source File: ngx-mat-timepicker-field.component.ts    From ngx-mat-timepicker with MIT License 5 votes vote down vote up
private _color: ThemePalette = "primary";
Example #7
Source File: ngx-mat-timepicker-control.component.ts    From ngx-mat-timepicker with MIT License 5 votes vote down vote up
private _color: ThemePalette = "primary";
Example #8
Source File: ngx-mat-timepicker-face.component.ts    From ngx-mat-timepicker with MIT License 5 votes vote down vote up
@Input()
    color: ThemePalette = "primary";
Example #9
Source File: ngx-mat-timepicker-dial.component.ts    From ngx-mat-timepicker with MIT License 5 votes vote down vote up
private _color: ThemePalette = "primary";
Example #10
Source File: ngx-mat-timepicker.component.ts    From ngx-mat-timepicker with MIT License 5 votes vote down vote up
// used in the dialog, check if a better approach can be used

    private _color: ThemePalette = "primary";
Example #11
Source File: demo-time.component.ts    From ngx-mat-datetime-picker with MIT License 5 votes vote down vote up
public color: ThemePalette = 'primary';
Example #12
Source File: demo-datetime.component.ts    From ngx-mat-datetime-picker with MIT License 5 votes vote down vote up
public color: ThemePalette = 'primary';
Example #13
Source File: demo-colorpicker.component.ts    From ngx-mat-datetime-picker with MIT License 5 votes vote down vote up
public color: ThemePalette = 'primary';
Example #14
Source File: timepicker.component.ts    From ngx-mat-datetime-picker with MIT License 5 votes vote down vote up
@Input() color: ThemePalette = 'primary';
Example #15
Source File: datetime-picker.component.ts    From ngx-mat-datetime-picker with MIT License 5 votes vote down vote up
_color: ThemePalette;
Example #16
Source File: paginator.directive.spec.ts    From angular-custom-material-paginator with MIT License 5 votes vote down vote up
color: ThemePalette;
Example #17
Source File: demo-time.component.ts    From angular-material-components with MIT License 5 votes vote down vote up
public color: ThemePalette = 'primary';
Example #18
Source File: demo-fileinput.component.ts    From angular-material-components with MIT License 5 votes vote down vote up
color: ThemePalette = 'primary';
Example #19
Source File: demo-datetime.component.ts    From angular-material-components with MIT License 5 votes vote down vote up
public color: ThemePalette = 'primary';
Example #20
Source File: demo-colorpicker.component.ts    From angular-material-components with MIT License 5 votes vote down vote up
public color: ThemePalette = 'primary';
Example #21
Source File: file-input.component.ts    From angular-material-components with MIT License 5 votes vote down vote up
@Input() color: ThemePalette = 'primary';
Example #22
Source File: timepicker.component.ts    From angular-material-components with MIT License 5 votes vote down vote up
@Input() color: ThemePalette = 'primary';
Example #23
Source File: datetime-picker.component.ts    From angular-material-components with MIT License 5 votes vote down vote up
_color: ThemePalette;
Example #24
Source File: datetime-input.ts    From angular-material-components with MIT License 5 votes vote down vote up
/** Returns the palette used by the input's form field, if any. */
    _getThemePalette(): ThemePalette {
        return this._formField ? this._formField.color : undefined;
    }
Example #25
Source File: color-picker.component.ts    From angular-material-components with MIT License 5 votes vote down vote up
_color: ThemePalette;
Example #26
Source File: color-input.component.ts    From angular-material-components with MIT License 5 votes vote down vote up
/** Returns the palette used by the input's form field, if any. */
  public getThemePalette(): ThemePalette {
    return this._formField ? this._formField.color : undefined;
  }
Example #27
Source File: app.component.ts    From fab-menu with MIT License 5 votes vote down vote up
color: ThemePalette = 'primary';
Example #28
Source File: mat-fab-menu.component.ts    From fab-menu with MIT License 5 votes vote down vote up
@Input()
  color: ThemePalette = 'accent';
Example #29
Source File: mission-single.component.ts    From Smersh with MIT License 5 votes vote down vote up
color: ThemePalette = 'primary';