-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f4c1ba1
commit 42a7a73
Showing
2 changed files
with
55 additions
and
106 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,118 +1,16 @@ | ||
/** @type {import('tailwindcss').Config} */ | ||
|
||
const { join } = require('path'); | ||
const defaultTheme = require('tailwindcss/defaultTheme'); | ||
const { createGlobPatternsForDependencies } = require('@nx/react/tailwind'); | ||
const sharedTailwindConfig = require('../../libs/shinkai-ui/src/shinkai-preset.js'); | ||
|
||
module.exports = { | ||
darkMode: ['class'], | ||
presets: [sharedTailwindConfig], | ||
content: [ | ||
join( | ||
__dirname, | ||
'{src,pages,components,app}/**/*!(*.stories|*.spec).{ts,tsx,html}', | ||
), | ||
...createGlobPatternsForDependencies(__dirname), | ||
], | ||
theme: { | ||
container: { | ||
center: true, | ||
padding: '2rem', | ||
screens: { | ||
'2xl': '1400px', | ||
}, | ||
}, | ||
extend: { | ||
border: { | ||
input: 'hsl(var(--input))', | ||
}, | ||
colors: { | ||
border: 'hsl(var(--border))', | ||
input: 'hsl(var(--input))', | ||
ring: 'hsl(var(--ring))', | ||
background: 'hsl(var(--background))', | ||
// foreground: 'hsl(var(--foreground))', | ||
primary: { | ||
600: '#FF7E7F', | ||
700: '#FF5E5F', | ||
800: '#FF3E3F', | ||
}, | ||
foreground: '#FFFFFF', | ||
'muted-foreground': '#c7c7c7', | ||
secondary: { | ||
600: '#19242D', | ||
}, | ||
// primary: { | ||
// DEFAULT: 'hsl(var(--primary))', | ||
// foreground: 'hsl(var(--primary-foreground))', | ||
// }, | ||
// secondary: { | ||
// DEFAULT: 'hsl(var(--secondary))', | ||
// foreground: 'hsl(var(--secondary-foreground))', | ||
// }, | ||
destructive: { | ||
DEFAULT: 'hsl(var(--destructive))', | ||
foreground: 'hsl(var(--destructive-foreground))', | ||
}, | ||
muted: { | ||
DEFAULT: 'hsl(var(--muted))', | ||
foreground: 'hsl(var(--muted-foreground))', | ||
}, | ||
accent: { | ||
DEFAULT: 'hsl(var(--accent))', | ||
foreground: 'hsl(var(--accent-foreground))', | ||
}, | ||
popover: { | ||
DEFAULT: 'hsl(var(--popover))', | ||
foreground: 'hsl(var(--popover-foreground))', | ||
}, | ||
card: { | ||
DEFAULT: 'hsl(var(--card))', | ||
foreground: 'hsl(var(--card-foreground))', | ||
}, | ||
}, | ||
backgroundImage: { | ||
'app-gradient': | ||
'linear-gradient(90deg, rgba(0, 0, 0, 0.30) 0%, rgba(0, 0, 0, 0.20) 100%)', | ||
}, | ||
borderRadius: { | ||
lg: 'var(--radius)', | ||
md: 'calc(var(--radius) - 2px)', | ||
sm: 'calc(var(--radius) - 4px)', | ||
}, | ||
keyframes: { | ||
'accordion-down': { | ||
from: { height: '0' }, | ||
to: { height: 'var(--radix-accordion-content-height)' }, | ||
}, | ||
'accordion-up': { | ||
from: { height: 'var(--radix-accordion-content-height)' }, | ||
to: { height: '0' }, | ||
}, | ||
breath: { | ||
'0%, 100%': { transform: 'opacity: 1' }, | ||
'50%': { transform: 'opacity: .5' }, | ||
}, | ||
'big-bounce': { | ||
'0%, 100%': { | ||
transform: 'translateY(-75%)', | ||
'animation-timing-function': 'cubic-bezier(0.8, 0, 1, 1)', | ||
}, | ||
'50%': { | ||
transform: 'translateY(0)', | ||
'animation-timing-function': 'cubic-bezier(0, 0, 0.2, 1)', | ||
}, | ||
}, | ||
}, | ||
animation: { | ||
'accordion-down': 'accordion-down 0.2s ease-out', | ||
'accordion-up': 'accordion-up 0.2s ease-out', | ||
breath: 'pulse 6s cubic-bezier(0.4, 0, 0.6, 1) infinite;', | ||
'big-bounce': 'big-bounce 1s infinite', | ||
}, | ||
fontFamily: { | ||
inter: ['Inter', ...defaultTheme.fontFamily.sans], | ||
}, | ||
}, | ||
}, | ||
plugins: [require('tailwindcss-animate')], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters