@yuebai008/cli
Version:
Command line interface for rapid qg-minigame development
1 lines • 1.5 kB
JavaScript
export default{cssContent:"/*\n * Copyright 2016 The Chromium Authors. All rights reserved.\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n */\n\ndiv {\n display: inline-flex;\n height: 14px;\n align-items: center;\n vertical-align: middle;\n white-space: nowrap;\n padding: 1px 4px;\n text-align: left;\n font-size: 11px;\n line-height: normal;\n font-weight: bold;\n text-shadow: none;\n /*\n * We need an \"inverted\" color here - because the text is on a darker background the regular foreground text colors don't work. It's been logged to the dark mode tracking spreadsheet\n */\n color: var(--color-background);\n border-radius: 7px;\n}\n\ndiv.verbose {\n background-color: var(--color-syntax-3);\n}\n\n:host-context(.-theme-with-dark-background) div.verbose {\n /* color-syntax-3 isn't blue in dark mode, but the text that gets logged is,\n so we use a different syntax in dark mode that matches the text. Once the text\n colors have been updated we can remove this. */\n background-color: var(--color-syntax-2);\n}\n\ndiv.info {\n background-color: var(--color-syntax-8);\n}\n\ndiv.warning {\n background-color: var(--color-syntax-4);\n}\n\n:host-context(.-theme-with-dark-background) div.warning {\n /* Pick a color that's closer to the color shown on the background of the\n entire message */\n background-color: var(--color-syntax-3);\n}\n\ndiv.error {\n background-color: var(--color-accent-red);\n}\n"};