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 🙏

© 2026 – Pkg Stats / Ryan Hefner

shengnian-ui-scss

v2.1.0

Published

Shengnian UI SCSS base on Semantic UI

Readme

0 Useage

$ git clone https://github.com/shengnian/shengnian-ui-react.git

$ cd shengnian-ui-react

$ gulp

1 Fonts

1.1 Create functions

mkdir dist/scss/functions
touch dist/scss/functions/_functions.scss

1.1 Update loadFonts() to scss

less/themes.less

.loadFonts() when (@importGoogleFonts) {
  @import url('@{googleProtocol}fonts.googleapis.com/css?family=@{googleFontRequest}');
}

to

@mixin loadFonts() {
  @import url('#{$googleProtocol}fonts.googleapis.com/css?family=#{$googleFontRequest}');
}

Update @include loadFonts(); to :

@if($importGoogleFonts) {
  @include loadFonts();
}

Update

$imagePath : '../../themes/default/assets/images';
$fontPath  : '../../themes/default/assets/fonts';

to

$imagePath : './assets/images';
$fontPath  : './assets/fonts';

2 Not found file

Delete shengnian-ui.scss line 27 @import './modules/chatroom'; line 42 @import './modules/video';

2 Variables

2.1 _site.scss

/--- Colored Text ---/ to
/--- Colored Headers ---/

/------------------- Grid --------------------/ to /------------------- Border Radius --------------------/

/------------------- Site Colors --------------------/ end of $strongTransparentWhite : rgba(255, 255, 255, 0.15); to /------------------- Border Radius --------------------/

/------------------- Paths --------------------/ to top

/******************************* Power-User *******************************/ end of $warningTextColor : #573A08;

to /------------------- Border Radius --------------------/

/------------------- Sizes --------------------/ to /******************************* Power-User *******************************/

/------------------- Exact Pixel Values --------------------/ to /------------------- Border Radius --------------------/

/------------------- Page --------------------/ to /-------------- Form Input ---------------/

2.2 variables/collections/_form.scss

  1. Errored Input to Inline Validation Prompt

2.3 variables/collections/_menu.scss

  1. Menu Item to Menu

  2. Undefined variable: \"$menuSecondaryItemSpacing\", Down 3 lines :

$menuSecondaryMargin: 0em -$menuSecondaryItemSpacing;

$menuMinHeight: ($menuItemVerticalPadding * 2) + 1em; to $menuMinHeight: (#{$menuItemVerticalPadding} * 2) + 1em;

2.4 variables/elements/_button.scss

  1. $buttonOrHeight: (#{$buttonVerticalPadding} * 2) + 1em;
  2. $buttonLabeledIconWidth: 1em + (#{$buttonVerticalPadding} * 2);
  3. $buttonCompactVerticalPadding: (#{$buttonVerticalPadding} * 0.75);
  4. $buttonCompactHorizontalPadding: (#{$buttonHorizontalPadding} * 0.75);

2.5 variables/elements/_input.scss

  1. $inputIconWidth: (#{$inputVerticalPadding} * 2) + $inputGlyphWidth;

2.6 variables/elements/_list.scss

  1. Fix $listHorizontalBulletSpacing: $listBulletDistance + 0.5em; to $listHorizontalBulletSpacing: $listBulletDistance + 0.5rem;

2.7 variables/elements/_rail.scss

$railDividingWidth: $railWidth + $railSplitDividingDistance; to $railDividingWidth: px2rem($railWidth) + $railSplitDividingDistance;

2.8 variables/modules/_dropdown.scss

  1. Message to Search

$dropdownSelectionItemDivider: 1px solid $dropdownSolidInternalBorderColor;
    $dropdownSelectionMessagePadding: $dropdownSelectionItemPadding;

to

$dropdownSelectionTransition: $dropdownTransition;

  1. $dropdownItemLineHeight: 1em; to $dropdownItemLineHeight: 1rem;

  2. Incompatible units: 'em' and 'rem' error:

$dropdownItemVerticalPadding * 2

to

#{$dropdownItemVerticalPadding} * 2
$dropdownPointingArrowOffset: -($dropdownPointingArrowSize / 2);
$dropdownPointingArrowDistanceFromEdge: 1em;

to $dropdownPointingMenuDistance: $dropdownMini;

2.9 variables/modules/_modal.scss

  1. $modalInnerCloseTop: ($modalHeaderVerticalPadding - $modalCloseHitBoxOffset) + ($modalLineHeight - 1em)); $modalInnerCloseTop: ($modalHeaderVerticalPadding - $modalCloseHitBoxOffset + strip-units($modalLineHeight - 1em));

  2. Incompatible units: '%' and 'em'. $modalMobileMargin: 0em 0em 0em -($modalMobileWidth / 2); to $modalMobileMargin: 0 0 0 -($modalMobileWidth / 2);

2.10 variables/modules/_popup.scss"

  1. Variations to Parts

2.11 variables/modules/_progress.scss

  1. Label to top

2.12 scss/globals/_site.scss

  1. remove lastest } copy @include addScrollbars(); into @if ($useCustomScrollbars) { block.