@etus/design-system 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -282,7 +282,27 @@ module.exports = {
282
282
  require("@tailwindcss/aspect-ratio"),
283
283
  require("@tailwindcss/typography"),
284
284
  require("@tailwindcss/forms"),
285
- plugin(function ({ addVariant, e, postcss }) {
285
+ plugin(function ({ addVariant, e, postcss, addComponents }) {
286
+ addComponents({
287
+ ".p1": {
288
+ "@apply text-2xl font-normal leading-lg": {},
289
+ },
290
+ ".p2": {
291
+ "@apply text-base font-normal leading-lg": {},
292
+ },
293
+ ".p3": {
294
+ "@apply text-sm font-normal leading-lg": {},
295
+ },
296
+ ".p4": {
297
+ "@apply text-xs font-normal leading-lg": {},
298
+ },
299
+ ".caption-c1": {
300
+ "@apply text-xs font-medium": {},
301
+ },
302
+ ".caption-c2": {
303
+ "@apply text-xxs font-normal": {},
304
+ },
305
+ });
286
306
  addVariant("firefox", ({ container, separator }) => {
287
307
  const isFirefoxRule = postcss.atRule({
288
308
  name: "-moz-document",
@@ -298,4 +318,5 @@ module.exports = {
298
318
  });
299
319
  }),
300
320
  ],
321
+ safelist: ["brius-theme", "p1", "p2", "p3", "p4", "caption-c1", "caption-c2"],
301
322
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@etus/design-system",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "type": "module",
5
5
  "description": "Vue 3 Design System Components with Tailwind CSS",
6
6
  "author": "Etus Digital",