elrumordelaluz / elrumordelaluz/reactour

Styling with tailwindcss

Open
#620 0 comments 5 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
4.1k
Forks
352
PR merge metrics
No merged PRs in 30d

Description

```
({
...base,
'--reactour-accent': '#ef5a3d',
borderRadius: radius,
}),
maskArea: (base) => ({ ...base, rx: radius }),
maskWrapper: (base) => ({ ...base, color: '#ef5a3d' }),
badge: (base) => ({ ...base, left: 'auto', right: '-0.8125em' }),
controls: (base) => ({ ...base, marginTop: 100 }),
close: (base) => ({ ...base, right: 'auto', left: 8, top: 8 }),
}}
>
```

It would be great to be able to ust give a className for each and style it with tailwindcss instead of providing a styleObject.

Contributor guide

Open the contributing guide

Research direction

Start by tracing the TourProvider styles prop and the listed popover, maskArea, maskWrapper, badge, controls, and close targets. No files or tests are named; done means each target can receive a className that applies Tailwind styling without requiring the style object.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, tailwindcss, typescript
Domain
frontend
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.