Nerfing Powerful Megalomaniacs
    Wondering what’s next for npm?Check out our public roadmap! »

    @vivareal/lina-tokens

    1.2.0 • Public • Published

    Lina Tokens

    Project responsible for transforming and formatting design tokens.

    Installing

    Go to root folder and then

    make install
    

    Build the tokens

    make build

    and the files will be built and placed on the dist folder.

    Developing locally

    make docs-dev
    

    Folder structure

    ├── README.md
    ├── build/tokens.js  // Code necessary to build the tokens
    ├── configs/
    ├── src/
    │   ├── brands/ // brand-specific tokens are here
    │       ├── <BRAND>
    │          ├── color/
    │              ├── base.json
    │              ├── font.json
    │          ├── size/
    │              ├── font.json
    │   ├── general/  // general tokens here
    │       ├── color/
    │           ├── base.json
    │           ├── font.json
    │       ├── size/
    │           ├── font.json
    ├── dist
    │   ├── <BRAND>
    │      ├── android/
    │         ├── font_dimens.xml
    │         ├── colors.xml
    │      ├── scss/
    │         ├── _variables.scss
    │      ├── ios/
    │         ├── StyleDictionaryColor.h
    │         ├── StyleDictionaryColor.m
    │         ├── StyleDictionarySize.h
    │         ├── StyleDictionarySize.m
    │      ├── ios-swift/
    │         ├── StyleDictionary.swift
    │         ├── StyleDictionaryColor.swift
    │         ├── StyleDictionarySize.swift
    

    Contributing

    Creating / Editing a token

    Tokens are created using Amazon's Style Dictionary.
    Please read the docs before starting to create or edit a token.

    Release

    Releases are managed by Lerna. Please check the root's README for more infos.

    Install

    npm i @vivareal/lina-tokens

    DownloadsWeekly Downloads

    33

    Version

    1.2.0

    License

    ISC

    Unpacked Size

    622 kB

    Total Files

    12

    Last publish

    Collaborators

    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar