Skip to content

Commit dd8c1e4

Browse files
committed
2.7.0
1 parent d27d15b commit dd8c1e4

File tree

3 files changed

+12
-10
lines changed

3 files changed

+12
-10
lines changed

CHANGELOG.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
1+
# 2.7.0 - 2016-06-28
2+
3+
- Added: ``@apply`` support (definitions limited to ``:root`` selector)
4+
([#291](https://github.com/MoOx/postcss-cssnext/issues/291)) - @pascalduez)
5+
16
# 2.6.0 - 2016-06-01
27

38
- Added: ``overflow-wrap`` fallback
4-
([#280](https://github.com/MoOx/postcss-cssnext/pull/280))
5-
- @MattDiMu
9+
([#280](https://github.com/MoOx/postcss-cssnext/pull/280) - @MattDiMu)
610

711
# 2.5.2 - 2016-04-04
812

docs/content/features.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ depending on your browser scope) using
2121
## custom properties & `var()`
2222

2323
The current transformation for custom properties aims to provide a
24-
future-proof way of using a **limited subset (to top-level `:root` selector)**
24+
future-proof way of using a **limited to `:root` selector**
2525
of the features provided by native CSS custom properties.
2626

2727
```css
@@ -34,18 +34,16 @@ a {
3434
}
3535
```
3636

37-
(The transformation is not complete and can't be properly. By injecting selectors
38-
with new computed rules, we will break original cascade & unexpected results
39-
might happen).
37+
⚠️ [_The definitions are **limited to `:root` selector.**_](https://github.com/postcss/postcss-custom-properties#readme)
4038

4139
[Specification](http://www.w3.org/TR/css-variables/)
4240
|
4341
[Plugin documentation](https://github.com/postcss/postcss-custom-properties)
4442

4543
## custom properties set & `@apply`
4644

47-
Allows you to store a set of properties in a named variable, then reference them
48-
in other style rules.
45+
Allows you to store a set of properties in a named custom property,
46+
then reference them in other style rules.
4947

5048
```css
5149
:root {
@@ -60,7 +58,7 @@ in other style rules.
6058
}
6159
```
6260

63-
(The same DOM restrictions as the custom properties plugin apply).
61+
⚠️ [_The definitions are **limited to `:root` selector.**_](https://github.com/postcss/postcss-custom-properties#readme)
6462

6563
[Specification](https://tabatkins.github.io/specs/css-apply-rule)
6664
|

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "postcss-cssnext",
3-
"version": "2.6.0",
3+
"version": "2.7.0",
44
"description": "Use tomorrow’s CSS syntax, today",
55
"keywords": [
66
"postcss",

0 commit comments

Comments
 (0)