Skip to content

Commit

Permalink
Fix leverage typo
Browse files Browse the repository at this point in the history
  • Loading branch information
ghivert committed Nov 21, 2024
1 parent e6762e6 commit 3fe75a3
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion e2e/redraw_example/src/components.gleam
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//// Defines the base components used in the shared view. Think copmonents as in
//// functions that simply returns the HTML correctly formatted.
//// Every component accepts two arrays, attributes and children, to follow the
//// same convention as Lustre standard HTML. That way, you could leverage on
//// same convention as Lustre standard HTML. That way, you could leverage
//// your knowledge of Lustre, and behaves exactly as expected.

import redraw
Expand Down
2 changes: 1 addition & 1 deletion e2e/shared_view/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ the siblings folder to get your head around that idea.

```toml
# In gleam.toml.
# Leverage on compiler path resolution.
# Leverage compiler path resolution.
[dependencies]
shared_view = { path = "../shared_view" }
```
2 changes: 1 addition & 1 deletion e2e/shared_view/src/components.gleam
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//// Defines the base components used in the shared view. Think copmonents as in
//// functions that simply returns the HTML correctly formatted.
//// Every component accepts two arrays, attributes and children, to follow the
//// same convention as Lustre standard HTML. That way, you could leverage on
//// same convention as Lustre standard HTML. That way, you could leverage
//// your knowledge of Lustre, and behaves exactly as expected.

import shared_styles as styles
Expand Down
2 changes: 1 addition & 1 deletion landing_page/src/landing_page.gleam
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ fn app() {
fn description_section() {
redraw.fragment([
title_container([
main_title("Leverage on your CSS knowledge."),
main_title("Leverage your CSS knowledge."),
main_title("Create your own styles."),
main_title("Make your application Gleaming."),
]),
Expand Down
22 changes: 11 additions & 11 deletions sketch/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ to maximise performance in the browser and on BEAM.
## Distributions

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

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

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

## Using media queries and pseudo-selectors

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

```gleam
import sketch
Expand Down
2 changes: 1 addition & 1 deletion sketch_css/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ CSS generation is straightforward, `sketch_css` does not need a cache to
generate correct CSS files. Instead, `sketch_css` ships with a CLI tool, able to
read your Gleam styles files, and output corresponding your CSS automagically,
while providing an abstraction layer written in Gleam, to make sure you're using
the right classes! It's an other way to leverage on Sketch core and enjoy the
the right classes! It's an other way to leverage Sketch core and enjoy the
styling in Gleam, while taking advantage of all the static CSS power!

To run the generator, you have to use the command
Expand Down

0 comments on commit 3fe75a3

Please sign in to comment.