'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

var plugin = require('tailwindcss/plugin');

var tailwindPlugin = plugin(({ addComponents }) => {
  addComponents({
    /**
     * 文字
     */
    ".text-title": {
      fontSize: "var(--gm-text-title)",
      lineHeight: "var(--gm-leading-title)",
      color: "var(--gm-text-color-title)",
      fontWeight: "700"
    },
    ".text-model": {
      fontSize: "var(--gm-text-model)",
      lineHeight: "var(--gm-leading-model)",
      color: "var(--gm-text-color-title)",
      fontWeight: "700"
    },
    ".text-primary": {
      fontSize: "var(--gm-text-primary)",
      lineHeight: "var(--gm-leading-primary)",
      color: "var(--gm-text-color-primary)"
    },
    ".text-link": {
      fontSize: "var(--gm-text-primary)",
      lineHeight: "var(--gm-leading-primary)",
      color: "var(--gm-text-color-link)"
    },
    ".text-error": {
      fontSize: "var(--gm-text-primary)",
      lineHeight: "var(--gm-leading-primary)",
      color: "var(--gm-text-color-error)"
    },
    ".text-warning": {
      fontSize: "var(--gm-text-primary)",
      lineHeight: "var(--gm-leading-primary)",
      color: "var(--gm-text-color-warning)"
    },
    ".text-success": {
      fontSize: "var(--gm-text-primary)",
      lineHeight: "var(--gm-leading-primary)",
      color: "var(--gm-text-color-success)"
    }
  });
});

exports.default = tailwindPlugin;
//# sourceMappingURL=tailwindPlugin.js.map
