question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Coordinate Sketch Plugin output with Design Kit

See original GitHub issue

This issue is for coordinating what exactly will be delivered in the Sketch Plugin and how it will be used by the Design Kit. In particular, we’ll want to cover:

  • IDL Colors
    • What should the naming conventions be for the shared styles?
  • Theme tokens
    • What should the naming convention be for the shared styles?
  • Type tokens
    • What should the naming convention be for the shared styles?
  • Icons
    • What hierarchy do we want for icons?

Some of the initial explorations are doing the following:

  • IDL Colors: color / color swatch / color grade, e.g. color / blue / 50
  • Theme tokens: Theme / token, e.g. White 10 theme / interaction-01
  • Type tokens:
    • Currently just the token name, optional divider for expressive versus productive
    • body-long-02
    • productive / heading-01
  • Icons: category / icon name / size, e.g. action / add / 16

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:10 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
joshblackcommented, Aug 6, 2019

Quick status update:

  • Re-ordering of colors
  • Tried to reset border style on new rectangles (was specific to sketch instances)
  • Updated theme token names to include tokens

Going to defer on transparent as this has no representation in code 👍

1reaction
laurenmricecommented, Jul 25, 2019

Colors For color symbol structure: currently IDL has it as: color / color name / color grade Ex: color / red / red-10

  • There is a repetition of the color name with a dash between the grade. Was wondering if you are cool with sticking to this same structure.

Icons For icon symbol structure: currently IDL has it as: icon / category / subcategory / name / size Ex: icon / file / download / 32

  • Download the current IDL kit to see how they are nesting icon symbols any further than subcategories.

  • Icons are required to be categorized first by category, and second by subcategory. Then third, the structure may differ depending on how many variants there are per subcategory. I know that recently Olivia has been trying to unnest icons more in the library based on user feedback. For example: checkmark has a filled and unfilled variant but these will remain on the same level in the subcategory instead of having filled nested inside of the unfilled bucket. Screen Shot 2019-07-24 at 1 40 41 PM


Themes

IDL currently doesn’t have a themes page. If themes page includes only color tokens, we can structure this page similarly to what exists in the carbon elements themes (which looks similar to whats in the 4 kits and on the website)

We can structure the symbols like this: theme / token type / token name White theme / core color tokens / interactive-01 and theme / token type / token name White theme / interaction color tokens / focus

  • We can categorize the type of token by core colors vs. interaction colors to make the tokens easier to find by function. This is how we present it on the website and in the kit. Let me know your thoughts on this.

  • Was also thinking about structuring by token as a second level, and token type as the third level. Ex: White theme / token / core colors / interactive-01 but that may be too nested…


Type From looking at the Elements type style package, we could try starting with splitting the structure into productive and expressive.

type/type usage/type style name Ex: type / productive / caption-01

Read more comments on GitHub >

github_iconTop Results From Across the Web

Download Hundreds of Plugins - Sketch
Sketch Plugins. Expand Sketch's functionality even further with plugins for Sketch. Hundreds to choose from built by our incredible developer community.
Read more >
Sketch Plugins Directory
6Spiral, by Matej Marjanovic: 6Spiral is a sketch plugin to draw spiral shapes (archimedean and logarithmic spirals) and it also allows you to...
Read more >
Import Sketch files – Figma Help Center
You can import entire design files from Sketch (.sketch) into Figma. ... Screenshots of any error messages; The output of any errors in...
Read more >
Customer Questions & Answers - Amazon.com
Q: Hi, it uses a plugin in inkscape to send the coordinates to the plotter right? anybody know if there exists a plugin...
Read more >
Sketch Plugin Project - Design+Code
You can use package manager to create a project. On a select folder for the project, run skpm create Angle or whichever name...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found