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

sassdesk

v1.2.2

Published

Set of SCSS files that help you have a faster UI development.

Downloads

4

Readme

SassDesk

SassDesk is a SCSS library thought to fasten the UI develoing process providing a set of modular styles. All styles are mobile first.

SassDesk is a project currently being developed and so we encourage our users to download and check all the flexible styles we provide.

Download

npm i sassdesk

Buttons

SassDesk provides a set of classes to style buttons. The base class is: "button", this class is necessay in order to apply secondary button styles. Here's a list of all the classes

| Class | Styling | HTML | Comments | | --- | --- | --- | --- | | .button | Button | <button class="button">Button</button>

Coloring Classes

Coloring classes are made going through an object in the secondary-variables file. The variable name is $color-pairs, where the nam (the string in the object) is then saved as the color name in the class; the first color is the button background, and the second is the contrast for the font color.

| Class | Styling | HTML | Comments | | --- | --- | --- | --- | | .scheme | | <button class="button scheme">Scheme</button> | For this class to work on a button the class .button must be added before. | | .fail | | <button class="button fail">Fail</button> | | .empty | | <button class="button scheme empty">Emptyness</button> | For this class to work a coloring class must be added first. | | .fail-inverted | | <button class="button fail-inverted">Fail inverted</button> | For this class to work a valid color prefix must be added before inverted. |

Button types

Button types are though to work as a standar in animaitions and coloring through the application.

| Class | Styling | HTML | Comments | | --- | --- | --- | --- | | .primary-type | | <button class="button primary-type">Primary</button> | | | .secondary-type | | <button class="button secondary-type">Secondary</button> | | | .tertiary-type | | <button class="button tertiary-type">Tertiary</button> | |

The primary-type button has a background-color equal to $scheme-secondary variable value. Color values for all the 3 types may be changed by overwriting the variables:

  • For the primary type $primary-type-colors: where the first value is the background, and the second the font color.
  • For secondary and tertiary $secondary-type-colors: where values are as follows initial color, background when hover, color when hover, border-color.

Sizing

Buttons also has classes that modify their size:

| Class | HTML | Size Modified | | --- | --- | --- | | .full-width | <button class="button full-width">Full</button> | Width | | .big | <button class="button big">Big</button> | Font size | | .medium | <button class="button medium">Medium</button> | Font size | | .small | <button class="button small">Small</button> | Font size |

Others

SassDesk also provides basic styling, for example our responsive grid.

| Screen Size | Number of columns | Classes | | --- | --- | --- | | Mobile | 8 | col-sm-x where x = number of columns the element encompasses : col-sm-1,col-sm-2... col-sm-8. | | Tablet | 10 | col-md-x where x = number of columns the element encompasses : col-md-1,col-md-2... col-md-10. | Desktop | 12 | col-x where x = number of columns the element encompasses : col-1,col-2... col-12.

Try it!