@thesage/config 0.0.1 → 0.0.3
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/CHANGELOG.md +13 -0
- package/README.md +56 -0
- package/package.json +1 -1
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# @thesage/config
|
|
2
|
+
|
|
3
|
+
## 0.0.3 - 2026-01-28
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 90e78f4: docs: add standard README.md with installation and usage instructions
|
|
8
|
+
|
|
9
|
+
## 0.0.2 - 2026-01-28
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- 76a383b: Syncing npm registry with latest changes from GitHub (auto-generated catch-up).
|
package/README.md
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
# Sage Config (@thesage/config)
|
|
2
|
+
|
|
3
|
+
<div align="center">
|
|
4
|
+
|
|
5
|
+
[](https://www.npmjs.com/package/@thesage/config)
|
|
6
|
+
[](https://github.com/shalomormsby/ecosystem/blob/main/LICENSE)
|
|
7
|
+
|
|
8
|
+
**Shared Configuration Presets for the Sage Ecosystem.**
|
|
9
|
+
|
|
10
|
+
[Documentation](https://thesage.dev) • [GitHub](https://github.com/shalomormsby/ecosystem)
|
|
11
|
+
|
|
12
|
+
</div>
|
|
13
|
+
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
**Sage Config** provides the standard configuration presets for tools like Tailwind CSS, ensuring consistency across all applications and packages in the Sage ecosystem.
|
|
17
|
+
|
|
18
|
+
## ✨ Features
|
|
19
|
+
|
|
20
|
+
- **🎨 Tailwind Preset**: Pre-configured colors, typography, animations, and radii matching Sage Tokens.
|
|
21
|
+
- **✨ Animation Utilities**: Custom keyframes and animation classes integration.
|
|
22
|
+
|
|
23
|
+
## 🚀 Installation
|
|
24
|
+
|
|
25
|
+
This package is typically installed as a `devDependency`.
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
pnpm add -D @thesage/config
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
## 💻 Usage
|
|
32
|
+
|
|
33
|
+
### Tailwind CSS
|
|
34
|
+
Add the preset to your `tailwind.config.js` file.
|
|
35
|
+
|
|
36
|
+
```js
|
|
37
|
+
/** @type {import('tailwindcss').Config} */
|
|
38
|
+
module.exports = {
|
|
39
|
+
presets: [
|
|
40
|
+
require('@thesage/config/tailwind')
|
|
41
|
+
],
|
|
42
|
+
content: [
|
|
43
|
+
// Ensure you scan the Sage UI components
|
|
44
|
+
"./node_modules/@thesage/ui/dist/**/*.{js,ts,jsx,tsx}",
|
|
45
|
+
"./src/**/*.{ts,tsx}",
|
|
46
|
+
],
|
|
47
|
+
theme: {
|
|
48
|
+
extend: {},
|
|
49
|
+
},
|
|
50
|
+
plugins: [],
|
|
51
|
+
}
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
## 📄 License
|
|
55
|
+
|
|
56
|
+
MIT © [Shalom Ormsby](https://github.com/shalomormsby)
|