Skip to content

It can't export colorSurfaceContainer all colors in TypeScript #136

Closed
@Super12138

Description

@Super12138

I use this method to get theme:

const theme = themeFromSourceColor(argbFromHex('#f82506'));

console.log(JSON.stringify(theme, null, 2));

but it can't export colors in colorSurfaceContainer;
I see the file https://github.com/material-foundation/material-color-utilities/blob/main/typescript/dynamiccolor/material_dynamic_colors.ts is support the new color, but how can I use it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions