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: varTheme based theming #446

Merged
merged 5 commits into from
Dec 5, 2022

Conversation

jhoward-eightfold
Copy link
Contributor

SUMMARY:

Initial implementation of exposing css var based via config provider. This will be extended to other components and leveraged to customize visual styling without having to write css.

GITHUB ISSUE (Open Source Contributors)

NA

JIRA TASK (Eightfold Employees Only):

NA

CHANGE TYPE:

  • Bugfix Pull Request
  • Feature Pull Request

TEST COVERAGE:

  • Tests for this change already exist
  • I have added unittests for this change

TEST PLAN:

Manually testing in Storybook to ensure visuals are maintained in the button component suite. Additionally, testing configProvider updates in Storybook to ensure json based overriding of the css vars get applied as desired. Screenshot shows simple updates to remove pill shaped rounding and make primary buttons pink

Screen Shot 2022-12-02 at 2 00 22 PM

@codesandbox-ci
Copy link

codesandbox-ci bot commented Dec 2, 2022

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit e823978:

Sandbox Source
React Configuration
Vanilla Configuration

@codecov-commenter
Copy link

Codecov Report

❗ No coverage uploaded for pull request base (main@2c1c442). Click here to learn what that means.
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #446   +/-   ##
=======================================
  Coverage        ?   84.63%           
=======================================
  Files           ?      725           
  Lines           ?    15766           
  Branches        ?     5523           
=======================================
  Hits            ?    13343           
  Misses          ?     2355           
  Partials        ?       68           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@jhoward-eightfold jhoward-eightfold merged commit a692b41 into EightfoldAI:main Dec 5, 2022
@jhoward-eightfold jhoward-eightfold deleted the varTheme branch December 5, 2022 19:56
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.

3 participants