@microphi/styles 1.5.1 → 1.5.2
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/AGENTS.md +10 -0
- package/package.json +4 -3
package/AGENTS.md
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# @microphi/styles — notes for coding agents
|
|
2
|
+
|
|
3
|
+
Flex-first SCSS utility classes. Full docs: [README.md](README.md).
|
|
4
|
+
|
|
5
|
+
## Rules
|
|
6
|
+
|
|
7
|
+
- Load once: `@use '@microphi/styles/scss/main';` (requires `utopia-core-scss`).
|
|
8
|
+
- Classes are prefixed `fx-` (`fx-flex`, `fx-gap-4`, `fx-p-2`); responsive variants use `md:` style prefixes (`md:fx-flex-row`).
|
|
9
|
+
- Spacing and font sizes are fluid steps of a Utopia scale (`fx-text-{step}`), not pixel values: don't add fixed `px` overrides for them.
|
|
10
|
+
- Check `scss/` for the exact class before inventing one; prefer composing utilities over new CSS.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@microphi/styles",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.2",
|
|
4
4
|
"description": "Flex-first SCSS utilities",
|
|
5
5
|
"scripts": {},
|
|
6
6
|
"private": false,
|
|
@@ -32,7 +32,8 @@
|
|
|
32
32
|
"url": "https://github.com/microph1/microphi/issues"
|
|
33
33
|
},
|
|
34
34
|
"files": [
|
|
35
|
-
"scss"
|
|
35
|
+
"scss",
|
|
36
|
+
"AGENTS.md"
|
|
36
37
|
],
|
|
37
|
-
"gitHead": "
|
|
38
|
+
"gitHead": "859e7630f4ce943bad7424ea406f87830d3c3af2"
|
|
38
39
|
}
|