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

The filled and outlined versions cannot co-exist using the webfont version #1042

Closed
sethyuan opened this issue Mar 12, 2024 · 1 comment · Fixed by #1043
Closed

The filled and outlined versions cannot co-exist using the webfont version #1042

sethyuan opened this issue Mar 12, 2024 · 1 comment · Fixed by #1043

Comments

@sethyuan
Copy link

The CSS is defined like this, which obvious won't have the 2 versions coexist:

@font-face {
  font-family: "tabler-icons-filled";
  font-style: normal;
  font-weight: 400;
  src: url("./fonts/tabler-icons-filled.woff2?v3.0.0") format("woff2"), url("./fonts/tabler-icons-filled.woff?") format("woff"), url("./fonts/tabler-icons-filled.ttf?v3.0.0") format("truetype");
}
.ti {
  font-family: "tabler-icons-filled" !important;
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  /* Better Font Rendering */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.ti-accessible:before {
  content: "\f6ea";
}
@sethyuan
Copy link
Author

Thanks for the quick actions and release!

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 a pull request may close this issue.

1 participant