%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/cwg/wp-content/themes/cwg/node_modules/tailwindcss/lib/lib/
Upload File :
Create Path :
Current File : //var/www/cwg/wp-content/themes/cwg/node_modules/tailwindcss/lib/lib/applyImportantConfiguration.js

"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = applyImportantConfiguration;

function applyImportantConfiguration(_config) {
  return function (css) {
    css.walkRules(rule => {
      const important = rule.__tailwind ? rule.__tailwind.important : false;

      if (!important) {
        return;
      }

      if (typeof important === 'string') {
        rule.selectors = rule.selectors.map(selector => {
          return `${rule.__tailwind.important} ${selector}`;
        });
      } else {
        rule.walkDecls(decl => decl.important = true);
      }
    });
  };
}

Zerion Mini Shell 1.0