Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(design-system): Integrate Inkline component library as baseline #308

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

tkaragianes
Copy link
Contributor

@tkaragianes tkaragianes commented Jan 25, 2023

Summary

We plan to integrate the Inkline Vue component library as a starting point to speed component creation. We will wrap Inkline components in an Eterna components and use the Eterna components in our pages. This gives us an escape hatch should we need to replace the Inkline library in the future, and lets us define Eterna-specific details for each component.

Implementation Notes

Inkline uses CSS variables to style components. Eterna uses an override file that allows us to globally reassign Inkline's variables with our design-system standards. We can also locally override Inkline variables on a per-component basis.

Related Issues

Closes #40.

We plan to integrate the Inkline Vue component library as a starting
point to speed component creation. We will wrap Inkline components in
an Eterna components and use the Eterna components in our pages. This
gives us an escape hatch should we need to replace the Inkline library
in the future, and lets us define Eterna-specific details for each
component.
@tkaragianes tkaragianes requested a review from a team as a code owner January 25, 2023 20:31
@tkaragianes tkaragianes changed the title feat[design-system]: Integrate Inkline component library as baseline feat(design-system): Integrate Inkline component library as baseline Jan 25, 2023
Copy link
Member

@luxaritas luxaritas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It doesn't look like this closes #40 - there's still a lot of Inkline global variables that aren't mapped to tokens

packages/design-system/vue/package.json Show resolved Hide resolved
Build:watch on the token-transformer now runs the tranform script
on initial call, and then watches tokens.json and retriggers the
transform script on changes.
Token transformer now splits multi-property values into separate css
variables. This commit also removes the font-family hack now that
Figma supports comma separated values.
Our TS rules don't allow variable shadowing. In correcting the issue,
I missed one `key` that should be `property`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement Inkline theme
2 participants