Skip to content

Commit

Permalink
Fix tailwind dependency in content
Browse files Browse the repository at this point in the history
  • Loading branch information
haydenbleasel committed Jan 23, 2025
1 parent 79b61b2 commit f23287c
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions apps/docs/components/preview/content.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,12 @@ export const content = `import {
subDays,
subMonths,
} from 'date-fns';
import resolveConfig from 'tailwindcss/resolveConfig';
const tailwind = resolveConfig(window.tailwind.config);
const today = new Date();
export const exampleStatuses = [
{ id: '1', name: 'Planned', color: tailwind.theme.colors.gray[500] },
{ id: '2', name: 'In Progress', color: tailwind.theme.colors.amber[500] },
{ id: '3', name: 'Done', color: tailwind.theme.colors.emerald[500] },
{ id: '1', name: 'Planned', color: '#6B7280' },
{ id: '2', name: 'In Progress', color: '#F59E0B' },
{ id: '3', name: 'Done', color: '#10B981' },
];
export const exampleFeatures = [
Expand Down

0 comments on commit f23287c

Please sign in to comment.