3 Star 2 Fork 0

Gitee 极速下载/better-chatgpt

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/ztjhz/BetterChatGPT
克隆/下载
tailwind.config.cjs 1.64 KB
一键复制 编辑 原始数据 按行查看 历史
/** @type {import('tailwindcss').Config} */
function parentSiblingHoverPlugin({ addVariant, e }) {
addVariant('parent-sibling-hover', ({ modifySelectors, separator }) => {
modifySelectors(({ className }) => {
return `.parent-sibling:hover ~ .parent .${e(
`parent-sibling-hover${separator}${className}`
)}`;
});
});
}
module.exports = {
content: ['./index.html', './src/**/*.{js,ts,jsx,tsx}'],
theme: {
fontFamily: {
sans: [
'Söhne',
'Roboto',
'ui-sans-serif',
'system-ui',
'-apple-system',
'Ubuntu',
'Cantarell',
'Noto Sans',
'sans-serif',
'Helvetica Neue',
'Arial',
'Apple Color Emoji',
'Segoe UI Emoji',
'Segoe UI Symbol',
'Noto Color Emoji',
],
mono: [
'Söhne Mono',
'Monaco',
'Andale Mono',
'Ubuntu Mono',
'Consolas',
'monospace',
],
},
extend: {
typography: {
DEFAULT: {
css: {
pre: { padding: 0, margin: 0 },
ul: {
'list-style-type': 'none',
},
},
},
},
colors: {
gray: {
50: '#f7f7f8',
100: '#ececf1',
200: '#d9d9e3',
300: '#d1d5db',
400: '#acacbe',
500: '#8e8ea0',
600: '#4b5563',
650: '#444654',
700: '#40414f',
800: '#343541',
850: '#2A2B32',
900: '#202123',
},
},
},
},
plugins: [require('@tailwindcss/typography'), parentSiblingHoverPlugin],
darkMode: 'class',
};
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/mirrors/better-chatgpt.git
git@gitee.com:mirrors/better-chatgpt.git
mirrors
better-chatgpt
better-chatgpt
main

搜索帮助