Giter Club home page Giter Club logo

classic-design-system's People

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  avatar

classic-design-system's Issues

site: tweaks

  • x dead link
  • x site heading spacing - h1 - 56px 0; h2 - 56px 0 0 0;
  • x site - colors page code example

core: consistent naming of extras- to x-

Label (Title Case): XSmall, XXSmall, XXLarge
Code (camelCase): xSmall, xXSmall, xXLarge, psLayoutSpacingXXLarge
Code (lowercase): xsmall, xxsmall, xxlarge
Code (dashified): x-small, xx-small, xx-large

button: expose prop enumerations

Wanted to document the idea around exporting the configuration options for our components as part of the API.

Current

<Button
  appearance="stroke"
  size="tiny">Click me</Button>

Proposal

<Button
  appearance={Button.APPEARANCES.STROKE}
  size={Button.SIZES.TINY>Click me</Button>

Or

import Button, { APPEARANCES, SIZES}   from '...'
// Splitting hairs, the point is just to make it explicit/part of the interface.

While this API is more characters I think it has some valuable wins...

  1. More "grep-able". A developer can find all TINY buttons while doing less work (or no work) to distinguish the context.
  2. Available options are explicit and part of the API itself. This enables introspection and less need to jump to the documentation. It also diminishes versioning problems where the public documentation is a different version than the component in use.
  3. For things like components knowing the magic string can in some sense be harder to guess than tooling that is made available by an API like this.
  4. Typos can be caught for consumers by throwing on undefined. This could be done with the existing approach but then you would be making the options explicit which is what I'm proposing.

Happy to support if we want to continue down the current direction.

card: tweaks

  • x action icon spacing - add 4px from corner, space icons add 4px between
  • x action icon hover - white; normal light gray from flat button
  • x make image linkable
  • x make link title same margin top as string title, weight
  • x image heights
    96 for small
    144 for medium
    240 for large
  • x metadata font size per card size
    S and M are 12px
    L is 14px

site: respace the headings

popped up since the design system change #26

wrap something custom for the site.

@dborodyansky would you mind providing measurements for these? Or are they just the spacings that used to exist in the design system?

card: impl

  • to support home 2.0 and channels integration

button: +1s for CPT

  • icons respond to sizes
  • icons respond to transition
  • square icon-only buttons

Experiment with prebuilding the components.

See how far we can take this. One CPT had a hard time with the config. It is a leap. And it is an effort to work it into an existing/different build config. Others matched up well, but mostly because the tech choice/familiarity was similar.

There will likely be tradeoffs in this direction, but let's get a feel for them before we scale out our building of component and do 10 more in a certain way.

card: progress bar height and position tweak

  1. Progress bar height should be 4px tall excluding the single pixel divider above it.

  2. Progress bar would be better overlaid, aligned with the bottom of the card. Titles of cards with or with out progress would then align vertically.

image

Design a grid

Have a discussion about:

  • What the design guideline is
  • What problem the guideline is solving
  • What the developer experience should be

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.