Skip to content

Commit 20f9941

Browse files
authored
Merge pull request #159 from objectstack-ai/copilot/fix-styles-for-calendar-buttons
2 parents 0bd83b2 + 1b9cef4 commit 20f9941

File tree

4 files changed

+39
-60
lines changed

4 files changed

+39
-60
lines changed

apps/site/app/global.css

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,38 @@
88
@source '../../packages/react/src/**/*.{ts,tsx}';
99
@source '../../packages/plugin-*/src/**/*.{ts,tsx}';
1010

11+
/* Tailwind plugin for animations */
12+
@plugin 'tailwindcss-animate';
13+
14+
/* Define theme colors for Tailwind 4 */
15+
@theme {
16+
/* Border radius tokens */
17+
--radius-lg: var(--radius);
18+
--radius-md: calc(var(--radius) - 2px);
19+
--radius-sm: calc(var(--radius) - 4px);
20+
21+
/* Color tokens mapped to CSS variables */
22+
--color-border: hsl(var(--border));
23+
--color-input: hsl(var(--input));
24+
--color-ring: hsl(var(--ring));
25+
--color-background: hsl(var(--background));
26+
--color-foreground: hsl(var(--foreground));
27+
--color-primary: hsl(var(--primary));
28+
--color-primary-foreground: hsl(var(--primary-foreground));
29+
--color-secondary: hsl(var(--secondary));
30+
--color-secondary-foreground: hsl(var(--secondary-foreground));
31+
--color-destructive: hsl(var(--destructive));
32+
--color-destructive-foreground: hsl(var(--destructive-foreground));
33+
--color-muted: hsl(var(--muted));
34+
--color-muted-foreground: hsl(var(--muted-foreground));
35+
--color-accent: hsl(var(--accent));
36+
--color-accent-foreground: hsl(var(--accent-foreground));
37+
--color-popover: hsl(var(--popover));
38+
--color-popover-foreground: hsl(var(--popover-foreground));
39+
--color-card: hsl(var(--card));
40+
--color-card-foreground: hsl(var(--card-foreground));
41+
}
42+
1143
/* ObjectUI component CSS custom properties */
1244
:root {
1345
--background: 0 0% 100%;

apps/site/package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@
1212
"dependencies": {
1313
"@object-ui/components": "workspace:*",
1414
"@object-ui/core": "workspace:*",
15-
"@object-ui/react": "workspace:*",
16-
"@object-ui/types": "workspace:*",
17-
"@object-ui/plugin-editor": "workspace:*",
1815
"@object-ui/plugin-charts": "workspace:*",
16+
"@object-ui/plugin-editor": "workspace:*",
1917
"@object-ui/plugin-kanban": "workspace:*",
2018
"@object-ui/plugin-markdown": "workspace:*",
2119
"@object-ui/plugin-object": "workspace:*",
20+
"@object-ui/react": "workspace:*",
21+
"@object-ui/types": "workspace:*",
2222
"fumadocs-core": "^16.4.7",
2323
"fumadocs-mdx": "^14.2.6",
2424
"fumadocs-ui": "^16.4.7",
@@ -36,6 +36,7 @@
3636
"autoprefixer": "^10.4.23",
3737
"postcss": "^8.4.49",
3838
"tailwindcss": "^4.1.18",
39+
"tailwindcss-animate": "^1.0.7",
3940
"typescript": "^5.9.3"
4041
}
4142
}

apps/site/tailwind.config.ts

Lines changed: 0 additions & 57 deletions
This file was deleted.

pnpm-lock.yaml

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)