@brainfish-ai/components 0.0.45 → 0.0.48-alpha.0

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.
@@ -0,0 +1,3 @@
1
+ import type { Config } from 'tailwindcss';
2
+ declare const config: Config;
3
+ export default config;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brainfish-ai/components",
3
- "version": "0.0.45",
3
+ "version": "0.0.48-alpha.0",
4
4
  "description": "Brainfish Components",
5
5
  "license": "MIT",
6
6
  "main": "./dist/cjs/index.js",
@@ -39,7 +39,6 @@
39
39
  "peerDependencies": {
40
40
  "class-variance-authority": "0.7.0",
41
41
  "clsx": "2.x",
42
- "lucide-react": "^0.292.0",
43
42
  "react": "^17.0.0",
44
43
  "react-dom": "^17.0.0",
45
44
  "tailwind-merge": "^2.0.0",
@@ -87,7 +86,6 @@
87
86
  "eslint-plugin-storybook": "^0.6.15",
88
87
  "gh-pages": "^6.0.0",
89
88
  "jsdom": "^22.1.0",
90
- "lucide-react": "^0.292.0",
91
89
  "postcss": "^8.4.31",
92
90
  "postcss-scss": "^4.0.9",
93
91
  "prettier": "3.0.3",
@@ -112,16 +110,16 @@
112
110
  },
113
111
  "packageManager": "yarn@3.6.3",
114
112
  "dependencies": {
113
+ "@phosphor-icons/react": "^2.1.7",
115
114
  "@radix-ui/react-dropdown-menu": "^2.1.4",
116
115
  "@radix-ui/react-icons": "^1.3.2",
117
116
  "@radix-ui/react-switch": "^1.1.2",
118
117
  "@radix-ui/react-tooltip": "^1.1.6",
119
118
  "framer-motion": "^11.15.0",
120
119
  "mermaid": "^10.9.0",
121
- "phosphor-react": "^1.4.1",
122
120
  "react-markdown": "^9.0.1",
123
121
  "react-syntax-highlighter": "^15.6.1",
124
122
  "rehype-raw": "^7.0.0",
125
123
  "remark-gfm": "^4.0.0"
126
124
  }
127
- }
125
+ }
@@ -0,0 +1,114 @@
1
+ import type { Config } from 'tailwindcss';
2
+ import tailwindcssAnimate from 'tailwindcss-animate';
3
+ import { BrainfishColors } from 'src/colors';
4
+
5
+ const { blue, dark, green, orange, pink, primary, purple, red, yellow } = BrainfishColors;
6
+
7
+ const config: Config = {
8
+ darkMode: ['class', '[data-mode="dark"]'],
9
+ content: ['./src/**/*.{js,ts,jsx,tsx}', 'node_modules/@lemonsqueezy/wedges/dist/**/*.{js,ts,jsx,tsx}'],
10
+ theme: {
11
+ container: {
12
+ center: true,
13
+ padding: '2rem',
14
+ screens: {
15
+ '2xl': '1400px',
16
+ },
17
+ },
18
+ extend: {
19
+ colors: {
20
+ primary,
21
+ base: {
22
+ orange: orange[400]!,
23
+ yellow: yellow[400]!,
24
+ primary: primary[400]!,
25
+ green: green[400]!,
26
+ blue: blue[500]!,
27
+ purple: purple[500]!,
28
+ pink: pink[400]!,
29
+ red: red[500]!,
30
+ orangeLight: orange[100]!,
31
+ yellowLight: yellow[100]!,
32
+ primaryLight: primary[100]!,
33
+ greenLight: green[100]!,
34
+ blueLight: blue[100]!,
35
+ purpleLight: purple[100]!,
36
+ pinkLight: pink[100]!,
37
+ redLight: red[100]!,
38
+ },
39
+ dark,
40
+ orange,
41
+ yellow,
42
+ green,
43
+ blue,
44
+ purple,
45
+ pink,
46
+ red,
47
+
48
+ secondary: {
49
+ DEFAULT: 'hsl(var(--secondary))',
50
+ foreground: 'hsl(var(--secondary-foreground))',
51
+ },
52
+ destructive: {
53
+ DEFAULT: 'hsl(var(--destructive))',
54
+ foreground: 'hsl(var(--destructive-foreground))',
55
+ },
56
+ muted: {
57
+ DEFAULT: 'hsl(var(--muted))',
58
+ foreground: 'hsl(var(--muted-foreground))',
59
+ },
60
+ accent: {
61
+ DEFAULT: 'hsl(var(--accent))',
62
+ foreground: 'hsl(var(--accent-foreground))',
63
+ },
64
+ background: `hsl(var(--background, ${primary.DEFAULT}))`,
65
+ foreground: `hsl(var(--foreground, ${dark.DEFAULT}))`,
66
+ border: `hsl(var(--border, ${dark[200]}))`,
67
+ input: `hsl(var(--input, ${dark[200]}))`,
68
+ ring: `hsl(var(--border, ${dark[900]}))`,
69
+ popover: {
70
+ DEFAULT: `hsl(var(--popover, '#FFFFFF'))`,
71
+ foreground: `hsl(var(--popover-foreground, ${dark[900]}))`,
72
+ },
73
+ card: {
74
+ DEFAULT: `hsl(var(--popover, '#FFFFFF']}))`,
75
+ foreground: `hsl(var(--popover-foreground, ${dark[900]}))`,
76
+ },
77
+ },
78
+ borderRadius: {
79
+ lg: 'var(--radius)',
80
+ md: 'calc(var(--radius) - 2px)',
81
+ sm: 'calc(var(--radius) - 4px)',
82
+ },
83
+ keyframes: {
84
+ 'accordion-down': {
85
+ from: { height: '0' },
86
+ to: { height: 'var(--radix-accordion-content-height)' },
87
+ },
88
+ 'accordion-up': {
89
+ from: { height: 'var(--radix-accordion-content-height)' },
90
+ to: { height: '0' },
91
+ },
92
+ },
93
+ animation: {
94
+ 'accordion-down': 'accordion-down 0.2s ease-out',
95
+ 'accordion-up': 'accordion-up 0.2s ease-out',
96
+ },
97
+ maxWidth: {
98
+ threadWidth: '1400px',
99
+ },
100
+ spacing: {
101
+ headerHeight: '64px',
102
+ md: '16px',
103
+ lg: '24px',
104
+ xl: '32px',
105
+ },
106
+ gridTemplateColumns: {
107
+ 12: 'repeat(12, minmax(0, 1fr))',
108
+ },
109
+ },
110
+ },
111
+ plugins: [tailwindcssAnimate],
112
+ };
113
+
114
+ export default config;