continue-custom/gui/src/components/mainInput/belowMainInput/NewSessionButton.tsx
2025-03-20 19:49:57 -07:00

23 lines
535 B
TypeScript

import styled from "styled-components";
import { defaultBorderRadius, lightGray, vscForeground } from "../..";
import { getFontSize } from "../../../util";
export const NewSessionButton = styled.div`
width: fit-content;
margin-right: auto;
margin-left: 6px;
margin-top: 2px;
margin-bottom: 8px;
font-size: ${getFontSize() - 2}px;
border-radius: ${defaultBorderRadius};
padding: 2px 6px;
color: ${lightGray};
&:hover {
background-color: ${lightGray}33;
color: ${vscForeground};
}
cursor: pointer;
`;