# @thumbtack/thumbprint-tokens

> Design variables that power Thumbtack’s UI.

Latest version **13.0.1** (published 2023-04-28) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install @thumbtack/thumbprint-tokens
pnpm add @thumbtack/thumbprint-tokens
yarn add @thumbtack/thumbprint-tokens
bun add @thumbtack/thumbprint-tokens
```

## Health

**Score 35/100 (D)** — status: abandoned.

Positive: esm support; no vulnerabilities; high maintenance score.

Warnings: low downloads; no types.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 13.0.1 |
| Published | 2023-04-28 |
| First published | 2018-11-27 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 3 |
| Unpacked size | 79.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Daniel O'Connor <daniel@danoc.me> |
| Maintainers | thumbtack-admin, johnstonj, danoc, lavelle |

## Links

- npm: https://www.npmjs.com/package/@thumbtack/thumbprint-tokens
- Repository: https://github.com/thumbtack/thumbprint-tokens
- Homepage: https://thumbprint.design/tokens
- Issues: https://github.com/thumbtack/thumbprint-tokens/issues
- npm.io page: https://npm.io/package/@thumbtack/thumbprint-tokens

## Dependencies (3)

- [graphql](https://npm.io/package/graphql.md) ^14.5.8
- [@netlify/functions](https://npm.io/package/@netlify/functions.md) ^1.0.0
- [apollo-server-lambda](https://npm.io/package/apollo-server-lambda.md) ^2.9.7

## Recent versions

- 13.0.1 (latest) — 2023-04-28
- 10.1.3-0 (beta) — 2019-12-10
- 13.0.0 — 2023-04-28
- 12.2.2 — 2023-01-30
- 12.2.1 — 2023-01-27
- 12.2.0 — 2023-01-24
- 12.1.1 — 2020-07-08
- 12.1.0 — 2020-01-22
- 12.0.1 — 2020-01-15
- 12.0.0 — 2020-01-14
- 11.0.0 — 2019-12-19
- 10.1.4 — 2019-12-13
- 10.1.3 — 2019-12-10
- 10.1.2 — 2019-12-09
- 10.1.1 — 2019-12-06
- … 32 more at https://npm.io/package/@thumbtack/thumbprint-tokens/versions

## README

# Thumbprint Tokens

> Design variables that power Thumbtack’s UI.

Thumbprint Tokens are published as JavaScript, SCSS, Swift, and Kotlin.

| Platform | Languages | Package |
| --- | --- | --- |
| Web | React & SCSS | [![npm](https://img.shields.io/npm/v/@thumbtack/thumbprint-tokens)](https://www.npmjs.com/package/@thumbtack/thumbprint-tokens) |
| Android | Kotlin | [![JitPack](https://img.shields.io/jitpack/v/github/thumbtack/thumbprint-tokens)](https://jitpack.io/#thumbtack/thumbprint-tokens) |
| iOS | Swift | Swift Package Manager |

## API

You can use the [Thumbprint Tokens GraphQL server](https://thumbprint-tokens.netlify.com/) to query tokens and view the schema.

## Releasing

1. **Pull latest changes:** Run `git checkout master && git pull` to grab the latest changes rom GitHub.
2. **Update the `package.json` and changelog:** Edit the version in the `package.json` and then open the `CHANGELOG.md` file and look at the unreleased changes. Add the new version number ([following SemVer](https://semver.org/)) and date as a heading under the `## Unreleased` heading.
3. **Commit the changelog changes**: Commit the changes on `master` with `git add CHANGELOG.md package.json && git commit -m "Preparing for release."`
4. **Create a Git tag:** Run `git tag vX.Y.Z`, replacing `X.Y.Z` with the new version number.
5. **Release to NPM**: Run `yarn install && yarn release`.
6. **Push to GitHub:** Run `git push --tags` to push the changes to GitHub.
7. **Publish to JitPack:** Visit `https://jitpack.io/com/github/thumbtack/thumbprint-tokens/12.1.1/build.log` but replace `12.1.1` with the new version number. This will kick off a build in JitPack which will be indicated [on the JitPack Thumbprint Tokens page](https://jitpack.io/#thumbtack/thumbprint-tokens/).

# Installation

### Swift Package Manager

[Swift Package Manager](https://swift.org/package-manager/) is a tool for managing the distribution of Swift code. It’s integrated with the Swift build system to automate the process of downloading, compiling, and linking dependencies.

> Xcode 11+ is required to build SwiftRunOnce using Swift Package Manager.

To integrate ThumbprintTokens into your Xcode project using Swift Package Manager, add it to the dependencies value of your `Package.swift`:

```swift
dependencies: [
    .package(url: "https://github.com/thumbtack/thumbprint-tokens.git", .upToNextMajor(from: "12.3.0"))
]
```

---
_Source: https://npm.io/package/@thumbtack/thumbprint-tokens · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
