Skip to content

The open alternative to Salesforce, designed for AI.

210 B
Raw Blame
const CSS_IMPORTANT_PRIORITY_PATTERN = /\s*!\s*important\s*$/i;

export const stripImportantPriorityFromCssValue = (
  rawCssValue: string,
): string => rawCssValue.replace(CSS_IMPORTANT_PRIORITY_PATTERN, '');