mirror of
https://github.com/OpenHands/OpenHands.git
synced 2025-12-26 13:52:43 +08:00
48 lines
1.2 KiB
JavaScript
48 lines
1.2 KiB
JavaScript
/** @type {import('tailwindcss').Config} */
|
|
import { heroui } from "@heroui/react";
|
|
import typography from "@tailwindcss/typography";
|
|
export default {
|
|
content: [
|
|
"./src/**/*.{js,ts,jsx,tsx}",
|
|
"./node_modules/@heroui/theme/dist/**/*.{js,ts,jsx,tsx}",
|
|
],
|
|
theme: {
|
|
extend: {
|
|
colors: {
|
|
primary: "#C9B974", // nice yellow
|
|
logo: "#CFB755", // color for logos and icons
|
|
base: "#0D0F11", // dark background also used for tooltips
|
|
"base-secondary": "#24272E", // lighter background
|
|
danger: "#E76A5E",
|
|
success: "#A5E75E",
|
|
basic: "#9099AC", // light gray
|
|
tertiary: "#454545", // gray, used for inputs
|
|
"tertiary-light": "#B7BDC2", // lighter gray, used for borders and placeholder text
|
|
content: "#ECEDEE", // light gray, used mostly for text
|
|
"content-2": "#F9FBFE",
|
|
},
|
|
},
|
|
},
|
|
darkMode: "class",
|
|
plugins: [
|
|
heroui({
|
|
defaultTheme: "dark",
|
|
layout: {
|
|
radius: {
|
|
small: "5px",
|
|
large: "20px",
|
|
},
|
|
},
|
|
themes: {
|
|
dark: {
|
|
colors: {
|
|
primary: "#4465DB",
|
|
logo: "#CFB755",
|
|
},
|
|
},
|
|
},
|
|
}),
|
|
typography,
|
|
],
|
|
};
|