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 🙏

© 2024 – Pkg Stats / Ryan Hefner

@rep985/colors

v0.2.1

Published

Colores Css y Scss para tu web

Downloads

19

Readme

Colors

Logo Colorea tu mundo Capture

Esto es un simple pero potente archivo css con múltiples clases para colorear con facilidad tus paginas web, tiene eventos, y además añade los colores de las principales marcas de redes sociales entre otros

Uso

Su uso es muy sencillo solo descargue, añada y use.

Descargue

git clone https://github.com/REP98/Colors.git
npm i @rep985/colors

Añade

<!-- CDN -->
<!-- Combinado -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/combine/npm/@rep985/[email protected]/dist/css/brands.min.css,npm/@rep985/[email protected]/dist/css/color.min.css">

<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@rep985/[email protected]/dist/css/brands.min.css"> <!-- Clases de Colores -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@rep985/[email protected]/dist/css/color.min.css"> <!-- Clases para marcas -->
<!-- O local -->
<link rel="stylesheet" href="path/Colors/dist/css/color.css"> <!-- Clases de Colores -->
<link rel="stylesheet" href="path/Colors/dist/css/brands.css"> <!-- Clases para marcas -->

Use

<div class="bg-magenta">...</div>
<button class="bg-blue bg-blue-hover-d2 fg-white-d2 fg-white-hover">Click</button>

Sass

Ya que esta escrito en Sass y compilado a CSS puede usar el Sass y añadir sus propios colores para ampliar o modificar su archivos

Añadir y/o modificar

Se ofrece 4 variables Sass para añadir o modificar los colores

Colores

Se dispone de una Variable $color que es un mapa scss

@use "sass:map";
// Esto modificara el color rojo
$color: map.merge(("red": #f22), $color); 
// Esto añade el color pinklight
$color: map.merge(("pinklight": #f08bc4), $color);

De igual manera puede hacerlos con las siguientes variables

$theme-colors: () !default; // Para los Temas de colores
$theme-gradient-colors: () !default; // Para los Temas de degradados
$brands: () !default; // Para las Marcas

Configuración

Se añadieron Variables para la compilación permitiendo que decida que desea compilar y que no.

$enable-scroll: true; 		// Indica si se crean clases para el Scrolling
$enable-theme: true; 		// Indica si se crean clases para el tema útil si se usa otro framework
$enable-gradients: true; 	// Indica si se crean las clases de degradado
$enable-brands: true; 		// Indican si se generan los colores de las marcas.

Compilación

Ejecute en su terminal lo siguiente

npm i
npm run css

Demo

Si desea conocer todos los Colores visite Nuestro Demo