Skip to content

Commit

Permalink
docs(readme): prettier (ENG-55573)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ajay Basnet authored and Ajay Basnet committed Apr 11, 2024
1 parent d76d25a commit a88fb11
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ These components are expected to only work with Gateway.
## Prerequisites

- Make sure to use this package along with `@bluecateng/pelagos`. Installing `@bluecateng/limani` will automatically install `@bluecateng/pelagos` as it is a peer dependency of Limani.
- When using Limani we depend on components from `@bluecateng/pelagos`.
- It is recommended to use SimplePage component as it encapsualtes navigation and styling/themes.
- When using Limani we depend on components from `@bluecateng/pelagos`.
- It is recommended to use SimplePage component as it encapsualtes navigation and styling/themes.
- However, for independently customizing the style or theme, proper CSS needs to be applied. Please make sure to add the following in your main Less style sheet file:-

```
Expand All @@ -41,15 +41,14 @@ These components are expected to only work with Gateway.
.theme-dark();
}
```
- For themes to take effect, the HTML DOM `dataset.theme` has to be modified.
- For themes to take effect, the HTML DOM `dataset.theme` has to be modified.
- Below is an example of how that can be achieved for `light` or `dark` themes.
```
document.documentElement.dataset.theme = 'dark';
document.documentElement.dataset.theme = 'light';
```
## How to use Limani
```
Expand Down

0 comments on commit a88fb11

Please sign in to comment.