Daemonite / material

Material Design for Bootstrap 4
http://daemonite.github.io/material/
MIT License
3.2k stars 725 forks source link

Changing the default color for controls #288

Open umbundu opened 1 year ago

umbundu commented 1 year ago

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

djibe commented 1 year ago

Hi, which variables did you set ?

umbundu commented 1 year ago

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

djibe commented 1 year ago

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

umbundu commented 1 year ago

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: @.***>