material icon indicating copy to clipboard operation
material copied to clipboard

Changing the default color for controls

Open umbundu opened this issue 3 years ago • 4 comments

Greetings, I tried to change the primary colour for the theme and i can see it on the generated css but all the controls, buttons, tabs, date picker, etc, still show as pink. Thanks, Huambo

umbundu avatar Nov 25 '22 16:11 umbundu

Hi, which variables did you set ?

djibe avatar Nov 25 '22 19:11 djibe

JB, How are you? I wonder if it caused by a build error when i do:

npm install?

$primary: ( color: $material-color-blue-grey-500, dark: $material-color-blue-grey-700, light: $material-color-blue-grey-100, ) !default;

Thank you, Everardo

umbundu avatar Nov 25 '22 21:11 umbundu

Hi, material uses secondary color for Controls (https://github.com/Daemonite/material/blob/master/assets/scss/variables/_variable-material.scss)

$selection-control-color-active: theme-color(secondary) !default;

You can find my active fork here: https://github.com/djibe/material

djibe avatar Nov 28 '22 11:11 djibe

Thanks! It is a beautiful implementation of Material Design. Thanks for sharing.

:)

On Mon, Nov 28, 2022 at 6:53 AM JB @.***> wrote:

Hi, material uses secondary color for Controls ( https://github.com/Daemonite/material/blob/master/assets/scss/variables/_variable-material.scss )

$selection-control-color-active: theme-color(secondary) !default;

— Reply to this email directly, view it on GitHub https://github.com/Daemonite/material/issues/288#issuecomment-1328947880, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABMBWNF2J4WAL6KXFTXKJEDWKSMMBANCNFSM6AAAAAASLOZRRM . You are receiving this because you authored the thread.Message ID: @.***>

umbundu avatar Nov 28 '22 13:11 umbundu