Skip to content

Commit a0f5cc8

Browse files
committed
docs: update context.md
1 parent f823b7c commit a0f5cc8

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

context.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ Web runtime:
7979

8080
Shared runtime:
8181

82-
- `Uniwind.setTheme(theme | 'system')` switches explicit themes or returns to system adaptive light/dark.
82+
- `Uniwind.setTheme(theme | 'system')` switches explicit themes or returns to system-adaptive light/dark.
8383
- `Uniwind.currentTheme` and `Uniwind.hasAdaptiveThemes` back `useUniwind`.
8484
- `Uniwind.updateCSSVariables(theme, variables)` updates theme variables and notifies variable subscribers.
8585
- `Uniwind.updateInsets(insets)` is native-only behavior and updates safe-area-style runtime values.
@@ -115,7 +115,7 @@ Metro integration:
115115

116116
Vite integration:
117117

118-
- `uniwind(config)` returns a pre Vite plugin.
118+
- `uniwind(config)` returns a pre-Vite plugin.
119119
- Vite aliases `react-native` to Uniwind web components, except imports from Uniwind internals resolve back to `react-native-web`.
120120
- Vite replaces RNW `createOrderedCSSStyleSheet` with Uniwind's ordered stylesheet implementation.
121121
- Vite uses Lightning CSS with `UniwindCSSVisitor`.
@@ -127,8 +127,8 @@ Native processing converts Tailwind-generated CSS into metadata-rich style recor
127127

128128
Important concepts:
129129

130-
- A `Style` record stores entries, breakpoint bounds, orientation, theme, RTL, native flag, dependencies, source index, class name, important properties, selector complexity, pseudo states, and data attributes.
131-
- CSS variables live in `vars`; theme and platform scoped variables live in `scopedVars` with internal prefixes.
130+
- A `Style` record stores entries, breakpoint bounds, orientation, theme, RTL, native flag, dependencies, source index, class name, important properties, selector complexity, pseudo-states, and data attributes.
131+
- CSS variables live in `vars`; theme and platform-scoped variables live in `scopedVars` with internal prefixes.
132132
- The processor treats declarations under `:root` or outside class rules as variables.
133133
- Theme variants are recognized from known theme names.
134134
- Data attribute variants support boolean `data-x` and exact `data-x="value"` matching against component props.

0 commit comments

Comments
 (0)