react/packages/react-devtools-shared/src/devtools/views/root.css

36 lines
1.2 KiB
CSS
Raw Normal View History

:root {
2021-08-03 02:30:43 +08:00
/**
* The light and dark theme styles below should be kept in sync with 'react-devtools-shared/src/constants'
* They are repeated here because they're used by e.g. tooltips or context menus
* which get rendered outside of the DOM subtree (where normal theme/styles are written).
*/
2019-02-05 19:23:37 +08:00
/* Light theme */
--light-color-scroll-thumb: #c2c2c2;
--light-color-scroll-track: #fafafa;
2019-04-21 05:20:48 +08:00
--light-color-tooltip-background: rgba(0, 0, 0, 0.9);
--light-color-tooltip-text: #ffffff;
/* Dark theme */
--dark-color-scroll-thumb: #afb3b9;
--dark-color-scroll-track: #313640;
--dark-color-tooltip-background: rgba(255, 255, 255, 0.95);
2019-04-21 05:20:48 +08:00
--dark-color-tooltip-text: #000000;
2019-04-18 02:40:55 +08:00
/* Font smoothing */
--font-smoothing: auto;
/* Compact density */
--compact-line-height-data: 18px;
--compact-root-font-size: 16px;
2019-02-05 19:23:37 +08:00
/* Comfortable density */
--comfortable-line-height-data: 22px;
--comfortable-root-font-size: 20px;
/* GitHub.com system fonts */
--font-family-monospace: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo,
Courier, monospace;
--font-family-sans: -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica,
Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol;
}