Skip to content

Commit

Permalink
Small tweak to the README
Browse files Browse the repository at this point in the history
  • Loading branch information
thedodd committed Jul 28, 2021
1 parent 458598f commit 420c7ea
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 .. */
Expand All @@ -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/).
Expand Down

0 comments on commit 420c7ea

Please sign in to comment.