Skip to content
This repository has been archived by the owner on Nov 9, 2024. It is now read-only.

Add none theme #1121

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Add none theme #1121

wants to merge 1 commit into from

Conversation

segevfiner
Copy link

Fixes #1120

@segevfiner
Copy link
Author

Vanilla CSS for those who need it:

.tippy-box[data-theme~='none'] {
  background-color: transparent;
  color: inherit;
}

.tippy-box[data-theme~='none'][data-placement^='top'] > .tippy-arrow::before {
  border-top-color: transparent;
}
.tippy-box[data-theme~='none'][data-placement^='bottom'] > .tippy-arrow::before {
  border-bottom-color: transparent;
}
.tippy-box[data-theme~='none'][data-placement^='left'] > .tippy-arrow::before {
  border-left-color: transparent;
}
.tippy-box[data-theme~='none'][data-placement^='right'] > .tippy-arrow::before {
  border-right-color: transparent;
}

.tippy-box[data-theme~='none'] > .tippy-backdrop {
  background-color: transparent;
}

.tippy-box[data-theme~='none'] > .tippy-svg-arrow {
  fill: transparent;
}

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add a "none" theme
1 participant