clampography 2.0.0 → 2.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.
- package/README.md +1 -1
- package/package.json +1 -1
- package/src/index.js +2 -3
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
**Clampography** is a typography and theming plugin for [Tailwind CSS v4](https://tailwindcss.com/).
|
|
4
4
|
|
|
5
|
-
When you use Tailwind CSS, the [Preflight](https://tailwindcss.com/docs/preflight) reset removes all browser defaults. You get a completely
|
|
5
|
+
When you use Tailwind CSS, the [Preflight](https://tailwindcss.com/docs/preflight) reset removes all browser defaults. You get a completely unstyled baseline, which is great for UI, but terrible for blog articles or documentation pages because all your `<h1>`, `<p>`, `<ul>`, and other tags lose their styling.
|
|
6
6
|
|
|
7
7
|
**Clampography solves this.** It restores typography defaults and makes them mathematically perfect. It automatically generates a fluid type scale using [CSS clamp() functions](https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Values/clamp). Your text and spacing will scale smoothly between mobile and 4K displays - without writing a single media query.
|
|
8
8
|
|
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -6,8 +6,7 @@ import formsStyles from "./forms.js";
|
|
|
6
6
|
import kbdStyles from "./kbd.js";
|
|
7
7
|
import printStyles from "./print.js";
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
import { version } from "../package.json" with { type: "json" };
|
|
9
|
+
|
|
11
10
|
|
|
12
11
|
/**
|
|
13
12
|
* Helper to resolve boolean options from CSS configuration.
|
|
@@ -35,7 +34,7 @@ export default plugin.withOptions(
|
|
|
35
34
|
|
|
36
35
|
// Show startup log only once
|
|
37
36
|
if (showLogs && firstRun) {
|
|
38
|
-
console.log(`🍀 Clampography
|
|
37
|
+
console.log(`🍀 Clampography loaded successfully`);
|
|
39
38
|
firstRun = false;
|
|
40
39
|
}
|
|
41
40
|
|