mirror of
https://codeberg.org/Kankys/NewLukasBlog.git
synced 2026-11-11 14:14:36 +01:00
OpravyPoAI
This commit is contained in:
1 parent
99aa797101
commit
24fd53c94c
4746 files changed
+700320
-12
No files matched your search
+15
@@ -0,0 +1,15 @@
|
||||
'use strict';
|
||||
/**
|
||||
* @param {import('postcss').Rule} node
|
||||
* @return {boolean}
|
||||
*/
|
||||
module.exports = function isMixin(node) {
|
||||
const { selector } = node;
|
||||
|
||||
// If the selector ends with a ':' it is likely a part of a custom mixin.
|
||||
if (!selector || selector[selector.length - 1] === ':') {
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
};
|
||||
Reference in new issue
Block a user