Skip to content
This repository has been archived by the owner on Dec 11, 2023. It is now read-only.

Modern, platform agnostic & reusable design tokens to help you enable seamless handoff experience & build intuitive website faster

License

Notifications You must be signed in to change notification settings

ravenbrightdesign/ravenbrighttokens

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IMPORTANT NOTICE: This project is no longer being maintained.

Thank you for your interest in this project.

As of December 11th, 2023, this project is no longer being maintained or updated. The repository will still be available and can be forked, but no further updates or issue responses will be made.

This project is licensed under the terms of the Apache License 2.0. You are free to fork and use this project according to the terms of that license.

Thank you for your understanding and support!

Ravenbright Design Tokens

Known Vulnerabilities GitHub last commit GitHub license Ravenbrightcss.com


This repo is a group of design tokens in accordance with Ravenbright CSS to help you enable seamless handoff experience & build intuitive website faster. Ravenbright Design currently offers 4 different design token formats such as JSON, CSS variables, Figma Tokens, & Tailwind CSS config.

Download Ravenbright Design Tokens 👇

Why Ravenbright Design Tokens?

  • 🎨 Apply your own custom brand in minutes

  • 🤝 Faster & seamless handoff experience between the teams

  • ✅ Connected with Ravenbright CSS & its UI collections that available in Next.js, Astro, Gatsby, & HTML5.

  • 📉 Reduce duplicate styles in CSS

  • 🌐 Platform agnostic. It provides flexible design tokens that works regardless of specific tech platforms.

  • 👌 Build intuitive & consistent website faster

  • 🚀 Achieve high-performance site with optimized CSS

  • 🌙 Support light & dark mode theme

How to get started?

Manual download

Use it via CDN

<link rel="stylesheet" href="https://unpkg.com/ravenbrighttokens/ravenbright-vars.min.css">
<link rel="stylesheet" href="https://unpkg.com/ravenbrighttokens/ravenbright-json.json">
<link rel="stylesheet" href="https://unpkg.com/ravenbrighttokens/ravenbright-figma-tokens.json">

Install via npm

# initialize project
npm init

# download & install Ravenbright Design Tokens locally
npm install ravenbrighttokens

# change directory
cd node_modules/ravenbrighttokens

Still have doubt? Don't be, explore & play around with Ravenbright Design Tokens live demo on Codepen.

View demo 👇

View demo on Codepen Explore UI collections

Customization & build process

JSON

Some of Ravenbright design tokens including colors & typography are initially created from Figma Tokens plugin & then manually edited to enhance & arrange the structure. The plugin helps us making the design works well together with the development process.

After that, you can use Style Dictionary to generate the tokens into different formats such as CSS variables, SASS variables, Android XML, iOS swift, etc.

Figma Tokens

Read the tutorial here 👉 Ravenbright CSS official docs.

Currently in Ravenbright Figma Tokens v1.0.0, there exists some limitations:

  • Colors are the only styles that work out of the box when imported into Figma built-in styles
  • CSS box shadow values in JSON are not working when applied to Figma objects or components
  • Letter-spacing & line-height values must use a 'px' unit because Figma still doesn't support 'rem' unit. Check this post on Figma forum for more details.

CSS variables

Learn more about customizing & building the CSS variables in 👉 Ravenbright CSS official docs.

Tailwind CSS config

At the moment, Tailwind CSS config is manually edited & created from Figma Tailwind CSS plugin. Check the config here 👉 Ravenbright CSS official docs.


License

Ravenbright Design Tokens are released under Apache License 2.0.