New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

create-eva-css

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

create-eva-css

Scaffolding tool for EVA CSS projects - npm init eva-css

latest
Source
npmnpm
Version
2.0.8
Version published
Weekly downloads
3
-50%
Maintainers
1
Weekly downloads
 
Created
Source

create-eva-css

Scaffolding tool for EVA CSS projects. Get started with a fully configured EVA CSS project in seconds.

Quick Start

# Using npm
npm init eva-css my-project

# Using npx
npx create-eva-css my-project

# Using pnpm
pnpm create eva-css my-project

# Using yarn
yarn create eva-css my-project

Interactive Setup

The CLI will guide you through:

  • Template Selection - Choose from 3 presets:

    • Minimal: Variables only, no utility classes
    • Utility: Full utility classes mode
    • Full: Everything + examples + theme switching
  • Design Sizes - Enter your design system sizes (from Figma, etc.)

  • Font Sizes - Enter your font size scale

  • Package Manager - Choose npm, pnpm, or yarn

  • Dependency Installation - Automatically install dependencies

CLI Options

For non-interactive usage:

npx create-eva-css my-project \
  --preset utility \
  --sizes "16,24,32,64,128" \
  --font-sizes "16,24,32,48" \
  --package-manager pnpm

Options

OptionDescriptionValues
--presetProject templateminimal, utility, full
--sizesComma-separated size valuese.g. "16,24,32,64"
--font-sizesComma-separated font sizese.g. "16,24,32"
--package-managerPackage manager to usenpm, pnpm, yarn
--helpShow help message-

What Gets Generated

my-project/
├── eva.config.cjs      # EVA CSS configuration
├── package.json        # Project dependencies
├── .gitignore          # Git ignore rules
├── README.md           # Project documentation
├── index.html          # Demo page
└── styles/
    └── main.scss       # Main stylesheet

Generated Scripts

The scaffolded project includes these npm scripts:

{
  "build": "sass styles/main.scss:styles/main.css",
  "build:watch": "sass --watch styles/main.scss:styles/main.css",
  "build:purge": "sass ... && eva-purge ...",
  "dev": "npm run build:watch"
}

Next Steps After Generation

# Navigate to project
cd my-project

# Start development (watch mode)
npm run dev

# Open index.html in your browser

# Build for production (with purge)
npm run build:purge

Template Presets

Minimal

Perfect for custom component libraries:

  • Variables only mode (@use 'eva-css-fluid/variables')
  • No utility classes generated
  • Minimal CSS output
  • Full access to fluid size variables

Utility

Best for rapid prototyping:

  • Full utility class system
  • All EVA CSS features enabled
  • Pre-configured theme
  • Example HTML with utility classes

Full

Complete starter with examples:

  • Everything from Utility preset
  • Theme switching demo
  • Gradient examples
  • Component patterns
  • Comprehensive documentation

Configuration

All projects include eva.config.cjs for easy customization:

module.exports = {
  sizes: [16, 24, 32, 64],        // Your design sizes
  fontSizes: [16, 24, 32],        // Your font scale
  buildClass: true,               // Generate utilities
  purge: {
    enabled: false,               // Enable for production
    content: ['**/*.html'],
    // ... more options
  }
};

Examples

From Figma Design

# Extract sizes from your Figma design: 8, 16, 24, 32, 48, 64, 96
# Extract font sizes: 14, 16, 20, 24, 32, 48

npx create-eva-css my-figma-project \
  --preset utility \
  --sizes "8,16,24,32,48,64,96" \
  --font-sizes "14,16,20,24,32,48"

Quick Prototype

npx create-eva-css prototype --preset full
cd prototype
npm run dev
# Open index.html

Component Library

npx create-eva-css my-components --preset minimal
cd my-components
npm install
npm run dev

Troubleshooting

Permission Errors

# If you get permission errors on Windows:
npx create-eva-css my-project

# On Linux/Mac:
sudo npm init eva-css my-project

Package Manager Issues

The tool auto-detects your package manager, but you can force one:

npx create-eva-css my-project --package-manager pnpm

Resources

  • EVA CSS Documentation
  • GitHub Repository
  • Migration Guide
  • eva-css-fluid Package
  • eva-css-purge Package

License

MIT © Michaël Tati

Keywords

eva

FAQs

Package last updated on 23 Feb 2026

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