mirror of
https://github.com/Sevichecc/Urara-Blog.git
synced 2025-05-05 17:09:30 +08:00
7 lines
292 B
Text
7 lines
292 B
Text
'use strict';
|
|
/** @type {(rule: import('postcss').AnyNode[], prop: string) => import('postcss').Declaration} */
|
|
module.exports = (rule, prop) => {
|
|
return /** @type {import('postcss').Declaration} */ (
|
|
rule.filter((n) => n.type === 'decl' && n.prop.toLowerCase() === prop).pop()
|
|
);
|
|
};
|