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

@jaisocx/css-clean-start

v1.5.6

Published

Readme

CSS Clean Start

Status of the Project

ready

News

23th of June 2025

Notice

The size of the css_clean_start_main_resolved.css built by the css-importer can be reduced when in the file MediaAndStyles/themes/theme_base/responsive_size_a03_CssImports_CssCleanStart_Webpack.css the imports are encommented, and then buildPackages.sh script is invoked, when in BuildData.json the field css-importer.build set true.

...
"css-importer": {
  "build": true,
  ...
}
...
/* MediaAndStyles/themes/theme_base/responsive_size_a03_CssImports_CssCleanStart_Webpack.css */

/* tv 16k */
/* @import url("@CssCleanStart_MediaAndStyles/themes/theme_base/responsive_size_t16_tv_16k_portrait_CssCleanStart.css"); */
/* @import url("@CssCleanStart_MediaAndStyles/themes/theme_base/responsive_size_t16_tv_16k_landscape_CssCleanStart.css"); */

1. Responsive .css files set improved and aligned

The new script genCleanStart.sh produces .css files set for the responsive feature, in the new package SitesToolAutomation.

2. theme_base main .css file reduced

A lot of css variables were deleted, since they were first set in order to test the css variables inheritance and to keep all css variables for responsive feature closer in one .css file. The newer .css files set for the css variables for every responsive size seemed to me easier to modify. However, still several css variables to use in the responsive .css file may be set like this:

/* You may adjust Your version of the SitesAutomationTool to produce .css files with one css style property for every responsive size. For example, css property font-size
*/

/* sites_tools/css_tools/CssCleanStart/MediaAndStyles/themes/theme_base/css_clean_start_theme_base.css */
--clean-start__font-size__mobile_s_portrait: 1.2rem;
--clean-start__font-size__mobile_s_landscape: 1.2rem;
--clean-start__font-size__mobile_sm_portrait: 1.2rem;
--clean-start__font-size__mobile_sm_landscape: 1.2rem;
--clean-start__font-size__mobile_md_portrait: 1.2rem;
--clean-start__font-size__mobile_md_landscape: 1.2rem;
/* themes/theme_base/responsive_size_e04_mobile_s_portrait_CssCleanStart.css */

--clean-start__font-size: var(--clean-start__font-size__mobile_s_portrait);
/* themes/theme_base/responsive_size_e06_mobile_sm_portrait_CssCleanStart.css */

--clean-start__font-size: var(--clean-start__font-size__mobile_sm_portrait);

The aim of the setup

All front end devs use some normalizing styles for their new projects from scratch.

When You start fresh project from scratch, You have at once the index.html with responsive markup, and You are able to set the look and feel of Your site in few minutes, via setting very few variables, like text color, background color and font family.

In this index.html template, several .css files will be loaded with size of very few KB.

  1. base normalizing css file for all html tags
  2. base theme file, where all css variabes becomes values set
  3. two example theme .css files, theme-lightmode and theme-darkmode.
  4. example usage of fonts file in .css theme files

The latest .tgz archive (v.1.5.6 23th of June 2025)

https://sandbox.brightday.email/sites_tools/css_tools/CssCleanStart/jaisocx-css-clean-start-1.5.6.tgz

Watch site in action

https://sandbox.brightday.email/sites_tools/css_tools/CssCleanStart/index.template.html

https://sandbox.brightday.email/sites_tools/css_tools/CssCleanStart/lightmode.html

https://sandbox.brightday.email/sites_tools/css_tools/CssCleanStart/darkmode.html

Github

https://github.com/Jaisocx-Tools/Workspace/tree/main/workspace/ts/www/sites_tools/css_tools/CssCleanStart

Status

Ready to use since the 24-th of March in the Year 2025.

Tasks to do

  1. The css example with loading custom font file with aliases for webpack, so that the package can be usable via npm install, then in .ts or .js file import ( lib ) from "@jaisocx/css-clean-start" and then, npm run webpack.

  2. A nice loader for .css files like for other code the npm, yarn, composer and maven would be a very fine thing to use .css themes and templates.

Usage

1. <html class="workspace">

Normally set the css class workspace and theme css class in <html> tag.

<html lang="en" class="workspace theme-darkmode">

2. class ul-reset

You can set css class ul-reset when You don't need html lists rendering with the predefined 90-s years html look and feel.

<html lang="en" class="workspace ul-reset">

or in some tag, where You don't need html lists rendering with the predefined 90-s years html look and feel.

<html lang="en" class="workspace">
      ...
    <a-tag class="ul-reset">

3. class long

4. class small

5. class browser-width

npm for webpack

npm for webpack

I use in the package.json th line to push to npm registry the MediaAndStyles/fonts folder.

this is not the good practice, and I shall use cdn urls for fonts and media in other packages, and in this package I wanted to test the build with webpack with 3rd party dependencies loaded from npm registry, that we have the package.json config, webpack configs and webpack aliases to build the normal bundle.js for a Css Sites UI tool.

there could be mini images and fonts for sure.

npm install @jaisocx/css-clean-start