Elffuss BraidHub

kikocis/continue public

main · 786 BRawPermalink
1import styled from "styled-components";
2import { defaultBorderRadius, lightGray, vscBackground } from "../index";
3import { getFontSize } from "../../util";
4
5export const SpoilerButton = styled.div`
6 background-color: ${vscBackground};
7 width: fit-content;
8 margin: 8px 6px 0px 2px;
9 font-size: ${getFontSize() - 2}px;
10 border: 0.5px solid ${lightGray};
11 border-radius: ${defaultBorderRadius};
12 padding: 4px 8px;
13 color: ${lightGray};
14 cursor: pointer;
15 box-shadow:
16 0 4px 6px rgba(0, 0, 0, 0.1),
17 0 1px 3px rgba(0, 0, 0, 0.08);
18 transition: box-shadow 0.3s ease;
19
20 &:hover {
21 box-shadow:
22 0 6px 8px rgba(0, 0, 0, 0.15),
23 0 3px 6px rgba(0, 0, 0, 0.1);
24 }
25`;
26
27export const ButtonContent = styled.div`
28 display: flex;
29 align-items: center;
30 gap: 6px;
31`;