Skip to content

Commit

Permalink
remove no longer needed media driver
Browse files Browse the repository at this point in the history
  • Loading branch information
natew committed Jan 17, 2025
1 parent 8a6cf4d commit 4adede2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion packages/config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
"dependencies": {
"@tamagui/animations-react-native": "^1.121.11",
"@tamagui/font-inter": "^1.121.11",
"@tamagui/react-native-media-driver": "^1.121.11",
"@tamagui/shorthands": "^1.121.11",
"@tamagui/themes": "^1.121.11",
"tamagui": "^1.121.11"
Expand Down
5 changes: 2 additions & 3 deletions packages/config/src/tamagui.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import { createTamagui } from 'tamagui'
import { createInterFont } from '@tamagui/font-inter'
import { shorthands } from '@tamagui/shorthands'
import { tokens, themes } from '@tamagui/config/v3'
import { createMedia } from '@tamagui/react-native-media-driver'

import { animations } from '@my/ui/src/animations'

Expand Down Expand Up @@ -71,7 +70,7 @@ export const config = createTamagui({
},
themes,
tokens,
media: createMedia({
media: {
xs: { maxWidth: 660 },
sm: { maxWidth: 800 },
md: { maxWidth: 1020 },
Expand All @@ -86,7 +85,7 @@ export const config = createTamagui({
tall: { minHeight: 820 },
hoverNone: { hover: 'none' },
pointerCoarse: { pointer: 'coarse' },
}),
},
})

// for the compiler to find it
Expand Down

0 comments on commit 4adede2

Please sign in to comment.