first commit
This commit is contained in:
56
node_modules/stylelint/lib/reference/functions.mjs
generated
vendored
Normal file
56
node_modules/stylelint/lib/reference/functions.mjs
generated
vendored
Normal file
@@ -0,0 +1,56 @@
|
||||
export const camelCaseFunctions = new Set([
|
||||
'translateX',
|
||||
'translateY',
|
||||
'translateZ',
|
||||
'scaleX',
|
||||
'scaleY',
|
||||
'scaleZ',
|
||||
'rotateX',
|
||||
'rotateY',
|
||||
'rotateZ',
|
||||
'skewX',
|
||||
'skewY',
|
||||
]);
|
||||
|
||||
export const colorFunctions = new Set([
|
||||
'color',
|
||||
'color-mix',
|
||||
'hsl',
|
||||
'hsla',
|
||||
'hwb',
|
||||
'lab',
|
||||
'lch',
|
||||
'oklab',
|
||||
'oklch',
|
||||
'rgb',
|
||||
'rgba',
|
||||
]);
|
||||
|
||||
const singleArgumentMathFunctions = new Set([
|
||||
'abs',
|
||||
'acos',
|
||||
'asin',
|
||||
'atan',
|
||||
'calc',
|
||||
'cos',
|
||||
'exp',
|
||||
'sign',
|
||||
'sin',
|
||||
'sqrt',
|
||||
'tan',
|
||||
]);
|
||||
|
||||
export const mathFunctions = new Set([
|
||||
...singleArgumentMathFunctions,
|
||||
'atan2',
|
||||
'calc-size',
|
||||
'clamp',
|
||||
'hypot',
|
||||
'log',
|
||||
'max',
|
||||
'min',
|
||||
'mod',
|
||||
'pow',
|
||||
'rem',
|
||||
'round',
|
||||
]);
|
||||
Reference in New Issue
Block a user