Files
gerrit/polygerrit-ui/app/styles
Viktar Donich a23f952615 Basic theme support
Plugins may provide following global CSS variables as a style module:
--primary-text-color
--header-background-color
--footer-background-color

Plugin must be imported as .html plugin.

Complete working example:

``` html
<dom-module id="my-plugin">
  <script>
    Gerrit.install(function(plugin) {
        plugin.registerStyleModule('app-theme', 'myplugin-app-theme');
    });
  </script>
</dom-module>

<dom-module id="myplugin-app-theme">
  <style>
    html {
      --primary-text-color: #F00BAA;
      --header-background-color: #F01BAA;
      --footer-background-color: #F02BAA;
    }
  </style>
</dom-module>
```

Feature: Issue 4026
Change-Id: Ide5efa71a2da71827848c22d44219338e34edc3c
2017-05-03 13:11:26 -07:00
..
2017-05-03 13:11:26 -07:00