Elffuss BraidHub

kikocis/continue public

71fd2e7d4456 · 1.9 KiBRawPermalink
1/** @type {import('tailwindcss').Config} */
2const defaultTheme = require("tailwindcss/defaultTheme");
3
4module.exports = {
5 content: [
6 "./index.html",
7 "./src/**/*.{js,ts,jsx,tsx}",
8 "./src/*.{js,ts,jsx,tsx}",
9 ],
10 theme: {
11 // Note that these breakpoints are primarily optimized for the input toolbar
12 screens: {
13 "2xs": "170px", // Smallest width for Primary Sidebar in VS Code
14 xs: "250px", // Avg default sidebar width in VS Code
15 sm: "330px",
16 int: "380px",
17 md: "460px",
18 lg: "590px",
19 xl: "720px",
20 "2xl": "860px",
21 "3xl": "1000px",
22 "4xl": "1180px",
23 },
24 extend: {
25 animation: {
26 "spin-slow": "spin 6s linear infinite",
27 },
28 borderRadius: {
29 default: "5px",
30 },
31 colors: {
32 lightgray: "#999998",
33 "vsc-input-background": "var(--vscode-input-background, rgb(45 45 45))",
34 "vsc-background": "var(--vscode-sideBar-background, rgb(30 30 30))",
35 "vsc-foreground": "var(--vscode-editor-foreground, #fff)",
36 "vsc-editor-background":
37 "var(--vscode-editor-background, var(--vscode-sideBar-background, rgb(30 30 30)))",
38 "vsc-input-border": "var(--vscode-input-border, #999998)",
39 "vsc-commandCenter-inactiveBorder":
40 "var(--vscode-commandCenter-inactiveBorder, #999998)",
41
42 // Starting to make things less vsc-specific
43 // TODO make it all non-IDE-specific naming
44 "find-match-selected":
45 "var(--vscode-editor-findMatchHighlightBackground, rgba(255, 223, 0))",
46 "table-odd-rows":"var(--vscode-tree-tableOddRowsBackground, #1bbe84)",
47 "list-active": "var(--vscode-list-activeSelectionBackground, #1bbe84)",
48 "list-active-foreground":
49 "var(--vscode-quickInputList-focusForeground, var(--vscode-editor-foreground))",
50 badge: "var(--vscode-badge-background, #1bbe84)",
51 },
52 },
53 },
54 plugins: [],
55 corePlugins: {
56 preflight: false,
57 },
58};