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

victory.css

v0.6.2

Published

A lightweight and very simple front-end framework

Downloads

40

Readme

Victory.css is a simply and lightweight front-end framework/toolkit (call it what you want) for developing fast.

Download

Use CDN:

<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, shrink-to-fit=no">
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/victory.min.css">
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/victory.min.js"></script>

Or download from:

  • https://raw.githubusercontent.com/brcontainer/victory.css/0.6.1/dist/victory.min.css
  • https://raw.githubusercontent.com/brcontainer/victory.css/0.6.1/dist/victory.min.js

then use in your project put like this:

<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, shrink-to-fit=no">
<link rel="stylesheet" type="text/css" href="victory.min.css">
<script src="victory.min.js"></script>

Browser Support

Chrome | Firefox | Safari | Opera | Edge | EdgeHTML | IE9+ | IE8 --- | --- | --- | --- | --- | --- | --- | --- Chrome | Firefox | Safari | Opera | Edge | EdgeHTML | IE9+ | IE8 ✔ | ✔ | ✔ 8+ | ✔ | ✔ | ✔ | ✔ | (partial)

Note: Victory.css has some fallbacks for old browsers without media-queries support, such as Internet Explorer 8, preventing your site from breaking

Basic vs Standard

Basic contains only basic resources, victory-basic.min.js contains only polyfills, about differences see:

Resource | Standard | Basic | About --- | --- | --- | --- border.scss | ✔ | ✔ | Utility for arround any element clear-both.scss | ✔ | ✔ | Clear both "global" colors.scss | ✔ | ✔ | Background and border color classes commons.scss | ✔ | ✔ | Various classes of common use container.scss | ✔ | ✔ | container (adpatative width @media-query) and container-fluid grid.scss | ✔ | ✔ | Grid system normalize.scss | ✔ | ✔ | Basic normalize and fallback for html5 tags for old browsers text-align.scss | ✔ | ✔ | text-align basead in view-port size visibility.scss | ✔ | ✔ | visibility: and display: basead in view-port size arrow.scss | ✔ | - | Various arrow "icons" badge.scss | ✔ | - | Badges system button.scss | ✔ | - | Styled buttons code.scss | ✔ | - | Pre defined style for <code> tags divider.scss | ✔ | - | Style horizontal lines (like <hr>) fix-render.scss | ✔ | - | fix-render (fix bug in elements with position:fixed on enter Chromium/Chrome DevTools) input.scss | ✔ | - | Styled inputs kbd.scss | ✔ | - | Pre defined style for <kbd> tags nav.scss | ✔ | - | Navbar system resize.scss | ✔ | - | Resize elements (only Desktop) slide.scss | ✔ | - | Slide system table.scss | ✔ | - | Styled tables underline.scss | ✔ | - | Underline text animated Minified size | 42kB | 16kB | - Gziped size | 7.5kB | 2.7kB | -


Development

To contribute or modify download using git (require npm):

git clone https://github.com/inphinit/Victory.css.git [project_name]
cd [project_name]
npm install

After changes files in ./src folder execute this command for deploy:

npm run build

Or see another commands

Commands

Command | Description ---|--- npm run readme | Generate README.html from README.md npm run examples | Generate examples/index.html for link all examples npm run mergecss | For create only victory.css without create prefixes and without min version npm run prefix | For put prefix properties in victory.css npm run mincss | For create min version from victory.css npm run mergejs | For create only victory.js without min version npm run minjs | For create min version from victory.js npm run standard | Deploy without create slim and minimal versions, auto-execute follow commands mergecss, prefix, mincss, mergejs, minjs npm run build | Full deploy, auto-execute follow commands mergecss, prefix, mincss, mergejs, minjs, basic:mergecss, basic:mincss, basic:mergejs, basic:minjs, minimal:mergecss, minimal:mincss in sequence

Basic commands

Command | Description ---|--- npm run basic:mergecss | For create only victory-basic.css without min version npm run basic:mincss | For create min version from victory-basic.css npm run basic:mergejs | For create only victory-basic.js without min version npm run basic:minjs | For create min version from victory-basic.js npm run basic | Minimal deploy, auto-execute follow commands basic:mergecss, basic:mincss, basic:mergejs and basic:minjs in sequence