mirror of
https://github.com/Sevichecc/Urara-Blog.git
synced 2025-05-04 13:59:30 +08:00
7 lines
249 B
Text
7 lines
249 B
Text
'use strict';
|
|
/** @type {(rule: import('postcss').Declaration[], ...props: string[]) => boolean} */
|
|
module.exports = (rule, ...props) => {
|
|
return props.every((p) =>
|
|
rule.some((node) => node.prop && node.prop.toLowerCase().includes(p))
|
|
);
|
|
};
|