@brainfish-ai/components 0.0.47 → 0.0.48-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.css +2 -2
- package/dist/esm/index.css.map +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.ts +181 -24
- package/package.json +6 -5
- package/stats.html +4949 -0
- package/tailwind.config.js +64 -26
package/tailwind.config.js
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
|
+
const { BrainfishColors } = require('./src/colors');
|
|
2
|
+
const { neutral, zinc } = require('tailwindcss/colors')
|
|
3
|
+
const { blue, dark, green, orange, pink, primary, purple, red, yellow } = BrainfishColors;
|
|
4
|
+
|
|
1
5
|
/** @type {import('tailwindcss').Config} */
|
|
2
6
|
module.exports = {
|
|
3
|
-
darkMode: ["class"
|
|
7
|
+
darkMode: ["class"],
|
|
4
8
|
content: [
|
|
5
9
|
"./index.html",
|
|
6
10
|
"./src/**/*.{js,ts,jsx,tsx}",
|
|
@@ -15,52 +19,86 @@ module.exports = {
|
|
|
15
19
|
},
|
|
16
20
|
extend: {
|
|
17
21
|
colors: {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
22
|
+
primary,
|
|
23
|
+
base: {
|
|
24
|
+
orange: orange[400],
|
|
25
|
+
yellow: yellow[400],
|
|
26
|
+
primary: primary[400],
|
|
27
|
+
green: green[400],
|
|
28
|
+
blue: blue[500],
|
|
29
|
+
purple: purple[500],
|
|
30
|
+
pink: pink[400],
|
|
31
|
+
red: red[500],
|
|
32
|
+
orangeLight: orange[100],
|
|
33
|
+
yellowLight: yellow[100],
|
|
34
|
+
primaryLight: primary[100],
|
|
35
|
+
greenLight: green[100],
|
|
36
|
+
blueLight: blue[100],
|
|
37
|
+
purpleLight: purple[100],
|
|
38
|
+
pinkLight: pink[100],
|
|
39
|
+
redLight: red[100],
|
|
26
40
|
},
|
|
41
|
+
dark,
|
|
42
|
+
orange,
|
|
43
|
+
yellow,
|
|
44
|
+
green,
|
|
45
|
+
blue,
|
|
46
|
+
purple,
|
|
47
|
+
pink,
|
|
48
|
+
red,
|
|
49
|
+
|
|
50
|
+
border: `var(--bfc-border, ${dark[900]})`,
|
|
51
|
+
input: `var(--bfc-input, ${dark[200]})`,
|
|
52
|
+
ring: `var(--bfc-border, ${dark[900]})`,
|
|
53
|
+
background: `var(--bfc-background, ${dark[200]})`,
|
|
54
|
+
foreground: `var(--bfc-foreground, ${dark.DEFAULT})`,
|
|
55
|
+
feedback: {
|
|
56
|
+
positive: `var(--bfc-feedback-positive, ${green[500]})`,
|
|
57
|
+
negative: `var(--bfc-feedback-negative, ${red[500]})`,
|
|
58
|
+
},
|
|
59
|
+
link: `var(--bfc-link, ${blue[500]})`,
|
|
60
|
+
surface: {
|
|
61
|
+
DEFAULT: `var(--bfc-surface, ${neutral[800]})`,
|
|
62
|
+
border: `var(--bfc-surface-border, ${zinc[800]})`,
|
|
63
|
+
},
|
|
64
|
+
|
|
27
65
|
secondary: {
|
|
28
|
-
DEFAULT:
|
|
29
|
-
foreground: "
|
|
66
|
+
DEFAULT: `var(--bfc-secondary)`,
|
|
67
|
+
foreground: "var(--bfc-secondary-foreground)",
|
|
30
68
|
},
|
|
31
69
|
destructive: {
|
|
32
|
-
DEFAULT: "
|
|
33
|
-
foreground: "
|
|
70
|
+
DEFAULT: "var(--bfc-destructive)",
|
|
71
|
+
foreground: "var(--bfc-destructive-foreground)",
|
|
34
72
|
},
|
|
35
73
|
muted: {
|
|
36
|
-
DEFAULT: "
|
|
37
|
-
foreground: "
|
|
74
|
+
DEFAULT: "var(--bfc-muted)",
|
|
75
|
+
foreground: "var(--bfc-muted-foreground)",
|
|
38
76
|
},
|
|
39
77
|
accent: {
|
|
40
|
-
DEFAULT: "
|
|
41
|
-
foreground: "
|
|
78
|
+
DEFAULT: "var(--bfc-accent)",
|
|
79
|
+
foreground: "var(--bfc-accent-foreground)",
|
|
42
80
|
},
|
|
43
81
|
popover: {
|
|
44
|
-
DEFAULT: "
|
|
45
|
-
foreground: "
|
|
82
|
+
DEFAULT: "var(--bfc-popover)",
|
|
83
|
+
foreground: "var(--bfc-foreground)",
|
|
46
84
|
},
|
|
47
85
|
card: {
|
|
48
|
-
DEFAULT:
|
|
49
|
-
foreground: "
|
|
86
|
+
DEFAULT: `var(--bfc-card, ${dark[200]})`,
|
|
87
|
+
foreground: "var(--bfc-card-foreground)",
|
|
50
88
|
},
|
|
51
89
|
},
|
|
52
90
|
borderRadius: {
|
|
53
|
-
lg: "var(--radius)",
|
|
54
|
-
md: "calc(var(--radius) - 2px)",
|
|
55
|
-
sm: "calc(var(--radius) - 4px)",
|
|
91
|
+
lg: "var(--bfc-radius)",
|
|
92
|
+
md: "calc(var(--bfc-radius) - 2px)",
|
|
93
|
+
sm: "calc(var(--bfc-radius) - 4px)",
|
|
56
94
|
},
|
|
57
95
|
keyframes: {
|
|
58
96
|
"accordion-down": {
|
|
59
97
|
from: { height: 0 },
|
|
60
|
-
to: { height: "var(--radix-accordion-content-height)" },
|
|
98
|
+
to: { height: "var(--bfc-radix-accordion-content-height)" },
|
|
61
99
|
},
|
|
62
100
|
"accordion-up": {
|
|
63
|
-
from: { height: "var(--radix-accordion-content-height)" },
|
|
101
|
+
from: { height: "var(--bfc-radix-accordion-content-height)" },
|
|
64
102
|
to: { height: 0 },
|
|
65
103
|
},
|
|
66
104
|
},
|