mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
137 lines
5.1 KiB
CSS
137 lines
5.1 KiB
CSS
:root {
|
||
/**
|
||
* IMPORTANT: When new theme variables are added below– also add them to SettingsContext updateThemeVariables()
|
||
*/
|
||
|
||
/* Light theme */
|
||
--light-color-attribute-name: #ef6632;
|
||
--light-color-attribute-value: #1a1aa6;
|
||
--light-color-attribute-editable-value: #1a1aa6;
|
||
--light-color-background: #ffffff;
|
||
--light-color-button-background: #ffffff;
|
||
--light-color-button-background-focus: #ebf1fb;
|
||
--light-color-button-background-hover: #ffffff;
|
||
--light-color-button: #0088fa;
|
||
--light-color-button-disabled: #cfd1d5;
|
||
--light-color-button-focus: #3578e5;
|
||
--light-color-button-hover: #3578e5;
|
||
--light-color-border: #eeeeee;
|
||
--light-color-commit-did-not-render: #cfd1d5;
|
||
--light-color-commit-gradient-0: #37afa9;
|
||
--light-color-commit-gradient-1: #63b19e;
|
||
--light-color-commit-gradient-2: #80b393;
|
||
--light-color-commit-gradient-3: #97b488;
|
||
--light-color-commit-gradient-4: #abb67d;
|
||
--light-color-commit-gradient-5: #beb771;
|
||
--light-color-commit-gradient-6: #cfb965;
|
||
--light-color-commit-gradient-7: #dfba57;
|
||
--light-color-commit-gradient-8: #efbb49;
|
||
--light-color-commit-gradient-9: #febc38;
|
||
--light-color-commit-gradient-text: #000000;
|
||
--light-color-component-name: #6a51b2;
|
||
--light-color-component-name-inverted: #ffffff;
|
||
--light-color-dim: #777d88;
|
||
--light-color-dimmer: #cfd1d5;
|
||
--light-color-dimmest: #eff0f1;
|
||
--light-color-expand-collapse-toggle: #777d88;
|
||
--light-color-hover-background: #ebf1fb;
|
||
--light-color-inactive-background: #f1f1f1;
|
||
--light-color-jsx-arrow-brackets: #333333;
|
||
--light-color-jsx-arrow-brackets-inverted: rgba(255, 255, 255, 0.7);
|
||
--light-color-modal-background: rgba(255, 255, 255, 0.75);
|
||
--light-color-record-active: #fc3a4b;
|
||
--light-color-record-hover: #3578e5;
|
||
--light-color-record-inactive: #0088fa;
|
||
--light-color-search-match: yellow;
|
||
--light-color-search-match-current: #f7923b;
|
||
--light-color-selected-background: #0088fa;
|
||
--light-color-selected-border: #0088fa;
|
||
--light-color-selected-foreground: #ffffff;
|
||
--light-color-text-color: #000000;
|
||
|
||
/* Dark theme */
|
||
--dark-color-attribute-name: #9d87d2;
|
||
--dark-color-attribute-value: #cedae0;
|
||
--dark-color-attribute-editable-value: yellow;
|
||
--dark-color-background: #282c34;
|
||
--dark-color-button-background: #282c34;
|
||
--dark-color-button-background-focus: #3d424a;
|
||
--dark-color-button-background-hover: #282c34;
|
||
--dark-color-button: #61dafb;
|
||
--dark-color-button-disabled: #777d88;
|
||
--dark-color-button-focus: #a2e9fc;
|
||
--dark-color-button-hover: #a2e9fc;
|
||
--dark-color-border: #3d424a;
|
||
--dark-color-commit-did-not-render: #777d88;
|
||
--dark-color-commit-gradient-0: #37afa9;
|
||
--dark-color-commit-gradient-1: #63b19e;
|
||
--dark-color-commit-gradient-2: #80b393;
|
||
--dark-color-commit-gradient-3: #97b488;
|
||
--dark-color-commit-gradient-4: #abb67d;
|
||
--dark-color-commit-gradient-5: #beb771;
|
||
--dark-color-commit-gradient-6: #cfb965;
|
||
--dark-color-commit-gradient-7: #dfba57;
|
||
--dark-color-commit-gradient-8: #efbb49;
|
||
--dark-color-commit-gradient-9: #febc38;
|
||
--dark-color-commit-gradient-text: #000000;
|
||
--dark-color-component-name: #61dafb;
|
||
--dark-color-component-name-inverted: ##282828;
|
||
--dark-color-dim: #8f949d;
|
||
--dark-color-dimmer: #777d88;
|
||
--dark-color-dimmest: #4f5766;
|
||
--dark-color-expand-collapse-toggle: #8f949d;
|
||
--dark-color-hover-background: #3d424a;
|
||
--dark-color-inactive-background: #3d424a;
|
||
--dark-color-jsx-arrow-brackets: #777d88;
|
||
--dark-color-jsx-arrow-brackets-inverted: rgba(255, 255, 255, 0.7);
|
||
--dark-color-modal-background: rgba(0, 0, 0, 0.75);
|
||
--dark-color-record-active: #fc3a4b;
|
||
--dark-color-record-hover: #a2e9fc;
|
||
--dark-color-record-inactive: #61dafb;
|
||
--dark-color-search-match: yellow;
|
||
--dark-color-search-match-current: #f7923b;
|
||
--dark-color-selected-background: #178fb9;
|
||
--dark-color-selected-border: #178fb9;
|
||
--dark-color-selected-foreground: #ffffff;
|
||
--dark-color-text-color: #ffffff;
|
||
|
||
/* Font smoothing */
|
||
--light-font-smoothing: auto;
|
||
--dark-font-smoothing: antialiased;
|
||
--font-smoothing: auto;
|
||
|
||
/* Compact density */
|
||
--compact-font-size-monospace-small: 9px;
|
||
--compact-font-size-monospace-normal: 11px;
|
||
--compact-font-size-monospace-large: 15px;
|
||
--compact-font-size-sans-small: 10px;
|
||
--compact-font-size-sans-normal: 12px;
|
||
--compact-font-size-sans-large: 14px;
|
||
--compact-line-height-data: 18px;
|
||
|
||
/* Comfortable density */
|
||
--comfortable-font-size-monospace-small: 10px;
|
||
--comfortable-font-size-monospace-normal: 13px;
|
||
--comfortable-font-size-monospace-large: 17px;
|
||
--comfortable-font-size-sans-small: 12px;
|
||
--comfortable-font-size-sans-normal: 14px;
|
||
--comfortable-font-size-sans-large: 16px;
|
||
--comfortable-line-height-data: 22px;
|
||
|
||
/* 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;
|
||
|
||
/* Constant values shared between JS and CSS */
|
||
--interaction-commit-size: 10px;
|
||
--interaction-label-width: 200px;
|
||
}
|
||
|
||
* {
|
||
box-sizing: border-box;
|
||
|
||
-webkit-font-smoothing: var(--font-smoothing);
|
||
}
|