blob: e521dd6d90c7288e2da20bfcecfa60e990421aed [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. */
html {
/* 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;
/* --google-blue-700, rewritten as a native custom property for speed. */
--md-toolbar-color: rgb(51, 103, 214);
--md-toolbar-height: 56px;
}
@media (prefers-color-scheme: light) {
html[enable-branding-update] {
--md-background-color: white;
--md-toolbar-color: white;
}
}
@media (prefers-color-scheme: dark) {
html {
--md-background-color: rgb(32, 33, 36); /* --google-grey-900 */
--md-loading-message-color: #9AA0A6; /* --google-grey-refresh-500 */
/* --cr-separator-line */
--md-toolbar-border: 1px solid rgba(255, 255, 255, .1);
--md-toolbar-color: rgba(255, 255, 255, .04);
}
}