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

@skodaflow/webapp-tokens

v2.3.1

Published

Flow design tokens for WebApp: exported from Figma

Downloads

725

Readme

Skoda Design Tokens for WebApp (@skodaflow/webapp-tokens)

The Skoda Flow design tokens for webapp (exported from Figma). Contains:

  • colors / format: SCSS + JSON.
  • typography basic styles / format: JSON + SCSS.
  • JSON: set of tokens and typography basic styles

Naming convention

SCSS: > "flow-colors" >
SCSS: > "flow-typography" >
JSON: > "flow-colors" >
JSON: > "flow-typography" > "name" = < name >

Installation

npm i @skodaflow/webapp-tokens --save

Changelog

1.9.0.: background-tertiary added for white to keep semantic structure aligned
1.8.0.: fSkin updates (small fixes x merge of fixes)
1.7.0.: fSkin updates (colors, effects, grid, typography) x generate-channel.js webapp re-factor
1.6.0.: NEW CI updates (colors -> typography)
1.5.6.: Minor fix to changelog
1.5.5.: Added Licence file
1.5.4.: Stable release
1.3.2.: Changed var names in JSON (colors -> flow-colors, typography -> flow-typography)
1.2.2.: Bold font added
1.2.1.: Tokens -> flow-variables, rounding for opacity values, Overlay color, font variables
1.2.0.: + draft Typography
1.1.0.: WEBAPP COLORS (stable release)
0.0.4.: Initial release: webapp colors (SCSS/CSS vars) \

Typography SCSS Transformation Rule

Due to some SCSS naming conflicts for SHIFTUI WebApp team, anyone exchanging SCSS tokens with SHIFTUI needs to ensure:

Typography SCSS title/description variables should contain -/hyphens between appended string and int, excluding default h1,h2,h3 [...]

For example, for any title/description with appended int -> body[n] or body-link[n] this should be replaced with body-[n] or body-link-[n].

View latest release of Typography tokens for rule applied.

Agreement between Flow DS team and SHITUI was made on 17.05.22.

Programmatically this rule could be applied (regex) within CLI webapp generator script but would compromise all future instances where int and string are appended together. There may be good design reasons for this and in such instances all should be reviewed and approved by Flow DS team and SHIFTUI team respectively. Else, this may cause a number of accidental integrations.

Manual inspection/implementation should be done before shipping tokens!

Roadmap

1.3.3.: Color Aliases
2.1.1.: Typography final release
2.2.x.: Typography: mixins
3.1.1.: Grid
x.x.x: Animation, Effects, Spacing \

Content

File flow-variables.scss include all _<file_name> files with tokens variables.

skodaflow-web-tokens
├── README.md
├── package.json
└── src
    ├── fonts
        ├── fonts.scss
    ├── tokens.scss
    ├── tokens.json
    ├── _colors.scss
    ├── _typography.scss

Contact

[email protected]