angular custom theme from v18 to v19

Discussão em 'Angular' iniciado por tito, Fevereiro 17, 2025.

  1. tito

    tito Guest

    i've upgraded my project from angular 18.4 to 19.1 but my theme stopped working correctly. This piece of code isn't working properly, all variables are referred to the primary color instead of tertiary:

    --tertiary-color: #{mat.get-theme-color($theme, tertiary)};
    --tertiary-color-text: #{mat.get-theme-color($theme, on-tertiary)};
    --tertiary-color-container: #{mat.get-theme-color($theme, tertiary-container)};
    --tertiary-color-container-text: #{mat.get-theme-color($theme, on-tertiary-container)};


    how can i change this code? Thanks to all

    Continue reading...

Compartilhe esta Página