New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@gitcoin/themes

Package Overview
Dependencies
Maintainers
0
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@gitcoin/themes

Shared theme configuration and color utilities for the Gitcoin Core Design System.

  • 0.0.0-beta.23
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
86
decreased by-68.03%
Maintainers
0
Weekly downloads
 
Created
Source

@gitcoin/themes

Shared theme configuration and color utilities for the Gitcoin Core Design System.

Overview

This package contains the centralized theme configuration, including Tailwind CSS setup and color system used across all Gitcoin applications.

Structure

.
├── colors/             # Color system
│   ├── colors.ts      # Color palette definitions
│   ├── index.ts       # Public exports
│   └── types.ts       # TypeScript types for colors
│
└── tailwind.config.ts  # Shared Tailwind configuration

Usage

Tailwind Configuration

// tailwind.config.js
import { gitcoinTheme } from '@gitcoin/themes/gitcoin-theme'

export default {
  // Extend the shared config
  ...gitcoinTheme,
  // Add your project-specific customizations
}

Color System

import { colors } from '@gitcoin/themes/gitcoin-colors'

// Use in your components
const primaryColor = colors.primary[500]

Features

  • 🎨 Consistent color palette across all Gitcoin products
  • 🔄 Shared Tailwind configuration
  • 🌗 Dark mode support
  • 🎯 Type-safe color utilities
  • ⚡️ Optimized for Tailwind Variants

Available Exports

Theme Configuration

  • gitcoin-theme: Base Tailwind configuration including:
    • Color palette
    • Typography scale
    • Spacing system
    • Animation presets
    • Dark mode configuration

Color System

  • gitcoin-colors: Type-safe color definitions including:
    • Brand colors
    • Semantic colors
    • State colors
    • Gradient definitions

License

AGPL-3.0 - see the LICENSE file for details.

FAQs

Package last updated on 24 Feb 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc