blob: 4166c642241d3e884484ce7e9b2405c59797bfd8 [file] [log] [blame]
/* Copyright 2016 The Chromium Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file. */
:root {
/* This is a custom, Chrome-specific color that does not have a --paper or
* --google equivalent. */
--md-background-color: rgb(248, 249, 250);
--md-loading-message-color: #6e6e6e;
/* This is --google-blue-700, rewritten as a native custom property for speed.
*/
--md-toolbar-color: rgb(51, 103, 214);
}
html[dark],
:host-context(html[dark]) {
--md-background-color: rgb(32, 33, 36); /* --google-grey-900 */
--md-loading-message-color: #9AA0A6; /* --google-grey-refresh-500 */
--md-toolbar-border-color: rgb(95, 99, 104); /* --google-grey-refresh-700 */
/* Dark mode doesn't currently have a different toolbar background color.
* Instead, it uses a 1px grey border at the bottom. We set it just in case
* opaqueness is required for some reason. */
--md-toolbar-color: var(--md-background-color);
}