Files
gerrit/polygerrit-ui/app/embed/embed.html
Kasper Nilsson 61aff034a0 Add and build Gerrit dark theme
This change reworks the way themes are built in Gerrit. It:
- Moves themes (so far, just app-theme and dark-theme) to a subdirectory
  of app/styles for organizational purposes.
- Explicitly includes this directory in the PolyGerrit bundling process.
- Enables gr-app to (lazily) load dark-theme.html if it recognizes the
  'dark-theme' key in localStorage.

Upon merge/deployment of this change, users may dogfood the dark theme
by setting the key 'dark-theme' in localStorage.

Change-Id: Id7449e0bdd4f12a9f1e44de6b83003fdb253a0b0
2018-05-17 12:34:24 -07:00

25 lines
1.2 KiB
HTML

<!--
@license
Copyright (C) 2017 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<link rel="import" href="../bower_components/polymer/polymer.html">
<link rel="import" href="../elements/change/gr-change-view/gr-change-view.html">
<link rel="import" href="../elements/core/gr-search-bar/gr-search-bar.html">
<link rel="import" href="../elements/diff/gr-diff-view/gr-diff-view.html">
<link rel="import" href="../elements/change-list/gr-change-list-view/gr-change-list-view.html">
<link rel="import" href="../elements/change-list/gr-change-list/gr-change-list.html">
<link rel="import" href="../elements/change-list/gr-dashboard-view/gr-dashboard-view.html">
<link rel="import" href="../styles/themes/app-theme.html">