Skip to content

Commit

Permalink
Fixing fonts and base font size (#18412)
Browse files Browse the repository at this point in the history
  • Loading branch information
aasimkhan30 authored Nov 15, 2024
1 parent 5f5a16e commit 44148ef
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 7 deletions.
5 changes: 5 additions & 0 deletions src/reactviews/common/theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,4 +76,9 @@ export const webviewTheme: fluentui.Theme = {
// This specifies the background color for an error message box
colorStatusDangerBackground1:
"var(--vscode-diffEditor-removedTextBackground)",
fontSizeBase300: "13px",
fontFamilyBase: "var(--vscode-font-family)",
fontFamilyNumeric: "var(--vscode-font-family)",
fontFamilyMonospace: "var(--vscode-editor-font-family)",
lineHeightBase300: "1.4em",
};
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/

import {
ArrowClockwise16Filled,
Delete16Regular,
ServerRegular,
} from "@fluentui/react-icons";
import {
Button,
Card,
Expand All @@ -13,15 +18,11 @@ import {
makeStyles,
tokens,
} from "@fluentui/react-components";
import {
ServerRegular,
ArrowClockwise16Filled,
Delete16Regular,
} from "@fluentui/react-icons";
import { MouseEventHandler, useContext } from "react";

import { ConnectionDialogContext } from "./connectionDialogStateProvider";
import { locConstants } from "../../common/locConstants";
import { IConnectionDialogProfile } from "../../../sharedInterfaces/connectionDialog";
import { locConstants } from "../../common/locConstants";

const buttonContainer = "buttonContainer";

Expand Down Expand Up @@ -170,7 +171,7 @@ export const ConnectionCard = ({
}}
>
<CardHeader
image={<ServerRegular />}
image={<ServerRegular fontSize={20} />}
header={connection.displayName}
action={
actionButton && (
Expand Down

0 comments on commit 44148ef

Please sign in to comment.