v9 to v8 Theme object #28570
Unanswered
marielsgtzz
asked this question in
Q&A
Replies: 1 comment
-
I´m mocking the function with d3 for the interpolation but it isn´t as slick as Fluent's algorithm. I´ve opened a ticket to get it exported. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I know that createv8Theme creates a v8 theme from v9 brand colors and theme, but it requires that I give it a BrandVariants obj.
What I'm trying to do is create a v8 Theme by having only a v9 one, but I don't want to make the user give me the v9 brand variants, I'll like to extract those from the v9 theme and pass them to createv8Theme() as params to get that v8 Theme object.
I've seen that the getBrandTokensFromPalette function isn't exported by Fluent but does what I need.
Any suggestions?
Beta Was this translation helpful? Give feedback.
All reactions