Skip to content

Commit

Permalink
fix: do not include preflight in style.css, upgrade turbo and pin lat…
Browse files Browse the repository at this point in the history
…est pnpm
  • Loading branch information
rschlaefli committed Aug 31, 2024
1 parent 1865d23 commit 59fc18f
Show file tree
Hide file tree
Showing 5 changed files with 255 additions and 565 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"size-limit": "7.0.8",
"standard-version": "9.5.0",
"syncpack": "12.4.0",
"turbo": "2.0.12",
"turbo": "2.1.1",
"typescript": "5.1.6"
},
"scripts": {
Expand All @@ -42,8 +42,8 @@
"test": "turbo run test"
},
"volta": {
"node": "20.16.0",
"pnpm": "9.7.0"
"node": "20.17.0",
"pnpm": "9.9.0"
},
"packageManager": "[email protected]",
"workspaces": [
Expand Down
3 changes: 3 additions & 0 deletions packages/design-system/tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ export default {
},
},
},
corePlugins: {
preflight: false,
},
plugins: [
import('tailwindcss-animate'),
import('@tailwindcss/typography'),
Expand Down
43 changes: 43 additions & 0 deletions packages/design-system/types/constants.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,49 @@ export declare const TailwindColorsUZH: {
'uzh-turqoise-60': string;
'uzh-turqoise-40': string;
'uzh-turqoise-20': string;
'primary-100': string;
'primary-80': string;
'primary-60': string;
'primary-40': string;
'primary-20': string;
'secondary-100': string;
'secondary-80': string;
'secondary-60': string;
'secondary-40': string;
'secondary-20': string;
border: string;
input: string;
ring: string;
background: string;
foreground: string;
primary: {
DEFAULT: string;
foreground: string;
};
secondary: {
DEFAULT: string;
foreground: string;
};
destructive: {
DEFAULT: string;
foreground: string;
};
muted: {
DEFAULT: string;
foreground: string;
};
accent: {
DEFAULT: string;
foreground: string;
};
popover: {
DEFAULT: string;
foreground: string;
};
card: {
DEFAULT: string;
foreground: string;
};
};

export declare const TailwindFonts: {
Expand Down
Loading

0 comments on commit 59fc18f

Please sign in to comment.