#Angular Material theme link color

1 messages · Page 1 of 1 (latest)

polar igloo
#

How can i set the Material theme color for <a> tags?
I have dark and light theme setup:

// Define a dark theme
$dark-theme: mat.define-theme((
  color: (
    theme-type: dark,
    primary: mat.$violet-palette,
  ),
));

// Define a light theme
$light-theme: mat.define-theme((
  color: (
    theme-type: light,
    primary: mat.$violet-palette,
  ),
));

body {
  @include mat.all-component-themes($light-theme);
}

.dark-theme {
  @include mat.all-component-colors($dark-theme);
}
timid breach
#

That would be for a button.