fallow_extract/css_in_js/mod.rs
1//! CSS-in-JS analytics front-ends (CSS program Phases 3b / 3c / 3d).
2//!
3//! Three front-ends feed the shared styling-analytics pipeline, converging on the
4//! same virtual-stylesheet output that `compute_css_analytics` consumes:
5//! - `template`: the Phase 3b lexical lifter for `` styled.div`...` `` tagged
6//! templates.
7//! - `object`: the Phase 3c AST object-to-CSS serializer (`style({...})`,
8//! `stylex.create({...})`, ...).
9//! - `tokens`: the Phase 3d design-token definition extraction + cross-module
10//! consumer scan (StyleX `defineVars`, vanilla-extract `createTheme`).
11//!
12//! `shared` holds the small invariants the front-ends agree on (the synthetic
13//! wrapper selector, the newline counter).
14
15mod object;
16mod shared;
17mod template;
18mod tokens;
19
20pub use object::{CssInJsObjectSheets, css_in_js_object_sheets};
21pub use template::css_in_js_virtual_stylesheet;
22pub use tokens::{
23 CssInJsToken, CssInJsTokenDef, CssInJsTokenOrigin, TokenConsumerHit, css_in_js_theme_consumers,
24 css_in_js_theme_token_defs, css_in_js_token_consumers, css_in_js_token_defs,
25 panda_style_value_consumers, panda_token_call_consumers,
26};