Skip to content

Commit 32d43f5

Browse files
committed
@csstools/postcss-content-alt-text v2.0.0
1 parent 957079b commit 32d43f5

File tree

3 files changed

+5
-16
lines changed

3 files changed

+5
-16
lines changed

plugins/postcss-content-alt-text/CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# Changes to PostCSS Content Alt Text
22

3-
### Unreleased (major)
3+
### 2.0.0
4+
5+
_August 3, 2024_
46

57
- Updated: Support for Node v18+ (major).
68
- Add specific handling of `content: ">" / "";` as this pattern is used in the same way as `<img alt="">`, i.e. to represent an item that does not need a text alternative.

plugins/postcss-content-alt-text/README.md

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
# PostCSS Content Alt Text [<img src="https://postcss.github.io/postcss/logo.svg" alt="PostCSS Logo" width="90" height="90" align="right">][PostCSS]
22

3-
[<img alt="npm version" src="https://img.shields.io/npm/v/@csstools/postcss-content-alt-text.svg" height="20">][npm-url] [<img alt="Build Status" src="https://github.com/csstools/postcss-plugins/workflows/test/badge.svg" height="20">][cli-url] [<img alt="Discord" src="https://shields.io/badge/Discord-5865F2?logo=discord&logoColor=white">][discord]<br><br>[<img alt="Baseline Status" src="https://cssdb.org/images/badges-baseline/content-alt-text.svg" height="20">][css-url] [<img alt="CSS Standard Status" src="https://cssdb.org/images/badges/content-alt-text.svg" height="20">][css-url]
4-
5-
```bash
6-
npm install @csstools/postcss-content-alt-text --save-dev
7-
```
3+
`npm install @csstools/postcss-content-alt-text --save-dev`
84

95
[PostCSS Content Alt Text] generates fallback values for `content` with alt text following the [CSS Generated Content Module].
106

@@ -49,16 +45,7 @@ postcss([
4945
]).process(YOUR_CSS /*, processOptions */);
5046
```
5147

52-
[PostCSS Content Alt Text] runs in all Node environments, with special
53-
instructions for:
5448

55-
- [Node](INSTALL.md#node)
56-
- [PostCSS CLI](INSTALL.md#postcss-cli)
57-
- [PostCSS Load Config](INSTALL.md#postcss-load-config)
58-
- [Webpack](INSTALL.md#webpack)
59-
- [Next.js](INSTALL.md#nextjs)
60-
- [Gulp](INSTALL.md#gulp)
61-
- [Grunt](INSTALL.md#grunt)
6249

6350
## Options
6451

plugins/postcss-content-alt-text/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@csstools/postcss-content-alt-text",
33
"description": "Generate fallback values for content with alt text",
4-
"version": "1.0.0",
4+
"version": "2.0.0",
55
"contributors": [
66
{
77
"name": "Antonio Laguna",

0 commit comments

Comments
 (0)