David Mosher
862bce837e
add test harness for cli.js and stdout bugfix
...
- when used on the CLI, lib/cli.js was writing the output of log
statements to STDOUT; this caused consumers of the CLI who wanted to
pipe the processed output (css) to other unix utilities to end up with
invalid CSS due to the log messages appearing at the start and end of
the files
- this commit fixes this by replacing `console.log` with `console.warn`
and `console.error`, which both write output to STDERR
2018-05-03 13:42:45 -04:00
Adam Wathan
2e34df923e
Add sourcemaps for replaced preflight styles
2018-03-30 10:23:56 -04:00
Adam Wathan
6c127e5ac3
Revert not-italic to roman
2018-03-13 17:11:17 -04:00
Adam Wathan
9ee6a30d5f
Add center and padding options to container plugin
2018-03-13 13:50:44 -04:00
Adam Wathan
de24a2a45e
Remove special scrollbar styling for IE/Edge
2018-03-13 12:33:19 -04:00
Adam Wathan
055e3eea78
Move CSS files to root for easier imports
2018-03-13 10:05:24 -04:00
Adam Wathan
7c88a6c474
Build separate components dist file
2018-03-13 09:44:19 -04:00
Adam Wathan
cc968d1791
Fix conflics, refactor variant generator
2018-03-13 08:12:20 -04:00
Adam Wathan
1b24db9244
Sort cursor utilities
2018-03-13 07:55:49 -04:00
Adam Wathan
ad208d4b8e
Merge branch 'patch-1' of https://github.com/ryanscherler/tailwindcss into ryanscherler-patch-1
2018-03-13 07:53:33 -04:00
Adam Wathan
a2ffc0d62d
Merge branch 'OFFLINE-GmbH-master' into 0.5
2018-03-13 07:50:53 -04:00
Adam Wathan
cf77601bcf
Fix conflicts
2018-03-13 07:50:33 -04:00
Adam Wathan
9fcfbc6730
Fix style
2018-03-12 16:15:09 -04:00
Laurence Ioannou
174f3723aa
Update overflow.js
2018-03-12 16:05:35 -04:00
Adam Wathan
77e350c882
Merge branch 'hacknug-feature/backgroundSizes' into 0.5
2018-03-12 15:41:55 -04:00
Adam Wathan
290bafd2d2
Fix conflicts
2018-03-12 15:41:25 -04:00
Adam Wathan
e8c820d78b
Remove old container generator
2018-03-12 15:34:34 -04:00
Adam Wathan
088cdc9a41
Refactor container plugin to CSS-in-JS
2018-03-12 15:34:34 -04:00
Adam Wathan
6e7ae58910
Move container component to a built-in plugin
2018-03-12 15:34:34 -04:00
Adam Wathan
20461a3418
Generate container classes as components, not utilities
2018-03-12 15:34:34 -04:00
Adam Wathan
fa0e06c2dd
Generate focus variants last and group-hover variants first
2018-03-12 15:34:14 -04:00
Adam Wathan
02bac50589
Rename to
2018-03-12 15:33:53 -04:00
Adam Wathan
c63bf4f4da
Fix conflicts
2018-03-12 11:14:54 -04:00
Adam Wathan
8e8f47c58d
Respect user prefix by default when creating component classes
2018-03-07 09:37:01 -05:00
Adam Wathan
7d589dd542
Fix style + kill unused code
2018-03-07 09:37:01 -05:00
Adam Wathan
c3f021a0c9
Prefix all classes in a selector, don't assume single class
2018-03-07 09:37:01 -05:00
Adam Wathan
d1423bab63
Drop shitty rule/atRule syntax for pure object syntax
2018-03-07 09:37:01 -05:00
Adam Wathan
10be05a167
Get object style parsing working without the insanity
2018-03-07 09:37:01 -05:00
Adam Wathan
bc05473b37
Add dependencies, fix warnings
2018-03-07 09:37:01 -05:00
Adam Wathan
6450748351
WIP
2018-03-07 09:37:01 -05:00
Adam Wathan
2feac441e7
Style fixes
2018-03-05 09:58:35 -05:00
Adam Wathan
9234df388e
Add utility helper for creating utility rules that are automatically escaped and respect prefix/important options
2018-03-05 09:58:35 -05:00
Adam Wathan
960275cc86
Add container classes as utilities not components
...
Just for now so that this feature can be introduced into the codebase
without forcing a BC break. The container classes will eventually be
moved to a built-in plugin that adds them as components.
2018-03-05 09:58:35 -05:00
Adam Wathan
dac591198f
Provide a function for prefixing utilities in plugins
2018-03-05 09:58:35 -05:00
Adam Wathan
87b291a258
Test utilities can be added without specifying variants
2018-03-05 09:58:35 -05:00
Adam Wathan
9573024a1b
Expose config as a function to avoid mutation and make it easy to provide defaults
2018-03-05 09:58:35 -05:00
Adam Wathan
18d45b19cf
Fix style
2018-03-05 09:58:35 -05:00
Adam Wathan
98f322920f
Move processPlugins to separate module
2018-03-05 09:58:35 -05:00
Adam Wathan
a6342e60ce
Add atRule helper for plugins
2018-03-05 09:58:35 -05:00
Adam Wathan
24d184fbfc
Pass escape function to plugins
2018-03-05 09:58:35 -05:00
Adam Wathan
4d3bbcad95
Pass config to plugins
2018-03-05 09:58:35 -05:00
Adam Wathan
e89fffbc3c
Remove unnecessary array destructuring
2018-03-05 09:58:35 -05:00
Adam Wathan
47518404c0
Rename selector to rule, extract plugin processing
2018-03-05 09:58:35 -05:00
Adam Wathan
73a6b6da85
Sort imports
2018-03-05 09:58:35 -05:00
Adam Wathan
5f77aa0ec3
Implement basic plugin system
2018-03-05 09:58:35 -05:00
Adam Wathan
eacc4635b6
Match apply rules against a lookup table instead of searching
2018-02-28 20:34:16 -05:00
fedeTibaldo
b7cb21360d
Update priority order to (from the highest): active-hover-focus
2018-02-19 17:23:22 +01:00
fedeTibaldo
62cf25f718
Change priority order to (from the highest): focus-active-hover
2018-02-16 18:09:20 +01:00
fedeTibaldo
2e4e4a79e2
Revert output order from hover-active-focus to focus-active-hover
2018-02-09 20:57:34 +01:00
fedeTibaldo
1f57fbfbaf
Add tests for active state variant
2018-02-09 20:20:24 +01:00