Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nomandhoni-cs/knowledge-dumping-ground
This is the site where I Dump all my necessary things for the future.
https://github.com/nomandhoni-cs/knowledge-dumping-ground
Last synced: 19 days ago
JSON representation
This is the site where I Dump all my necessary things for the future.
- Host: GitHub
- URL: https://github.com/nomandhoni-cs/knowledge-dumping-ground
- Owner: nomandhoni-cs
- Created: 2024-08-21T17:40:37.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-08-28T19:57:01.000Z (3 months ago)
- Last Synced: 2024-10-07T03:21:20.127Z (about 1 month ago)
- Language: TypeScript
- Size: 1.56 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Falexcarpenter%2Fnextjs-mdx-blog-theme)
# nextjs-mdx-blog-theme
- **View**: [demo site](https://nextjs-mdx-blog-theme.vercel.app/)
- **Framework**: [Next.js](https://nextjs.org/)
- **Deployment**: [Vercel](https://vercel.com)
- **Content**: [MDX](https://github.com/mdx-js/mdx)
- **Styling**: [Tailwind CSS](https://tailwindcss.com/)## Running Locally
```bash
$ git clone https://github.com/alexcarpenter/nextjs-mdx-blog-theme
$ cd nextjs-mdx-blog-theme
$ npm install
$ npm run dev:watch
```## Styling
To organize Tailwind CSS light and dark styles on elements, we make use of `cx` utility as an array. The first string contains the base styles, the second string is for light mode styles, and lastly the third string is for dark mode styling.
```jsx
import { cx } from '@/lib/utils'
```