| @charset "utf-8"; | |
| /* | |
| * Copyright 2020 The Chromium OS Authors. All rights reserved. | |
| * Use of this source code is governed by a BSD-style license that can be | |
| * found in the LICENSE file. | |
| */ | |
| /** | |
| * Apply a dark theme to the mocha html reporter. We don't update all colors, | |
| * just enough to go from white-on-black to black-on-white. | |
| */ | |
| body { | |
| background-color: black; | |
| color: white; | |
| } | |
| #mocha .test.pass .duration { | |
| color: #000; | |
| } | |
| #mocha .test.fail pre { | |
| color: white; | |
| } | |
| #mocha .test .html-error { | |
| color: white; | |
| } | |
| #mocha-stats em { | |
| color: white; | |
| } | |
| #mocha-stats canvas { | |
| filter: invert(1); | |
| } |