204 Commits

Author SHA1 Message Date
Adam Wathan
c98cc12d35 Remove dependency on perfectionist, implement simple formatting from scratch 2019-04-16 11:43:17 -04:00
Adam Wathan
7544c1bbd2 Drop SFMono from default mono font stack 2019-03-25 10:16:11 -07:00
Adam Wathan
6d1533e9a8 Revert #745, always default to bolder for strong tags 2019-03-18 13:10:54 -04:00
Adam Wathan
9ace7deef2 Update tests 2019-03-18 09:59:20 -04:00
Adam Wathan
b1a8f27b0a
Merge pull request #769 from tailwindcss/make-replaced-elements-block
Make replaced elements block by default, preserve aspect ratio
2019-03-15 11:30:42 -04:00
Adam Wathan
426a549e50 Update shadow-outline to be based on new blue 2019-03-15 11:13:46 -04:00
Adam Wathan
0bbf942897 Make replaced elements block by default, preserve aspect ratio 2019-03-15 10:25:48 -04:00
mattstypa
6d65dfb058 Removed no-comments option from init command 2019-03-15 09:15:16 -05:00
Adam Wathan
33bfb8793f Make inset utilities customizable 2019-03-14 12:35:37 -04:00
Adam Wathan
1940e31b12 Rename pin utilities to top/right/bottom/left/inset 2019-03-14 12:23:51 -04:00
Adam Wathan
9d9ceca5e4 Combine wrap-normal and break-normal, rename wrap-break to break-words
This preserves backwards compatibility with Tailwind 0.x and provides some useful normalization on top of these two funky ass properties.
2019-03-14 08:41:12 -04:00
Adam Wathan
364d87163a Fix rebase mistake 2019-03-13 21:09:17 -04:00
Adam Wathan
aeaf5ab93c Update colors 2019-03-13 21:07:59 -04:00
Adam Wathan
1a6193e22f Rename grey to gray 🇺🇸 2019-03-13 21:06:46 -04:00
Adam Wathan
beb83de208 Replace 0.x colors with rough draft of 1.0 colors
These will 100% change, but the names are at least correct, and the colors are probably ~close. Hoping to finish fine-tuning these by the end of the week.
2019-03-13 21:06:46 -04:00
Adam Wathan
310b848bbf
Merge pull request #761 from tailwindcss/list-utilities
Rework list utilities
2019-03-13 20:05:09 -04:00
Adam Wathan
4be5af28ff Unstyle lists by default 2019-03-13 19:45:23 -04:00
Adam Wathan
e13413153f Add list-inside and list-outside utilities 2019-03-13 19:45:23 -04:00
Adam Wathan
7178c43d2c Add list-disc and list-decimal by default 2019-03-13 19:44:35 -04:00
Adam Wathan
137159aaa9 Rename list-reset to list-none, remove padding declaration 2019-03-13 19:44:35 -04:00
Adam Wathan
ce4da4eb10
Merge pull request #760 from tailwindcss/reset-link-styles
Make link styling opt-in instead of opt-out
2019-03-13 19:35:44 -04:00
Adam Wathan
f4e9100799 Make link styling opt-in instead of opt-out 2019-03-13 13:26:19 -04:00
Adam Wathan
788ae98f34 Change sm screen to 640px 2019-03-13 13:04:04 -04:00
Adam Wathan
d0576d6507 Add text-6xl 2019-03-13 08:20:25 -04:00
Adam Wathan
87cf9df68e Use configured monospace font for monospace elements 2019-03-12 21:28:27 -04:00
Adam Wathan
72697fd580
Merge pull request #750 from tailwindcss/simplify-serif-font-stack
Simplify default serif font stack
2019-03-12 21:07:27 -04:00
Adam Wathan
5bf8ae7874 Simplify default serif font stack 2019-03-12 20:58:53 -04:00
Adam Wathan
35a4100f15 Default to Tailwind's 'normal' line-height 2019-03-12 20:35:27 -04:00
Adam Wathan
209b71a83d Use system font stack by default instead of sans-serif 2019-03-12 20:22:12 -04:00
Adam Wathan
be4665ec5c
Merge pull request #747 from tailwindcss/update-mono-font-stack
Update default monospace font stack to match Bootstrap
2019-03-12 20:10:05 -04:00
Adam Wathan
7f30791371
Merge pull request #745 from tailwindcss/use-theme-bold-for-strong
Use configured bold for strong tags
2019-03-12 20:01:02 -04:00
Adam Wathan
9fa075c154 Update default monospace font stack to match Bootstrap 2019-03-12 19:58:55 -04:00
Adam Wathan
dd3cba279d Update system font stack to match latest Bootstrap 2019-03-12 19:54:10 -04:00
Adam Wathan
0d25dd274d Use configured bold for strong tags 2019-03-12 17:19:34 -04:00
Adam Wathan
3d12231bdb Remove background color transparent 2019-03-12 17:05:20 -04:00
Adam Wathan
b4db53676e Don't reset form elements quite as aggressively 2019-03-12 16:59:25 -04:00
Adam Wathan
58f581ef32 Reset form elements even more aggressively 2019-03-12 11:18:42 -04:00
Adam Wathan
c246f19773 Make form elements inherit more font properties 2019-03-12 10:59:16 -04:00
Adam Wathan
1ffa750c76
Merge pull request #701 from tailwindcss/new-max-width-scale
Use progressive maxWidth scale
2019-03-05 09:44:12 -05:00
Adam Wathan
43ea7311d5
Merge pull request #697 from tailwindcss/rename-config-to-theme
Remove config() function in favor of theme()
2019-03-05 09:42:58 -05:00
Adam Wathan
d1d9492c91 Remove 7xl and 8xl
Now that I plan to add max-w-screen-* variations, I don't think these huge options provide any real value.
2019-03-02 16:00:05 -05:00
Adam Wathan
2dcea512fc Renumber scale to account for missing value
Somehow I skipped 6xl? I'm an idiot.
2019-03-02 15:58:31 -05:00
Adam Wathan
ce48a4c91d
Merge pull request #702 from tailwindcss/disable-text-style-variants
Disable unnecessary variants for text style plugins
2019-03-02 15:22:55 -05:00
Adam Wathan
fb451e7aa6 Update font-size and font-weight to inherit 2019-03-02 13:05:39 -05:00
Adam Wathan
c3886066cc Reset heading styles in preflight
Set all headings to inherit the parent font size and reset the font
weight to normal. This prevents you from accidentally using browser
default sizes in your designs and deviating from your design system.
2019-03-01 20:53:01 -05:00
Adam Wathan
da69598818 Disable unnecessary variants for text style plugins 2019-03-01 15:50:30 -05:00
Adam Wathan
4ed557ea98 Use progressive maxWidth scale 2019-03-01 14:29:38 -05:00
Adam Wathan
1ea1f4a450 Add 40/48/56/64 to shared spacing scale 2019-03-01 13:41:47 -05:00
Adam Wathan
1c5940ee88 Add 56 value for width/height 2019-03-01 13:27:56 -05:00
Adam Wathan
53ca284553 Remove config() function in favor of theme()
The only reason the config() helper function existed was to access your design tokens in your CSS, like:

```css
.foo {
  color: config('colors.blue')
}
```

Now that design tokens are nested in the new `theme` section, using the `config()` function is a bit more verbose:

```css
.foo {
  color: config('theme.colors.blue')
}
```

This PR removes the `config()` function in favor of a new `theme()` function that is already scoped to the `theme` section of the config:

```css
.foo {
  color: theme('colors.blue')
}
```

I can't think of any reason at all why you would need to access the non-theme values in your config from your CSS (like enabled variants, or your list of plugins), and the word `theme` is much more expressive than `config`, so I think this is a worthwhile change.
2019-03-01 08:35:24 -05:00