Skip to content

Commit 0c4cdf5

Browse files
committed
Apply changesets and update CHANGELOG
1 parent fb87db3 commit 0c4cdf5

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

lib/README.md

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,12 @@ Nextjs Darkmode is a versatile library crafted to fully utilize React 18 server
88

99
The `nextjs-themes` library was initially created to achieve a similar functionality to `next-themes` with React Server Components. While effective, it felt bulky for those supporting only dark/light mode. Thus, `nextjs-darkmode` was developed to offer a minimal footprint while utilizing Next.js Server Components, avoiding any flash of unthemed content, and ensuring theme synchronization with the server.
1010

11-
## Features
11+
> For migration guide please refer [Project Wiki](https://github.com/react18-tools/nextjs-darkmode/wiki/1.-Migration-guide)
12+
13+
<details>
14+
<summary>
15+
<h2 style="display:inline-block">Features</h2>
16+
</summary>
1217

1318
- ✅ Simple API to toggle between dark and light modes
1419

@@ -44,7 +49,12 @@ Feel free to [request new features](https://github.com/react18-tools/nextjs-dark
4449

4550
Please consider starring [this repository](https://github.com/react18-tools/nextjs-darkmode) and sharing it with your friends.
4651

47-
## Getting Started
52+
</details>
53+
54+
<details>
55+
<summary>
56+
<h2 style="display:inline-block">Getting Started</h2>
57+
</summary>
4858

4959
### Installation
5060

@@ -78,7 +88,7 @@ Import styles globally or within layout component.
7888
import "nextjs-darkmode/css";
7989
```
8090

81-
## Lite Version
91+
### Lite Version
8292

8393
For a lighter version, use `nextjs-darkmode-lite`:
8494

@@ -102,6 +112,8 @@ $ yarn add nextjs-darkmode-lite
102112

103113
> You need `r18gs` as a peer-dependency.
104114
115+
</details>
116+
105117
## Usage
106118

107119
> Please explore `examples` and `packages/shared-ui` for more working examples. (updates coming soon...)

0 commit comments

Comments
 (0)