Skip to content

Heigh breakpoints #342

Description

@vasafix

I am migrating from Nativewind, where I have height breakpoints defined in tailwind.config.ts as:

 screens: {
       ....
      'h-sm': { raw: '(min-height: 668px)' },
      'h-md': { raw: '(min-height: 813px)' },
  }

Can I achieve this in Uniwind? I tried:

@custom-variant h-sm (@media (min-height: 668px));
@custom-variant h-md (@media (min-height: 813px));

But I can't get it to work, please help 🙏

Uniwind version

1.2.7

React Native Version

0.79.6

Platforms

Android, iOS

Expo

No

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions