Files
coco-app/tailwind.config.js
ayangweb c471a83821 feat: support third party extensions (#572)
* refactor: support third party extensions

* fix tests

* fix: assistant_get error

* aaa

* bbb

* ccc

* ddd

* fix: aa

* fix: aa

* sss

* fix:asds

* eee

* refactor: loosen restriction of query string length

* fix: input auto

* feat: add ai overview trigger condition configuration

* refactor: continue chatting to select the corresponding mini-helper

* chore: settings width height

* aaa

---------

Co-authored-by: Steve Lau <stevelauc@outlook.com>
Co-authored-by: rain <15911122312@163.com>
2025-05-30 17:18:52 +08:00

68 lines
2.0 KiB
JavaScript

/** @type {import('tailwindcss').Config} */
export default {
content: [
"./index.html",
"./src/**/*.{html,js,jsx,ts,tsx}",
"./src/**/*.css",
],
important: ".coco-container",
theme: {
extend: {
backgroundColor: {
primary: "rgb(var(--color-primary) / <alpha-value>)",
secondary: "rgb(var(--color-secondary) / <alpha-value>)",
background: "rgb(var(--color-background) / <alpha-value>)",
foreground: "rgb(var(--color-foreground) / <alpha-value>)",
separator: "rgb(var(--color-separator) / <alpha-value>)",
},
backgroundImage: {
chat_bg_light: "url('./assets/chat_bg_light.png')",
chat_bg_dark: "url('./assets/chat_bg_dark.png')",
search_bg_light: "url('./assets/search_bg_light.png')",
search_bg_dark: "url('./assets/search_bg_dark.png')",
inputbox_bg_light: "url('./assets/inputbox_bg_light.png')",
inputbox_bg_dark: "url('./assets/inputbox_bg_dark.png')",
},
textColor: {
primary: "rgb(var(--color-foreground) / <alpha-value>)",
},
animation: {
"fade-in": "fade-in 0.2s ease-in-out",
typing: "typing 1.5s ease-in-out infinite",
shake: "shake 0.5s ease-in-out",
},
keyframes: {
"fade-in": {
"0%": { opacity: "0" },
"100%": { opacity: "1" },
},
typing: {
"0%": { opacity: "0.3" },
"50%": { opacity: "1" },
"100%": { opacity: "0.3" },
},
shake: {
"0%, 100%": { transform: "rotate(0deg)" },
"25%": { transform: "rotate(-20deg)" },
"75%": { transform: "rotate(20deg)" },
},
},
boxShadow: {
"window-custom": "0px 16px 32px 0px rgba(0,0,0,0.3)",
},
zIndex: {
100: "100",
1000: "1000",
2000: "2000",
},
screens: {
mobile: { max: "679px" },
},
},
},
plugins: [],
mode: "jit",
darkMode: ["class", '[data-theme="dark"]'],
safelist: ["bg-[green]", "bg-[red]", "bg-[yellow]"],
};