Skip to content

Commit 3fe75a3

Browse files
committed
Fix leverage typo
1 parent e6762e6 commit 3fe75a3

File tree

6 files changed

+16
-16
lines changed

6 files changed

+16
-16
lines changed

e2e/redraw_example/src/components.gleam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//// Defines the base components used in the shared view. Think copmonents as in
22
//// functions that simply returns the HTML correctly formatted.
33
//// Every component accepts two arrays, attributes and children, to follow the
4-
//// same convention as Lustre standard HTML. That way, you could leverage on
4+
//// same convention as Lustre standard HTML. That way, you could leverage
55
//// your knowledge of Lustre, and behaves exactly as expected.
66

77
import redraw

e2e/shared_view/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ the siblings folder to get your head around that idea.
99

1010
```toml
1111
# In gleam.toml.
12-
# Leverage on compiler path resolution.
12+
# Leverage compiler path resolution.
1313
[dependencies]
1414
shared_view = { path = "../shared_view" }
1515
```

e2e/shared_view/src/components.gleam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//// Defines the base components used in the shared view. Think copmonents as in
22
//// functions that simply returns the HTML correctly formatted.
33
//// Every component accepts two arrays, attributes and children, to follow the
4-
//// same convention as Lustre standard HTML. That way, you could leverage on
4+
//// same convention as Lustre standard HTML. That way, you could leverage
55
//// your knowledge of Lustre, and behaves exactly as expected.
66

77
import shared_styles as styles

landing_page/src/landing_page.gleam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ fn app() {
4646
fn description_section() {
4747
redraw.fragment([
4848
title_container([
49-
main_title("Leverage on your CSS knowledge."),
49+
main_title("Leverage your CSS knowledge."),
5050
main_title("Create your own styles."),
5151
main_title("Make your application Gleaming."),
5252
]),

sketch/README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ to maximise performance in the browser and on BEAM.
1313
## Distributions
1414

1515
Sketch is thought as bare package, built as a foundation for every CSS packages
16-
that want to leverage on it. In the Sketch package, you'll find all CSS
17-
properties accessible, as well as low level generation functions, to go from
18-
Sketch to CSS. Sketch package is also made for framework developers, to provide
19-
a common basement, reusable across the entire Gleam ecosystem, letting users
20-
reuse their knowledge no matter what they are coding.
16+
that want to leverage it. In the Sketch package, you'll find all CSS properties
17+
accessible, as well as low level generation functions, to go from Sketch to CSS.
18+
Sketch package is also made for framework developers, to provide a common
19+
basement, reusable across the entire Gleam ecosystem, letting users reuse their
20+
knowledge no matter what they are coding.
2121

2222
Sketch already supports two compilation target:
2323
[Lustre](https://hexdocs.pm/lustre/), with
@@ -207,9 +207,9 @@ Because pure CSS generation is straightforward, `sketch_css` does not need a
207207
cache to generate correct CSS files. Instead, `sketch_css` ships with a CLI
208208
tool, able to read your Gleam styles files, and output corresponding your CSS
209209
automagically, while providing an abstraction layer written in Gleam, to make
210-
sure you're using the right classes! It's an other way to leverage on Sketch
211-
core and enjoy the styling in Gleam, while taking advantage of all the static
212-
CSS power!
210+
sure you're using the right classes! It's an other way to leverage Sketch core
211+
and enjoy the styling in Gleam, while taking advantage of all the static CSS
212+
power!
213213

214214
To run the generator, you have to use the command
215215
`gleam run -m sketch/css generate` at the root of your project. By default,
@@ -291,9 +291,9 @@ module. Build your classes, and use them across your codebase!
291291

292292
## Using media queries and pseudo-selectors
293293

294-
Because we're building CSS, we can leverage on its full power, contrarily to
295-
inline styling. This mean we can use media queries and pseudo-selectors! You
296-
only need to call the proper functions, and Sketch will take care of the rest.
294+
Because we're building CSS, we can leverage its full power, contrarily to inline
295+
styling. This mean we can use media queries and pseudo-selectors! You only need
296+
to call the proper functions, and Sketch will take care of the rest.
297297

298298
```gleam
299299
import sketch

sketch_css/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ CSS generation is straightforward, `sketch_css` does not need a cache to
1010
generate correct CSS files. Instead, `sketch_css` ships with a CLI tool, able to
1111
read your Gleam styles files, and output corresponding your CSS automagically,
1212
while providing an abstraction layer written in Gleam, to make sure you're using
13-
the right classes! It's an other way to leverage on Sketch core and enjoy the
13+
the right classes! It's an other way to leverage Sketch core and enjoy the
1414
styling in Gleam, while taking advantage of all the static CSS power!
1515

1616
To run the generator, you have to use the command

0 commit comments

Comments
 (0)