| b69ab31 | | | 1 | /** |
| b69ab31 | | | 2 | * Copyright (c) Meta Platforms, Inc. and affiliates. |
| b69ab31 | | | 3 | * |
| b69ab31 | | | 4 | * This source code is licensed under the MIT license found in the |
| b69ab31 | | | 5 | * LICENSE file in the root directory of this source tree. |
| b69ab31 | | | 6 | */ |
| b69ab31 | | | 7 | |
| b69ab31 | | | 8 | .dark-theme, |
| b69ab31 | | | 9 | .light-theme { |
| b69ab31 | | | 10 | /** |
| b69ab31 | | | 11 | * These CSS variables come from the VS Code webview UI toolkit: |
| b69ab31 | | | 12 | * https://github.com/microsoft/vscode-webview-ui-toolkit/blob/main/src/design-tokens.ts |
| b69ab31 | | | 13 | */ |
| b69ab31 | | | 14 | background-color: var(--background); |
| b69ab31 | | | 15 | color: var(--foreground); |
| b69ab31 | | | 16 | |
| b69ab31 | | | 17 | font-family: |
| b69ab31 | | | 18 | -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', |
| b69ab31 | | | 19 | 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif; |
| b69ab31 | | | 20 | |
| b69ab31 | | | 21 | --pad: 10px; |
| b69ab31 | | | 22 | --halfpad: 5px; |
| b69ab31 | | | 23 | |
| b69ab31 | | | 24 | --vscode-button-height: 26px; /* height of vscode-button */ |
| b69ab31 | | | 25 | --vscode-icon-button-height: 22px; /* height of vscode-button with appearance="icon" */ |
| b69ab31 | | | 26 | |
| b69ab31 | | | 27 | --monospace-fontFamily: var( |
| b69ab31 | | | 28 | --vscode-editor-font-family, |
| b69ab31 | | | 29 | source-code-pro, |
| b69ab31 | | | 30 | SFMono-Regular, |
| b69ab31 | | | 31 | Consolas, |
| b69ab31 | | | 32 | 'Liberation Mono', |
| b69ab31 | | | 33 | Menlo, |
| b69ab31 | | | 34 | Courier, |
| b69ab31 | | | 35 | monospace |
| b69ab31 | | | 36 | ); |
| b69ab31 | | | 37 | |
| b69ab31 | | | 38 | --editor-font-size: var(--vscode-font-size, 13px); |
| b69ab31 | | | 39 | |
| b69ab31 | | | 40 | height: calc(100vh / var(--zoom, 1)); |
| b69ab31 | | | 41 | max-height: calc(100vh / var(--zoom, 1)); |
| b69ab31 | | | 42 | |
| b69ab31 | | | 43 | zoom: var(--zoom, 1); |
| b69ab31 | | | 44 | } |