-
Notifications
You must be signed in to change notification settings - Fork 4k
Permalink
Loading
Choose a base ref
{{ refName }}
default
Loading
Choose a head ref
{{ refName }}
default
Comparing changes
Choose two branches to see what’s changed or to start a new pull request.
If you need to, you can also or
learn more about diff comparisons.
Open a pull request
Create a new pull request by comparing changes across two branches. If you need to, you can also .
Learn more about diff comparisons here.
base repository: tailwindlabs/tailwindcss
base: 4194b96
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
...
head repository: tailwindlabs/tailwindcss
compare: d499c59
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
- 11 commits
- 11 files changed
- 1 contributor
Commits on Sep 24, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 79b37a8 - Browse repository at this point
Copy the full SHA 79b37a8View commit details -
Handle unknown typehints (#5588)
If you use a typehint like `w-[length:12px]`, then currently that wouldn't generate anything because we don't have a matchUtilities for `w` with a `length` type. To fix this, we can detect if this is unnecessary, if it is we still generate the expected outcome. (In this case `width: 12px`) but we also warn to the user that we detected this. Currently we detect this by checking if there is only a single plugin registered for handling the prefix (e.g.: `w-`). We can probably improve this by also checking all the types that all plugins are handling for the resolved plugins.
Configuration menu - View commit details
-
Copy full SHA for ab17c6c - Browse repository at this point
Copy the full SHA ab17c6cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 87da0a1 - Browse repository at this point
Copy the full SHA 87da0a1View commit details -
Configuration menu - View commit details
-
Copy full SHA for a45967d - Browse repository at this point
Copy the full SHA a45967dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 640026c - Browse repository at this point
Copy the full SHA 640026cView commit details -
improve arbitrary support for outline
This will allow us to use `outline-[OUTLINE,OPTIONAL_OFFSET]` Input: ```html outline-[2px_solid_black] ``` Output: ```css .outline-\[2px_solid_black\] { outline: 2px solid black; outline-offset: 0; } ``` --- Input: ```html outline-[2px_solid_black,2px] ``` Output: ```css .outline-\[2px_solid_black\2c 2px\] { outline: 2px solid black; outline-offset: 2px; } ```
Configuration menu - View commit details
-
Copy full SHA for 5f45020 - Browse repository at this point
Copy the full SHA 5f45020View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0ca42fe - Browse repository at this point
Copy the full SHA 0ca42feView commit details -
Configuration menu - View commit details
-
Copy full SHA for 05e4099 - Browse repository at this point
Copy the full SHA 05e4099View commit details -
Configuration menu - View commit details
-
Copy full SHA for 355371f - Browse repository at this point
Copy the full SHA 355371fView commit details -
Ref: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Types These data types will be used to "guess" the type of an arbitrary value if there is some ambiguity going on. For example: ``` bg-[#0088cc] -> This is a `color` -> `background-color` bg-[url('...')] -> This is a `url` -> `background-image` ``` If you are using css variables, then there is no way of knowing which type it is referring to, in that case you can be explicit: ``` bg-[color:var(--value)] -> This is a `color` -> `background-color` bg-[url:var(--value)] -> This is a `url` -> `background-image` ``` When you explicitly pass a data type, then we bypass the type system and assume you are right. This is nice in a way because now we don't have to run all of the guessing type code. On the other hand, you can introduce runtime issues that we are not able to detect: ``` :root { --value: 12px; } /* Later... */ bg-[color:var(--value)] -> Assumes `color` -> *eventually* -> `background-color: 12px` ```
Configuration menu - View commit details
-
Copy full SHA for d07a3e9 - Browse repository at this point
Copy the full SHA d07a3e9View commit details -
Configuration menu - View commit details
-
Copy full SHA for d499c59 - Browse repository at this point
Copy the full SHA d499c59View commit details
Loading
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff 4194b96...d499c59