googlearchive / paper-dialog

A dialog à la Material Design
19 stars 16 forks source link

paper-dialog doesn't respect style module #69

Open phasmal opened 7 years ago

phasmal commented 7 years ago

I'm using a style module to set the color theme for an app but the paper-dialog doesn't respond to it.

For example, setting the color of all buttons in the app with a declaration similar to the following in the style module:

  --paper-button: {
    color: blue;
  };

This affects all buttons in our app except for the buttons in our paper-dialog.

I would expect that such a declaration would affect the whole app, including dialogs.

phasmal commented 7 years ago

This seems to be similar to #43, but this is about app-wide theming (which could theoretically make a difference)

It's also similar to #54. The resolutions for that issue, though, require duplication of styling information or low level css references in the dialog, both of which subvert the purpose of having easily applied styling via a central theme.