Giter Club home page Giter Club logo

Comments (5)

ansarizafar avatar ansarizafar commented on May 11, 2024 2

Check these articles from Microsoft Fast team
https://medium.com/fast-design/evolution-of-design-tokens-and-component-styling-part-1-f1491ad1120e

https://medium.com/fast-design/evolution-of-design-tokens-and-component-styling-part-2-1018e8bae62

from css.

ansarizafar avatar ansarizafar commented on May 11, 2024 2

I think we should use Javascript Object for defining tokens. JSON looks bad. It would be great If we can also use Master CSS color palette in design tokens.

from css.

itsezc avatar itsezc commented on May 11, 2024 1

An amazing v2 (beta) so far, would love it if css.theme is typed based on themes configured, or alternatively a updateTheme method can be exported.

from css.

1aron avatar 1aron commented on May 11, 2024 1

@itsezc I guess you've already seen it. Master CSS v2.0 Beta Release #79 - Built-in theme switching and synchronization

from css.

1aron avatar 1aron commented on May 11, 2024 1

I think it should be an external package and there may be more than one specification for design tokens.

Something like this:

/* master.css.js */
import { extend } from '@master/css'
import xDesignTokens from 'x-design-tokens'
import xDesignTokensToMasterCSSConfig from 'x-design-tokens-to-master-css-config'

module.export = extend(
    {
        classes: { },
        ...
    },
    xDesignTokensToMasterCSSConfig(xDesignTokens)
)

from css.

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.