Comments (3)
both
transition
andtransition-default
should be in the type.From the theme configuration, I see
You'll notice that using a key of default in the theme configuration created the class rounded with no suffix. This is a common convention in Tailwind supported by many (although not all) of the core plugins.
The fact that it's not supported by all core plugins is annoying, Maybe you can manage a blacklist of plugins, and auto-add the no-suffix type for all plugins not listed in that blacklist?
The missing transition
type has been added. I could remove the default
suffix from all types, but this will not be correct for other classes that have the default
suffix, so I've opened a discussion on thier repo asking about this.
from tailwindcss-classnames.
The CLI now removes default
suffix from all types except those I know to have it (cursor-default).
Classes of transition property don't seem to be keeping the default
suffix because the value of default key in transitionProperty
in the default tailwind config is the same as for the .transition
class.
I will add more here once they list those to have the suffix.
If you know any specific classnames that keep the default suffix, please create a PR!
from tailwindcss-classnames.
This issue has been resolved by using 'DEFAULT' for classes that does not have the suffix and using 'default' to kepp the suffix in the classname (tailwindlabs/tailwindcss#2580)
Which is covered by this PR #70
from tailwindcss-classnames.
Related Issues (20)
- Move `vertical-align` values to config file instead of hard-coding HOT 1
- Build is missing negative value classnames HOT 2
- CLI error on version 3.0.0 HOT 3
- CI: npm publish is failing on the ci
- Remove colors.js or pin it to 1.4.0 HOT 1
- Missing color from TailwindCSS. HOT 5
- Missing support for stacking pseudo classes HOT 5
- Custom screen sizes in config file not working HOT 2
- Missing 'group' helper? HOT 3
- idea: function helpers or generics for stacked modifiers HOT 2
- No generated type for 'ring-inset'
- darkMode: 'class' in tailwind.config.js not supported
- Bundle size increased after version 3.0.1 HOT 1
- ClassnameGenerator indexing after filter when generating colors
- Negative value in classname and Outline offset.
- Config with Preset Fail to Generated with CLI HOT 1
- Try to merge similiar utility functions
- Container Queries
- Support v3.1.0
- Make using exactOptionalPropertyTypes TS option easier
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tailwindcss-classnames.