npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

vedanta-ui-config

v0.1.0

Published

Shared theming and UI config for Next.js apps (Tailwind v4 + Ant Design v5)

Readme

vedanta-ui-config

Shared theming and UI configuration for Next.js apps using Tailwind CSS v4 and Ant Design v5.

Install

npm install vedanta-ui-config

Peer deps (ensure these exist in your app): react, react-dom, antd, tailwindcss.

What’s included

  • Tailwind v4 preset: vedanta-ui-config/tailwind.config
  • Antd theme tokens: antdTheme
  • Global CSS variables + base styles: vedanta-ui-config/styles/global.css
  • Reusable component: PrimaryButton

Quick start

  1. Import global CSS once (e.g., in your app root):
// src/app/globals.css
@import "tailwindcss";
@import "vedanta-ui-config/styles/global.css";

@theme inline {
  --color-primary: rgb(var(--vc-color-primary));
}
  1. Use the Tailwind preset
// tailwind.config.js (or .ts)
import shared from "vedanta-ui-config/tailwind.config";

export default {
  presets: [shared],
  // ...your overrides
};
  1. Apply Ant Design theme via ConfigProvider
import { ConfigProvider } from "antd";
import { antdTheme } from "vedanta-ui-config";

export default function App({ children }) {
  return (
    <ConfigProvider theme={antdTheme}>
      {children}
    </ConfigProvider>
  );
}
  1. Use the shared PrimaryButton
import { PrimaryButton } from "vedanta-ui-config";

export function Example() {
  return <PrimaryButton>Click me</PrimaryButton>;
}

Theming notes

  • Colors are defined as RGB channels in CSS variables (e.g., --vc-color-primary) to support alpha: rgb(var(--vc-color-primary) / 0.6).
  • Dark mode: set data-theme="dark" on <html> or <body> to switch variables. Default is light.
  • Tailwind utilities map to these variables; Antd uses matching literal tokens.

Extending

  • Override variables in your app’s CSS (e.g., per brand) by setting new values under a selector:
[data-theme="brandA"] {
  --vc-color-primary: 220 38 38; /* red */
}
  • Extend Tailwind in your local config as usual; the preset just seeds defaults.

Build & publish

This package ships TypeScript sources compiled to dist/ on publish.

npm run build
npm publish --access public