1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
//! This library implements Elvis in browser, most of the contents are interfaces.
//!
//! You can rust the web with this crate, and...no javascript usages in this doc mainly because rust-doc can not highlight `javascript` code, we strongly recommend you reading [The Book][1] if you wondering how to "calling elvis".
//!
//! [1]: https://clearloop.github.io/elvis
#![feature(extern_types)]
#[macro_use]
mod macros;
mod app;
mod color;
mod enums;
mod layout;
mod style;
mod types;
mod widgets;

pub use crate::{
    app::Elvis,
    color::Colors,
    enums::{
        Alignments, FlexBasis, FlexDirection, GridAuto, GridFlow, GridTemplate,
        MultiColumnLineStyle,
    },
    layout::{align, center, container, flex, sized_box, Col, Grid, List, MultiColumn, Row},
    style::{
        AlignStyle, ContainerStyle, FlexStyle, GridStyle, MultiColumnStyle, SizedBoxStyle,
        StyleSheet, TextStyle,
    },
    widgets::{img, text, Widget},
};