material-ui icon indicating copy to clipboard operation
material-ui copied to clipboard

[AppBar] Dark theme doesn't change AppBar color

Open odensc opened this issue 11 years ago • 3 comments

When using the dark theme, the AppBar is still blue, which doesn't mix with the rest of the theme.

odensc avatar Jun 16 '15 00:06 odensc

#926

Zadielerick avatar Jun 23 '15 21:06 Zadielerick

Teal 200 doesn't mix well either. I've been using Grey 800, like this:

import DarkTheme from "material-ui/lib/styles/themes/dark-theme";
import {Styles} from "material-ui";

// modified dark theme from mui to add missing stuff
let Dark = {
    getPalette: DarkTheme.getPalette,
    getComponentThemes(palette)
    {
        let themes = DarkTheme.getComponentThemes(palette);
        themes.appBar = {
            color: Styles.Colors.grey800
        };

        return themes;
    }
}

export default Dark;

odensc avatar Jun 23 '15 21:06 odensc

@thesbros Thanks for the feedback - we defaulted it to what was on the sticker sheet here: https://www.google.com/design/spec/resources/sticker-sheets-icons.html

Of course, you can override this to be whatever you want - which it looks like you've done. :+1:

hai-cea avatar Jun 24 '15 01:06 hai-cea