Repository: tailwindlabs/tailwindcss-jit (js)

Issue:
Outline utility no longer aligned with docs
Thanks for the great improvements, this is really making fun!

While testing with an existing project I discovered that the outline utility right now differs from the `tailwindcss`' version (and the documentation as well) for it's `outline-offset`. `@tailwindcss/jit` generates f.e. `.outline-white: {outline: 2px dotted white; outline-offset: 0;}`, while the original version compiles to `.outline-white: {outline: 2px dotted white; outline-offset: 2px;}`.

Pull request description:
Fix handling of outline offsets
Resolves #82 

Patch:
diff --git a/src/corePlugins/outline.js b/src/corePlugins/outline.js
index e806599..f71adbd 100644
--- a/src/corePlugins/outline.js
+++ b/src/corePlugins/outline.js
@@ -1,17 +1,11 @@
 const nameClass = require('tailwindcss/lib/util/nameClass').default
-const transformThemeValue = require('tailwindcss/lib/util/transformThemeValue').default
-
-function isPlainObject(value) {
-  return typeof value === 'object' && value !== null
-}
 
 module.exports = function ({ matchUtilities, jit: { theme } }) {
   matchUtilities({
     outline: (modifier, { theme }) => {
-      let transformValue = transformThemeValue('outline')
-      let value = transformValue(theme.outline[modifier])
+      let value = theme.outline[modifier]
 
-      if (modifier === '' || value === undefined) {
+      if (value === undefined) {
         return []
       }
 


Test patch:
diff --git a/tests/01-basic-usage.test.css b/tests/01-basic-usage.test.css
index 1eaa663..c41a09f 100644
--- a/tests/01-basic-usage.test.css
+++ b/tests/01-basic-usage.test.css
@@ -553,11 +553,11 @@
 }
 .outline-none {
   outline: 2px solid transparent;
-  outline-offset: 0;
+  outline-offset: 2px;
 }
 .outline-black {
   outline: 2px dotted black;
-  outline-offset: 0;
+  outline-offset: 2px;
 }
 .ring {
   --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width)