Coder Social home page Coder Social logo

Comments (3)

aveline avatar aveline commented on June 26, 2024 1

@sarahill We should also add font weights

from foundational-design-system-proto.

sarahill avatar sarahill commented on June 26, 2024 1

Did some exploration on font-weight in the FigJam

From looking at different examples and various systems I'm proposing 9 values that should cover most cases:

base token value
fontweight-thin 100
fontweight-extralight 200
fontweight-light 300
fontweight-regular 400
fontweight-medium 500
fontweight-smeibold 600
fontweight-bold 700
fontweight-extrabold 800
fontweight-black 900

Used in composite tokens it would look like:

heading-1
  fontsize-heading-1
  lineheight-heading-1
  fontweight-bold
  font-sans-fontfamily

heading-2
  fontsize-heading-2
  lineheight-heading-2
  fontweight-bold
  font-sans-fontfamily

heading-3
  fontsize-heading-3
  lineheight-heading-3
  fontweight-bold
  font-sans-fontfamily

heading-4
  fontsize-heading-4
  lineheight-heading-4
  fontweight-bold
  font-sans-fontfamily

heading-5
  fontsize-heading-5
  lineheight-heading-5
  fontweight-smeibold
  font-sans-fontfamily

heading-6
  fontsize-heading-6
  lineheight-heading-6
  fontweight-smeibold
  font-sans-fontfamily

heading-7
  fontsize-heading-7
  lineheight-heading-7
  fontweight-smeibold
  font-sans-fontfamily

body-large
  fontsize-body-large
  lineheight-body-large
  fontweight-regular
  font-sans-fontfamily

body
  fontsize-body
  lineheight-body
  fontweight-regular
  font-sans-fontfamily

body-small
  fontsize-body-small
  lineheight-body-small
  fontweight-regular
  font-sans-fontfamily

caption
  fontsize-caption
  lineheight-caption
  fontweight-regular
  font-sans-fontfamily

from foundational-design-system-proto.

sarahill avatar sarahill commented on June 26, 2024

Thoughts on typography composite tokens

FigJam
image

from foundational-design-system-proto.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.