1#![warn(missing_docs)]
22
23mod builder;
24mod draw;
25mod flex;
26mod graph;
27mod handles;
28mod image;
29mod place;
30mod svg;
31mod text;
32mod theme;
33mod trim;
34
35pub use builder::{
36 BaseProps, CameraBuilder, CircleBuilder, CodeBuilder, GridBuilder, GroupBuilder, ImgBuilder,
37 LayoutBuilder, LineBuilder, NodeBuilder, PathBuilder, PolygonBuilder, RectBuilder, StarBuilder,
38 TxtBuilder,
39};
40pub use draw::{DrawItem, Layer, LineCap, LineJoin, Paint, Primitive, Shadow, StrokeStyle};
41pub use graph::{
42 Direction, InspectNode, Justify, LayoutAlign, NodeData, NodeId, NodeKind, SceneGraph,
43};
44pub use handles::{
45 Camera, Circle, Code, CodeText, CodeTween, Grid, Group, Img, Layout, Line, Node, Path, Polygon,
46 Rect, SLIDE_DISTANCE, Star, Svg, Txt, View,
47};
48pub use image::{ImageSource, RasterImage, VectorImage, VectorShape};
49pub use place::{Edge, Percent, Place, SafeArea, Side, Span, pct};
50pub use trim::trim;
51
52pub use oxframe_core::{BlendMode, Color, Gradient, GradientKind, Signal};
53pub use oxframe_text::{Align as TextAlign, Lang, MONO, SANS};
54pub use text::{CodeTheme, RichSpan, span};
55pub use theme::current as current_theme;
57pub use theme::enter as enter_theme;
58pub use theme::{
59 Corner, Ink,
60 Ink::{Accent, Background, Danger, Muted, OnAccent, Success, Surface, Text, Warning},
61 IntoPaint, Len, Motion, Pace,
62 Pace::{Fast, Normal, Slow},
63 Scale, ShadowSpec, Step,
64 Step::{Lg, Md, Sm, Xl, Xs},
65 Theme, TypeRole, TypeScale, TypeStyle,
66};