-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathtailwind.config.ts
53 lines (50 loc) · 1.4 KB
/
tailwind.config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
import type { Config } from "tailwindcss";
import { screenBreakPoints } from "./src/config/screen-breakpoints";
const coreUIConfig = require("@babylonlabs-io/bbn-core-ui/tailwind");
const config: Config = {
presets: [coreUIConfig],
content: [
"./src/pages/**/*.{js,ts,jsx,tsx,mdx}",
"./src/components/**/*.{js,ts,jsx,tsx,mdx}",
"./src/app/**/*.{js,ts,jsx,tsx,mdx}",
],
theme: {
screens: screenBreakPoints,
extend: {
colors: {
/**
* Explicitly copy the coreUIConfig theme under `extend` so that
* it doesn't get overridden by daisyui plugin
*/
...coreUIConfig.theme.colors,
"base-400": "hsl(var(--base-400) / <alpha-value>)",
},
gridTemplateColumns: {
stakingFinalityProvidersMobile: "2fr 1fr",
stakingFinalityProvidersDesktop: "2fr 1.5fr 2fr 0.75fr 0.75fr",
},
},
},
plugins: [require("daisyui")],
daisyui: {
logs: false,
themes: [
{
light: {
...require("daisyui/src/theming/themes")["light"],
primary: "#FF7C2A",
secondary: "#0DB7BF",
"base-100": "#F6F6F6",
"base-200": "rgba(225, 225, 225, 0.3)",
"base-300": "#FFF",
"base-content": "#000",
"--base-400": "0 0% 98%",
".btn-primary": {
color: "#FFF",
},
},
},
],
},
};
export default config;