Giter Club home page Giter Club logo

design-tokens's People

Contributors

aminalhazwani avatar andymikulski avatar bwinton avatar ericawright avatar gregtatum avatar johngruen avatar muffinresearch avatar vanillajonathan avatar

Stargazers

 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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

design-tokens's Issues

Rename folders and files to photon-{something}

  • Rename /colors to /photon-colors
  • Rename /components to /photon-components
  • Rename/colors/colors.json to /photon-colors/photon-colors.json
  • Build new colors files
  • Update /photon-colors/package.json
  • Publish new npm package version

This will also enhance the link between the module/package name and the source/repository name.

screen shot 2017-11-17 at 4 30 13 pm

Anythings else to take into consideration @bwinton?

Ship photon-colors.css with Firefox

Ship the photon-colors.css style sheet with Firefox, reachable through the chrome:// URI.

This allows Firefox to internally make use of the design tokens.
It also allows third-party WebExtension developers to reference the style sheet directly without redundantly bundling the style sheet with every WebExtension.

Get our stuff working with the sass-module-importer.

(As described here.)

All we need to do is one of the following:

  1. Set a SCSS/Sass/CSS file on the "main" field of their package.json/bower.json
  2. Set a SCSS/Sass/CSS file on the "style" field of their package.json/bower.json
  3. Have a index.css file on the root of their module

which seem simple enough, and not a terrible idea. ๐Ÿ™‚

Fira font package

According to mozilla/Fira#210 (comment), the Fira font used for Photon has been relocated to carrois/Fira. This repo has all the proper webfont files, but does not offer an NPM package to import Fira from.

Should the Fira webfont files exist in the design-tokens repo? On the one hand, it makes sense to house all of the necessary files here, but an argument could be made to submit a PR to carrois/Fira. Ideally we would have some sort of photon-fonts package, and I suspect that would be easier to manage if we wrapped all the files into design-tokens.

Currently, we can simply rely on the CDN's fira.css through @imports, but that seems less than stellar.

Size of buttons?

What exactly does the "size" property refer to in the context of buttons?
Is it font-size?
It is rather ambiguous as to what it means.

Property Value
Height 32px
Padding 8px
Size 13px

If size refers to font-size and padding is 8 pixel on the top and 8 pixel on the bottom then that would be 8 + 13 + 8 which equals 29 which does not add up to the declared height of 32 pixels.

This leaves me confused.

Add SASS vars to the package

We're using SASS vars already in mozilla/addons-frontend it would be handy to have SASS output as well as CSS vars.

Close the repo

We can close this repo as we have specific repositories for the specific tokens. Any blocker?

Minor updates on GIMP color palette

Hey @vanillajonathan I was testing the Gimp Palette on both macOS and Ubuntu and when imported the palette name is set to "colors.gpl". Do you know if it's possible to set it to "Photon Colors"? (I am also in the process of changing the other generated files to photon-colors.ext)

screen shot 2017-11-17 at 12 07 29 pm

When using the tokens in applications I would like to suggest if possible to name them "Magenta 50" instead "magenta-50". Can you help on that?

screen shot 2017-11-17 at 12 06 46 pm

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.