Skip to content

notevome/notevo-shadcn-theme

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

@notevome/notevo-shadcn-theme

A custom, reusable shadcn/ui theme for Notevo projects.

Includes clean light & dark mode, sidebar styles, novel/editor variables, and more.

Installation

npm install @notevome/notevo-shadcn-theme

pnpm add @notevome/notevo-shadcn-theme

Usage

In your main CSS file (app/globals.css or src/index.css):

@import "tailwindcss";
@import "@notevome/notevo-shadcn-theme";

Make sure your components.json has CSS variables enabled:

{
  "tailwind": {
    "cssVariables": true
  }
}

Dark Mode

Add dark class to your tag:

<html lang="en" class="dark">

Force Light Mode

Use this class anywhere to force light mode:

<div class="force-light">
  ...
</div>

Example

Add all shadcn components (Button, Card, Input, etc.) will automatically use your custom colors.

import { Button } from "@/components/ui/button";

export default function Page() {
  return <Button>Primary Button  Uses Notevo Theme</Button>;
}

Development

# Clone repo
git clone https://github.com/notevome/notevo-shadcn-theme.git
cd notevo-shadcn-theme

# Install dependencies (optional, for testing)
npm install

# Publish new version
npm version patch          # or minor / major
npm publish --access public

License

MIT © Notevo

About

A custom, reusable shadcn/ui theme for Notevo projects.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors

Languages