Skip to content

Commit

Permalink
5.0.1 Fixed FontAwesome due to cdnjs path 💀
Browse files Browse the repository at this point in the history
  • Loading branch information
YamiOdymel committed Jul 5, 2024
1 parent 7f118f0 commit 0bb185e
Show file tree
Hide file tree
Showing 21 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@

```html
<!-- 核心:Tocas UI -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/tocas/5.0.0/tocas.min.css" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/tocas/5.0.0/tocas.min.js"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/tocas/5.0.1/tocas.min.css" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/tocas/5.0.1/tocas.min.js"></script>

<!-- 字體:Noto Sans TC -->
<link rel="preconnect" href="https://fonts.googleapis.com" />
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions dist/tocas.css
Original file line number Diff line number Diff line change
Expand Up @@ -8613,7 +8613,7 @@ fieldset:disabled .ts-button {

@font-face {
font-family: "Icons";
src: url("icons/fa-solid-900.woff2") format("woff2"), url("icons/fa-solid-900.ttf") format("truetype");
src: url("fonts/icons/fa-solid-900.woff2") format("woff2"), url("fonts/icons/fa-solid-900.ttf") format("truetype");
font-style: normal;
font-weight: normal;
font-variant: normal;
Expand All @@ -8623,7 +8623,7 @@ fieldset:disabled .ts-button {

@font-face {
font-family: "IconsBrands";
src: url("icons/fa-brands-400.woff2") format("woff2"), url("icons/fa-brands-400.ttf") format("truetype");
src: url("fonts/icons/fa-brands-400.woff2") format("woff2"), url("fonts/icons/fa-brands-400.ttf") format("truetype");
font-style: normal;
font-weight: normal;
font-variant: normal;
Expand All @@ -8633,7 +8633,7 @@ fieldset:disabled .ts-button {

@font-face {
font-family: "IconsRegular";
src: url("icons/fa-regular-400.woff2") format("woff2"), url("icons/fa-regular-400.ttf") format("truetype");
src: url("fonts/icons/fa-regular-400.woff2") format("woff2"), url("fonts/icons/fa-regular-400.ttf") format("truetype");
font-style: normal;
font-weight: normal;
font-variant: normal;
Expand Down
2 changes: 1 addition & 1 deletion dist/tocas.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tocas",
"version": "5.0.0",
"version": "5.0.1",
"description": "The fastest and most intuitive way to build diverse websites and progressive web application interfaces.",
"directories": {
"doc": "docs",
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions src/icon.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

@font-face {
font-family: "Icons";
src: url("icons/fa-solid-900.woff2") format("woff2"), url("icons/fa-solid-900.ttf") format("truetype");
src: url("fonts/icons/fa-solid-900.woff2") format("woff2"), url("fonts/icons/fa-solid-900.ttf") format("truetype");
font-style: normal;
font-weight: normal;
font-variant: normal;
Expand All @@ -14,7 +14,7 @@

@font-face {
font-family: "IconsBrands";
src: url("icons/fa-brands-400.woff2") format("woff2"), url("icons/fa-brands-400.ttf") format("truetype");
src: url("fonts/icons/fa-brands-400.woff2") format("woff2"), url("fonts/icons/fa-brands-400.ttf") format("truetype");
font-style: normal;
font-weight: normal;
font-variant: normal;
Expand All @@ -24,7 +24,7 @@

@font-face {
font-family: "IconsRegular";
src: url("icons/fa-regular-400.woff2") format("woff2"), url("icons/fa-regular-400.ttf") format("truetype");
src: url("fonts/icons/fa-regular-400.woff2") format("woff2"), url("fonts/icons/fa-regular-400.ttf") format("truetype");
font-style: normal;
font-weight: normal;
font-variant: normal;
Expand Down

0 comments on commit 0bb185e

Please sign in to comment.