-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,7 +37,7 @@ impl Component for App { | |
<ybc::Container fluid=true> | ||
<ybc::Tile ctx=Ancestor> | ||
<ybc::Tile ctx=Parent vertical=true size=Four> | ||
<ybc::Tile ctx=Child classes="box"> | ||
<ybc::Tile ctx=Child classes=classes!("box")> | ||
<p>{"Lorem ipsum dolor sit amet ..."}</p> | ||
</ybc::Tile> | ||
/* .. snip .. more tiles here .. */ | ||
|
@@ -56,12 +56,12 @@ First, add this library to your `Cargo.toml` dependencies. | |
|
||
```toml | ||
[dependencies] | ||
ybc = "*" | ||
ybc = "0.2" | ||
``` | ||
|
||
### add bulma | ||
#### add bulma css (no customizations) | ||
This project works perfectly well if you just include the Bulma CSS in your HTML, [as described here](https://bulma.io/documentation/overview/start/). The following link in your HTML head should do the trick: `<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected].1/css/bulma.min.css"/>`. | ||
This project works perfectly well if you just include the Bulma CSS in your HTML, [as described here](https://bulma.io/documentation/overview/start/). The following link in your HTML head should do the trick: `<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected].3/css/bulma.min.css"/>`. | ||
|
||
#### add bulma sass (allows customization & themes) | ||
However, if you want to customize Bulma to match your style guidelines, then you will need to have a copy of the Bulma SASS locally, and then import Bulma after you've defined your customizations, [as described here](https://bulma.io/documentation/customize/). | ||
|