GithubHelp home page GithubHelp logo

tailwindcomponents / cheatsheet Goto Github PK

View Code? Open in Web Editor NEW
336.0 336.0 64.0 1.35 MB

This repo content a cheatsheet page from tailwindcompnents.com

Home Page: https://tailwindcomponents.com/cheatsheet

License: MIT License

JavaScript 6.07% HTML 5.58% TypeScript 87.78% CSS 0.57%
cheatsheet reactjs tailwindcss

cheatsheet's People

Contributors

bibby avatar cyantiz avatar gabrielbrattgard avatar ilyasmagin avatar khatabwedaa avatar lguima avatar lucaseverett avatar m-atthart avatar maadeval avatar peter-512 avatar schaeferthomas avatar vcikv avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

cheatsheet's Issues

guide for less experienced

I noticed this cheatsheet template is being widely used among data analyst community. Thats how I got here. I would have few applications how to use the template. Sadly my programmer skills in type script, yarn, etc. are entry level and I am struggling with getting this app running.
Would it be possible to provide entry level guide for using this template, the project readme with three commands doesnt work for me even after installing npm and yarn on Windows.
Thank you for amazing work.

Add: placeholder utilities

Hello,

I couldn't find placeholder text utilities on your webpage cheat sheet for text inputs.
The placeholder text colour can be changed with, for example, placeholder-gray-800.
There are other placeholder utilities shown in the docs.

make base font size customisable

problem

tailwind takes 16px as the default base font value and all the values are derived from it. if you customise your base font, then the pixel values displayed in the cheatsheet are not accurate.

solution

add a setting to customise the base font value and store it in local storage. the pixel values should take it into account when calculating.

so for example this:
max-h-1 | max-height: 0.25rem; | 4px

would become this if your base font is 15px:
max-h-1 | max-height: 0.25rem; | 3.75px

Deploy repo to website for V3 support

Hej,

when are you planning to update the website? Since the repo supports Tailwind V3 already (@khatabwedaa (9b115df)) and i think the cheatsheet is also already updated?

I see the max-height values are not updated yet.

Thank you for your work! :)

Copy to Clipboard not working

The feature copy to clipboard (00e8ddd) is not working on macOS Chrome. Since the Document is not focused.
image

Maybe implement this solution.

If i find the time i will create a PR, but maybe you are faster. :P

Search by category name

I think it would be nice if I could be searching by category name, especially when starting on expanded view

Here is an example for searching effects category:

initial view

initial view

eff search

search effects

The only possible problem is that after accepting this change some search results will change, 'cause more results will be visible, here is example for spacing search query:

old

old spacing

new

new spacing

I believe this will greatly improve user experience and I've already implemented this change in my #32 PR
Any feedback is appreciated!

Update `flex-grow` property

The flex property flex-grow: 1 is listed as flex-grow. According to the docs, it should simply be grow. grow-0 is correctly listed, however, for flex-grow: 0.

Cheatsheet search collapses categories

Thanks a ton for this cheatsheet! I would be awesome if I could leave it in expand all view and search without the categories ending up in a collapsed state when they don't have any matches.

Reproduction:

  1. go to https://tailwindcomponents.com/cheatsheet/
  2. click expand all
  3. search for px-2
  4. delete your search
  5. categories containing no matches for px-2 have transitioned to collapsed state.

I'd figure this out and do a pull request, but I'm still learning. Just putting this here in case someone sees it and has time. Thanks again! This is a great learning resource for me.

Typo error

I love Tailwind CSS.
While I was working on the cheat sheet, I found this small issue.

image

Thanks.

Add query param support to URL

Lots of browsers support Custom Search Engines. This change would allow me to type "tw" -> hit tab -> and type in a search term, and then I could open the tailwind cheatsheet to the specific query I'm thinking of. It'd be a huge ergonomic win!

Need correction of `Border Radius` property

The Border Radius property is completely wrong compared to the original documentation, the property at site contains undersized values where:

0.75rem = 10px
1rem = 12px,
1.5rem = 16px 

while it should be

0.75rem = 12px
1rem = 16px
1.5rem = 24px

the same issue occurs in all rounded related variables

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.