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

mol-normalize

v2.0.1

Published

small normalize and customize file with sass preprocessor for css

Readme

mol normalize

(≧ ▽ ≦)ノ weeeenaaaaaaas!!!

este proyecto es para normalizar los elementos nativos de HTML entre distintos navegadores a la vez que sirve de base para proyectos pequeños.

se pueden configurar los estilos directamente con el uso de propiedades personalizadas (variables) de CSS, que actúan directamente sobre las etiquetas nativas sin necesidad de escribir ninguna clase a ningún elemento.

y pesa tan solo 12 KB en disco!

llame ya!

( no llamen... nunca contesto )

uso

\( ̄▽ ̄)/ no se necesita volver a compilar!

simplemente utiliza el archivo minificado y con las propiedades de CSS puedes variar el resultado tanto en modo claro como oscuro.

--variables-de-color

solamente tiene tres variables de color, una para el fondo general, otra para el texto y un color primario para los elementos interactivos. Para que funcione correctamente, se requiere que tanto el texto como el color primario tengan suficiente contraste contra el fondo.

los elementos que tienen color están mezclados con el color primario para darle homogeneidad a la paleta de tonalidades.

// variables css color tema oscuro
:root {
  --m-color-fondo: rgb(18, 14, 24);
  --m-color-texto: rgb(255, 255, 255);
  --m-color-primario: rgb(0, 255, 187);
}

// variables css color tema claro
@media (prefers-color-scheme: light) {
  :root {
    --m-color-texto: rgb(18, 14, 24);
    --m-color-fondo: rgb(255, 255, 255);
    --m-color-primario: rgb(74, 34, 255);
  }
}

--variables-del-documento

las variables del documento interactúan con múltiples etiquetas, es importante que para el tamaño de texto se utilicen en unidades absolutas, para el interlineado y el espaciado se requieren unidades relativas.

  --m-documento-texto: 18px;
  --m-documento-interlineado: 1.375em;
  --m-documento-espaciado: 1rem;

--variables-de-texto

se pueden utilizar distintas familias tipográficas y estilos para el texto, títulos y código, pero es importante declarar el tamaño del texto para cada caso en unidades relativas.

  --m-texto-tipografia: sans-serif;
  --m-texto-peso: 400;
  
  --m-titulo-tipografia: sans-serif;
  --m-titulo-tamanio: 1rem;
  --m-titulo-interlineado: 1.25em;
  --m-titulo-peso: 500;
  --m-titulo-margen: 1.25em 0 0;

  --m-codigo-tipografia: monospace;
  --m-codigo-peso: 400;
  --m-codigo-tamanio: 0.9em;
  --m-codigo-espaciado: 0.025em;

--variables-de-formularios

por último, con estas variables se pueden configurar un poco los estilos en los formularios y elementos interactivos.

  --m-formulario-borde-tamanio: 1px;
  --m-formulario-borde-estilo: solid;
  --m-formulario-redondeado: 3px;
  --m-formulario-espaciado: var(--m-documento-espaciado);

  --m-campo-altura: 44px;
  --m-campo-borde-tamanio: 1px;
  --m-campo-borde-estilo: solid;
  --m-campo-espaciado: .5em;
  --m-campo-redondeado: 3px;
  
  --m-boton-borde-tamanio: 0;
  --m-boton-borde-estilo: solid;
  --m-boton-espaciado: .5em 1em;
  --m-boton-redondeado: 999rem;

  --m-enfoque-borde-estilo: solid;
  --m-enfoque-borde-tamanio: 4px;
  --m-enfoque-espaciado: 2px;

notas

(っ´ω`)ノ(╥ω╥) los inputs de type range, checkbox y radio, se muestran tal cual los presenta cada navegador. No se alteró su estilo porque para lograr homologarlos es necesario el uso de otros elementos y/o tecnologías.

( . .)φ__  [email protected]