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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@deutschemodelunitednations/corporate-identity

v1.1.10

Published

DMUN Corporate Identity containing tailwind and daisyUI configurations

Downloads

106

Readme

DMUN Corporate Identity

A comprehensive corporate identity package for Deutsche Model United Nations (DMUN) containing TailwindCSS configurations, DaisyUI themes, and color palettes.

Installation

Install the package from npm:

npm install @deutschemodelunitednations/corporate-identity

Usage

Importing CSS Files

// Import shade variables for specific palettes
import '@deutschemodelunitednations/corporate-identity/css/shades/dmun';
import '@deutschemodelunitednations/corporate-identity/css/shades/munsh';
import '@deutschemodelunitednations/corporate-identity/css/shades/munbw';

// Import theme CSS files
import '@deutschemodelunitednations/corporate-identity/css/theme/light';
import '@deutschemodelunitednations/corporate-identity/css/theme/dark';

// Import DMUN font faces
import '@deutschemodelunitednations/corporate-identity/css/fonts';

Using with TailwindCSS

/* Import all shade palettes */
@import '@deutschemodelunitednations/corporate-identity/css/shades/dmun';
@import '@deutschemodelunitednations/corporate-identity/css/shades/munsh';
@import '@deutschemodelunitednations/corporate-identity/css/shades/munbw';

/* Import themes */
@import '@deutschemodelunitednations/corporate-identity/css/theme/light';
@import '@deutschemodelunitednations/corporate-identity/css/theme/dark';

/* Import fonts */
@import '@deutschemodelunitednations/corporate-identity/css/fonts';

Available Palettes and Themes

The package dynamically generates CSS files for all palettes and themes defined in colors.yml:

  • Shade Palettes: dmun, munsh, munbw
  • Themes: light, dark
  • Fonts: Complete DMUN typography system

Note: Additional palettes and themes can be added to colors.yml and will be automatically included in the build.

Using the JavaScript API

import dmun from '@deutschemodelunitednations/corporate-identity';

// Get all colors configuration
const colors = dmun.loadColors();

// Get specific color palette
const dmunColors = dmun.getColorPalette('dmun');
const munshColors = dmun.getColorPalette('munsh');
const munbwColors = dmun.getColorPalette('munbw');

// Get theme configuration
const lightTheme = dmun.getTheme('light');
const darkTheme = dmun.getTheme('dark');

// Get all available palettes and themes
const availablePalettes = dmun.getAllShadePalettes(); // ['dmun', 'munsh', 'munbw']
const availableThemes = dmun.getAllThemeNames(); // ['light', 'dark']

// Get dynamic CSS file paths
const cssFiles = dmun.getCssFiles();
console.log(cssFiles.shades.dmun); // "../dist/dmun-tailwind-shades.css"
console.log(cssFiles.themes.light); // "../dist/dmun-daisyUI-light.css"
console.log(cssFiles.fonts); // "../dist/dmun-fonts.css"

Available Fonts

The package includes carefully selected web fonts optimized for the DMUN corporate identity:

  • Sans Font (Primary): Outfit - Modern and beautiful Futura inspired sans-serif for body text and headings.
  • Serif Font: Vollkorn - Use with caution for headings. Don't use for body text.
  • Monospace Font: Roboto Mono - Fontface for code, technical and monospaced Numbers contexts

Font Loading Options

Option 1: CSS Font Faces (Recommended for most use cases)

import '@deutschemodelunitednations/corporate-identity/css/fonts';

This loads custom DMUN font faces with optimized font loading.

Option 2: Fontsource Fonts (For projects already using Fontsource)

import '@deutschemodelunitednations/corporate-identity/fonts';

This loads all font weights from Fontsource packages.

CSS Classes

.font-sans { /* Outfit */ }
.font-serif { /* Vollkorn */ }
.font-mono { /* Roboto Mono */ }

const allThemes = dmun.getAllThemes();


### Using with TailwindCSS

Add the CSS files to your project:

```css
/* Import specific shade palettes as needed */
@import '@deutschemodelunitednations/corporate-identity/css/shades/dmun';

/* Import themes */
@import '@deutschemodelunitednations/corporate-identity/css/theme/light';
@import '@deutschemodelunitednations/corporate-identity/css/theme/dark';

Then configure TailwindCSS:

// tailwind.config.js
module.exports = {
  content: ['./src/**/*.{html,js,svelte,ts}'],
  theme: {
    extend: {
      // Your custom configurations
    },
  },
  plugins: [
    require('daisyui'),
  ],
}

Available Colors

The package includes the following color palette:

  • Primary: #3D7DD2 (Blue)
  • Secondary: #ABABAB (Gray)
  • Accent: #D0AF65 (Gold)
  • Info: #45BC64 (Green)
  • Success: #587491 (Blue-Gray)
  • Warning: #F77E19 (Orange)
  • Error: #F51D42 (Red)

Each color comes with automatically generated shades (50, 100, 200, ..., 900, 950).

Themes

  • Light Theme: Optimized for light backgrounds
  • Dark Theme: Optimized for dark backgrounds

Both themes include DaisyUI-compatible variables and visual configurations.

Development

If you want to contribute or modify the package:

# Clone the repository
git clone https://github.com/DeutscheModelUnitedNations/dmun-corporate-identity.git

# Install dependencies
npm install

# Generate CSS files
npm run generate:css

# Build the package
npm run build

Creating a Release

To publish a new version:

  1. Create a new release on GitHub:

    • Go to Releases
    • Click "Create a new release"
    • Create a new tag with semantic versioning (e.g., v1.1.0)
    • Add release notes describing changes
    • Click "Publish release"
  2. Automatic publishing: GitHub Actions will automatically:

    • Extract version from the release tag
    • Build the package (CSS + library)
    • Run tests
    • Publish to npm registry (registry.npmjs.org)

Installation for Users

Users can install the package directly from npm:

npm install @deutschemodelunitednations/corporate-identity

No additional configuration required!

Files Structure

lib/
├── index.js              # CommonJS entry point
├── index.mjs             # ES Module entry point  
├── index.d.ts            # TypeScript definitions
dist/
├── dmun-tailwind-shades.css     # DMUN shade variables
├── munsh-tailwind-shades.css    # MUNSH shade variables
├── munbw-tailwind-shades.css    # MUNBW shade variables
├── dmun-daisyUI-light.css       # Light theme
├── dmun-daisyUI-dark.css        # Dark theme
└── dmun-fonts.css               # DMUN font faces
colors.yml                # Source color configuration

Note: The build process automatically generates CSS files for all palettes and themes defined in colors.yml.

License

CC BY-NC 4.0

Author

Deutsche Model United Nations e.V. / Tade Strehk