summaryrefslogtreecommitdiff
path: root/node_modules/doiuse/data/features/css-rrggbbaa.js
blob: 7d83f4e4b2d9541a938926b527fd4353364765be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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,
  ],
};