View parseBoxShadowValue.diff
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/util/parseBoxShadowValue.js b/src/util/parseBoxShadowValue.js | |
index eb4872c7..5ed74a9e 100644 | |
--- a/src/util/parseBoxShadowValue.js | |
+++ b/src/util/parseBoxShadowValue.js | |
@@ -1,58 +1,27 @@ | |
-let KEYWORDS = new Set(['inset', 'inherit', 'initial', 'revert', 'unset']) | |
+let KEYWORDS = ['inset', 'inherit', 'initial', 'revert', 'unset'] | |
let COMMA = /\,(?![^(]*\))/g // Comma separator that is not located between brackets. E.g.: `cubiz-bezier(a, b, c)` these don't count. | |
let SPACE = /\ +(?![^(]*\))/g // Similar to the one above, but with spaces instead. | |
-let LENGTH = /^-?(\d+)(.*?)$/g |
View index.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="group flex flex-col"> | |
<label class="text-gray-500 group-has-disabled:text-red-500">Name</label> | |
<input class="border p-2" disabled /> | |
</div> |
View input.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$foo: theme('colors.red.400'); | |
.foo { | |
color: $foo; | |
} |
View input.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:root { | |
--stroke-base: 255 0 0 | |
} | |
.foo { | |
color: rgba(var(--stroke-base)/0.15) | |
} |
View input.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@mixin button ($a, $b, $c) { | |
color: $a; | |
border: $b; | |
content: $c; | |
} | |
.foo { | |
@include button(#{theme('colors.white')}, 1px solid blue, 'hi') | |
} |
View input.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.button-primary { | |
color: theme('colors.error.10'); | |
} |
View input.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.button-primary { | |
color: theme('primary'); | |
} |
View tailwind.css
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */ | |
/* Document | |
========================================================================== */ | |
/** | |
* 1. Correct the line height in all browsers. | |
* 2. Prevent adjustments of font size after orientation changes in iOS. | |
*/ |
View cb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import bezier from "bezier-easing"; | |
export const linear = bezier(0.5, 0.5, 0.5, 0.5); | |
export const easeInCubic = bezier(0.55, 0.055, 0.675, 0.19); | |
export const easeOutCubic = bezier(0.215, 0.61, 0.355, 1); | |
export const easeInOutCubic = bezier(0.645, 0.045, 0.355, 1); | |
export const easeInSine = bezier(0.47, 0, 0.745, 0.715); | |
export const easeOutSine = bezier(0.39, 0.575, 0.565, 1); |
NewerOlder