lorisleiva / lorisleiva/tailwindcss-plugins

platform specific variants (mac:&)

Open
#20 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
280
Forks
18
PR merge metrics
No merged PRs in 30d

Description

we use tailwind + electron and I wanna have a variant for each platform:

`

hidden on mac
`

or

`

padding 4 on windows
`

discussion: https://twitter.com/peer_rich/status/1559659075759112193

potential solution: https://twitter.com/NFS__21/status/1559774502804156416

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the Tailwind and Electron examples in the issue and the linked discussions to define supported platform names and variant behavior. Done means platform-specific classes such as mac:hidden and windows:px-4 apply only on their target platform, with coverage for the agreed behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
electron, tailwindcss
Domain
desktop-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.