summaryrefslogtreecommitdiff
path: root/src/library/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/library/mod.rs')
-rw-r--r--src/library/mod.rs12
1 files changed, 1 insertions, 11 deletions
diff --git a/src/library/mod.rs b/src/library/mod.rs
index e1988635..7f7f95e3 100644
--- a/src/library/mod.rs
+++ b/src/library/mod.rs
@@ -26,7 +26,7 @@ mod prelude {
pub use std::rc::Rc;
pub use crate::diag::{At, TypResult};
- pub use crate::eval::{Args, EvalContext, Node, Smart, Value};
+ pub use crate::eval::{Args, EvalContext, Node, Property, Smart, Styles, Value};
pub use crate::frame::*;
pub use crate::geom::*;
pub use crate::layout::*;
@@ -54,7 +54,6 @@ pub use utility::*;
use crate::eval::{Scope, Value};
use crate::geom::*;
-use crate::style::FontFamily;
/// Construct a scope containing all standard library definitions.
pub fn new() -> Scope {
@@ -139,15 +138,6 @@ dynamic! {
Dir: "direction",
}
-dynamic! {
- Align: "alignment",
-}
-
-dynamic! {
- FontFamily: "font family",
- Value::Str(string) => Self::Named(string.to_lowercase()),
-}
-
castable! {
Paint,
Expected: "color",