Update readmes
This commit is contained in:
parent
6b239003f7
commit
17186bd2ad
2 changed files with 11 additions and 18 deletions
|
|
@ -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.
|
||||
|
||||
<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`:
|
||||
```
|
||||
cargo run --package styling
|
||||
cargo run --package cosmic --release
|
||||
```
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
||||
<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`:
|
||||
```
|
||||
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
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue