From 17186bd2ad16acf8ad71a0d0512ab576e1ba1c71 Mon Sep 17 00:00:00 2001 From: Jeremy Soller Date: Mon, 3 Oct 2022 14:00:42 -0600 Subject: [PATCH] Update readmes --- examples/cosmic/README.md | 12 +++--------- examples/text/README.md | 17 ++++++++--------- 2 files changed, 11 insertions(+), 18 deletions(-) diff --git a/examples/cosmic/README.md b/examples/cosmic/README.md index 6c198a54..c52803b3 100644 --- a/examples/cosmic/README.md +++ b/examples/cosmic/README.md @@ -1,15 +1,9 @@ -# Styling -An example showcasing custom styling with a light and dark theme. +# COSMIC +An example of the COSMIC design system. All the example code is located in the __[`main`](src/main.rs)__ file. -
- - - -
- You can run it with `cargo run`: ``` -cargo run --package styling +cargo run --package cosmic --release ``` diff --git a/examples/text/README.md b/examples/text/README.md index 6c198a54..7230c5ea 100644 --- a/examples/text/README.md +++ b/examples/text/README.md @@ -1,15 +1,14 @@ -# Styling -An example showcasing custom styling with a light and dark theme. +# Text +An example showcasing multi-line text shaping and rendering. All the example code is located in the __[`main`](src/main.rs)__ file. -
- - - -
- You can run it with `cargo run`: ``` -cargo run --package styling +cargo run --package text --release +``` + +To test with a monospace font, you can run it with the `mono` feature: +``` +cargo run --package text --features mono --release ```