v3.0.0 now available

Modern CSS Reset for Professional Projects

A lightweight, type-safe CSS reset tool with 6 built-in themes. Eliminates browser inconsistencies so you can focus on building.

npm install ospinajuanp-reset-css

Why ospinajuanp-reset-css?

Built for modern web development with a focus on developer experience and performance.

Type-Safe

Full TypeScript support with complete type definitions for every function and theme.

Lightweight

Minimal footprint with tree-shaking support. Load only what you need.

6 Built-in Themes

Simple, Dark, Pastel, Dark Blue Pastel, Light Blue Pastel, and Retro.

React Hooks

useResetTheme and ThemeProvider for seamless integration with React apps.

Modular SCSS

Full SCSS source included for customization at the module level.

Dynamic Switching

Change themes at runtime with the JavaScript API for user preferences.

Quick Start

Get up and running in minutes with just a few lines of code.

1

Install the package

npm install ospinajuanp-reset-css
2

Import and use

import 'ospinajuanp-reset-css';
// or use a specific theme
import 'ospinajuanp-reset-css/dark';
3

Use with React (optional)

import { ThemeProvider, useTheme } from 'ospinajuanp-reset-css/react';

function App() {
  return (
    <ThemeProvider defaultTheme="dark">
      <YourApp />
    </ThemeProvider>
  );
}