diff --git a/.stylelintrc.js b/.stylelintrc.js index 4378e653..099a8b4f 100644 --- a/.stylelintrc.js +++ b/.stylelintrc.js @@ -33,8 +33,7 @@ const config = { /** * @param {string} atRule */ - message: (atRule) => - `At-rule ${atRule} is not allowed in Catppuccin userstyles`, + message: (atRule) => `At-rule ${atRule} is not allowed`, }, ], "property-disallowed-list": [ @@ -59,10 +58,10 @@ const config = { * @param {string} prop */ message: (prop) => { - if (["border", "outline"].includes(prop)) { + if (prop.includes("border") || ["outline"].includes(prop)) { return `Use \`${prop}-color\` instead of \`${prop}\``; } else { - return `Property \`${prop}\` is not allowed in Catppuccin userstyles`; + return `Property \`${prop}\` is not allowed`; } }, },