tailwind-softpop-plugin 0.0.11 → 0.0.13

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.
package/package.json CHANGED
@@ -1,11 +1,13 @@
1
1
  {
2
2
  "name": "tailwind-softpop-plugin",
3
- "version": "0.0.11",
3
+ "version": "0.0.13",
4
4
  "description": "Tailwind CSS plugin for softpop design system",
5
5
  "style": "./src/index.css",
6
6
  "exports": {
7
7
  ".": "./src/index.css",
8
8
  "./index.css": "./src/index.css",
9
+ "./fonts": "./src/fonts/index.css",
10
+ "./fonts/index.css": "./src/fonts/index.css",
9
11
  "./mulish": "./src/fonts/mulish/index.css",
10
12
  "./nunito": "./src/fonts/nunito/index.css",
11
13
  "./mulish/index.css": "./src/fonts/mulish/index.css",
@@ -0,0 +1,17 @@
1
+ @font-face {
2
+ font-family: "Mulish";
3
+ font-style: normal;
4
+ font-display: swap;
5
+ font-weight: 200 1000;
6
+ src: url(./mulish/files/mulish.woff2) format("woff2-variations");
7
+ unicode-range: U+0000-00FF, U+0100-017F;
8
+ }
9
+
10
+ @font-face {
11
+ font-family: "Nunito";
12
+ font-style: normal;
13
+ font-display: swap;
14
+ font-weight: 200 1000;
15
+ src: url(./nunito/files/nunito.woff2) format("woff2-variations");
16
+ unicode-range: U+0000-00FF, U+0100-017F;
17
+ }
package/src/index.css CHANGED
@@ -1,6 +1,3 @@
1
- @import "./fonts/nunito/index.css";
2
- @import "./fonts/mulish/index.css";
3
-
4
1
  @plugin "./scrollbar/index.js";
5
2
 
6
3
  @theme {
@@ -165,10 +162,13 @@
165
162
  }
166
163
 
167
164
  p {
168
- margin-bottom: 1.5em;
169
165
  max-width: 75ch;
170
166
  }
171
167
 
168
+ p + p {
169
+ margin-top: 1.5em;
170
+ }
171
+
172
172
  button {
173
173
  @apply focus-visible:outline-none focus-visible:ring-4 focus-visible:ring-primary-500/60;
174
174
  }