As a first step to introducing design tokens we want to add them directly to source-foundations so they are used to generate the existing tokens this package exports. Consumers of the package will see no difference: rather than the TS objects and variables being created and updated by hand, they'll be automatically generated from a set of common design tokens. By not publishing these as a separate package their use is slightly under the radar, allowing us to experiment without the burden of having to support usage elsewhere. Eventually it's likely these will be moved out to a separate package and become another dependency.
As a first step to introducing design tokens we want to add them directly to
source-foundations
so they are used to generate the existing tokens this package exports. Consumers of the package will see no difference: rather than the TS objects and variables being created and updated by hand, they'll be automatically generated from a set of common design tokens. By not publishing these as a separate package their use is slightly under the radar, allowing us to experiment without the burden of having to support usage elsewhere. Eventually it's likely these will be moved out to a separate package and become another dependency.Prototype
source-design-tokens
package: https://github.com/guardian/csnx/pull/896