diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2023-10-14 15:50:21 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2023-10-14 15:50:21 +0800 |
| commit | 0379526e20e1ff212df23e6326741aa9c06df204 (patch) | |
| tree | 340143b0c4dc4280c88ba1591d137b53477005b3 /node_modules/doiuse/data/features/css-rrggbbaa.js | |
| parent | 7aba14fb7c970c6e6af82c805db2aef6d70bfe2b (diff) | |
added doiuse plugin for postcss
Diffstat (limited to 'node_modules/doiuse/data/features/css-rrggbbaa.js')
| -rw-r--r-- | node_modules/doiuse/data/features/css-rrggbbaa.js | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/node_modules/doiuse/data/features/css-rrggbbaa.js b/node_modules/doiuse/data/features/css-rrggbbaa.js new file mode 100644 index 00000000..7d83f4e4 --- /dev/null +++ b/node_modules/doiuse/data/features/css-rrggbbaa.js @@ -0,0 +1,15 @@ +/** + * #rrggbbaa hex color notation + * The CSS Color Module Level 4 defines new 4 & 8 character hex notation for color to include the opacity level. + * @see https://caniuse.com/css-rrggbbaa + */ + +/** + * @type {import('../features').Feature} + */ +export default { + '': [ + /#[\da-f]{8}/i, + /#[\da-f]{4}(\W|$)/i, + ], +}; |
