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

Support for theme customization using CSS variables #60

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

hnagrath09
Copy link
Collaborator

I tried creating a separate theme.css file, but tailwind.config.js file was unable to pick values of defined CSS variables in theme.css file. To make it work, I have created CSS variables in index.css file.

  • Added css variables in index.css file of tail-kit
  • Extended theme in tailwind.config.js of tail-kit
  • Updated test cases with new classes

@hnagrath09 hnagrath09 self-assigned this Nov 1, 2021
@codecov
Copy link

codecov bot commented Nov 1, 2021

Codecov Report

Merging #60 (076a3bf) into develop (b425bfa) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff            @@
##           develop      #60   +/-   ##
========================================
  Coverage    95.10%   95.10%           
========================================
  Files           46       46           
  Lines         1307     1307           
  Branches       556      556           
========================================
  Hits          1243     1243           
  Misses          60       60           
  Partials         4        4           
Impacted Files Coverage Δ
packages/tail-kit/src/components/button/button.tsx 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b425bfa...076a3bf. Read the comment docs.

@github-actions
Copy link

github-actions bot commented Nov 1, 2021

Visit the preview URL for this PR (updated for commit 076a3bf):

https://tail-kit--pr60-feature-theme-z3kdik5w.web.app

(expires Mon, 08 Nov 2021 14:01:31 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

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.

1 participant