clio-design-system 0.1.0 → 0.3.0

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 CHANGED
@@ -2,6 +2,22 @@
2
2
 
3
3
  Component library for the Clio app, generated from the Clio design system in Claude Design.
4
4
 
5
+ ## Usage
6
+
7
+ Import the stylesheet once at your app root — it ships the design tokens **and**
8
+ the KaTeX styles that `EquationBlock` needs:
9
+
10
+ ```js
11
+ import 'clio-design-system/styles.css';
12
+ ```
13
+
14
+ `EquationBlock` renders a TeX string to typeset display math via bundled KaTeX —
15
+ just pass `tex`, nothing to mount:
16
+
17
+ ```jsx
18
+ <EquationBlock tex="x_{k+1} = x_k - \eta \nabla f(x_k)" />
19
+ ```
20
+
5
21
  ## Scripts
6
22
 
7
23
  - `npm run dev` — build in watch mode