Update readmes

This commit is contained in:
Jeremy Soller 2022-10-03 14:00:42 -06:00
parent 6b239003f7
commit 17186bd2ad
No known key found for this signature in database
GPG key ID: 87F211AF2BE4C2FE
2 changed files with 11 additions and 18 deletions

View file

@ -1,15 +1,9 @@
# Styling # COSMIC
An example showcasing custom styling with a light and dark theme. An example of the COSMIC design system.
All the example code is located in the __[`main`](src/main.rs)__ file. All the example code is located in the __[`main`](src/main.rs)__ file.
<div align="center">
<a href="https://user-images.githubusercontent.com/518289/71867993-acff4300-310c-11ea-85a3-d01d8f884346.gif">
<img src="https://user-images.githubusercontent.com/518289/71867993-acff4300-310c-11ea-85a3-d01d8f884346.gif" height="400px">
</a>
</div>
You can run it with `cargo run`: You can run it with `cargo run`:
``` ```
cargo run --package styling cargo run --package cosmic --release
``` ```

View file

@ -1,15 +1,14 @@
# Styling # Text
An example showcasing custom styling with a light and dark theme. An example showcasing multi-line text shaping and rendering.
All the example code is located in the __[`main`](src/main.rs)__ file. All the example code is located in the __[`main`](src/main.rs)__ file.
<div align="center">
<a href="https://user-images.githubusercontent.com/518289/71867993-acff4300-310c-11ea-85a3-d01d8f884346.gif">
<img src="https://user-images.githubusercontent.com/518289/71867993-acff4300-310c-11ea-85a3-d01d8f884346.gif" height="400px">
</a>
</div>
You can run it with `cargo run`: 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
``` ```