Files
supabase/apps/www/components/Wrapped/Visuals.tsx
Ivan Vasilov 308cd791a2 chore: Prep work for migrating to Tailwind v4 (#45285)
This PR preps the monorepo for a migration to Tailwind v4:
- Bump all Tailwind dependencies and libraries to the latest possible
version, while still compatible with Tailwind 3.
- Cleans up obsolete Tailwind 3 specific options and configs.
- Cleans up unused CSS files and fixes the CSS imports.
- Migrates all `important` uses in `@apply` lines to using the `!`
prefix.
- Move `typography.css` to the `config` package and import it from the
apps.
- Migrated all occurrences of `flex-grow`, `flex-shrink`,
`overflow-clip` and `overflow-ellipsis` since they're deprecated and
will be removed in Tailwind 4.
- Make the default theme object typesafe in the `ui` package.
- Migrate all `bg-opacity`, `border-opacity`, `ring-opacity` and
`divider-opacity` to the new format where they're declared as part of
the property color.
- Bump and unify all imports of `postcss` dependency.
2026-04-28 11:33:53 +02:00

38 lines
1000 B
TypeScript

import { ComponentProps } from 'react'
export const Stripes = () => (
<div
className="grow absolute inset-0"
style={{
backgroundImage: `repeating-linear-gradient(
45deg,
hsl(var(--border-muted)) 0px,
hsl(var(--border-muted)) 1px,
transparent 1px,
transparent 8px
)`,
}}
/>
)
export const Dots = () => (
<div
className="h-full w-full absolute inset-0 bg-foreground-muted dark:bg-muted"
style={{
maskImage: 'url("/images/state-of-startups/pattern-stipple.svg")',
maskSize: '4px',
maskRepeat: 'repeat',
maskPosition: 'center',
}}
/>
)
export const Android = (props: ComponentProps<'svg'>) => (
<svg fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" {...props}>
<path
d="M2 5h2v2H2V5zm4 4H4V7h2v2zm2 0H6v2H4v2H2v6h20v-6h-2v-2h-2V9h2V7h2V5h-2v2h-2v2h-2V7H8v2zm0 0h8v2h2v2h2v4H4v-4h2v-2h2V9zm2 4H8v2h2v-2zm4 0h2v2h-2v-2z"
fill="currentColor"
/>
</svg>
)