addons/components/theme/index.cssblame
View source
b69ab311/**
b69ab312 * Copyright (c) Meta Platforms, Inc. and affiliates.
b69ab313 *
b69ab314 * This source code is licensed under the MIT license found in the
b69ab315 * LICENSE file in the root directory of this source tree.
b69ab316 */
b69ab317
b69ab318.dark-theme,
b69ab319.light-theme {
b69ab3110 /**
b69ab3111 * These CSS variables come from the VS Code webview UI toolkit:
b69ab3112 * https://github.com/microsoft/vscode-webview-ui-toolkit/blob/main/src/design-tokens.ts
b69ab3113 */
b69ab3114 background-color: var(--background);
b69ab3115 color: var(--foreground);
b69ab3116
b69ab3117 font-family:
b69ab3118 -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell',
b69ab3119 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
b69ab3120
b69ab3121 --pad: 10px;
b69ab3122 --halfpad: 5px;
b69ab3123
b69ab3124 --vscode-button-height: 26px; /* height of vscode-button */
b69ab3125 --vscode-icon-button-height: 22px; /* height of vscode-button with appearance="icon" */
b69ab3126
b69ab3127 --monospace-fontFamily: var(
b69ab3128 --vscode-editor-font-family,
b69ab3129 source-code-pro,
b69ab3130 SFMono-Regular,
b69ab3131 Consolas,
b69ab3132 'Liberation Mono',
b69ab3133 Menlo,
b69ab3134 Courier,
b69ab3135 monospace
b69ab3136 );
b69ab3137
b69ab3138 --editor-font-size: var(--vscode-font-size, 13px);
b69ab3139
b69ab3140 height: calc(100vh / var(--zoom, 1));
b69ab3141 max-height: calc(100vh / var(--zoom, 1));
b69ab3142
b69ab3143 zoom: var(--zoom, 1);
b69ab3144}