Skip to content

Commit

Permalink
yes (#3329)
Browse files Browse the repository at this point in the history
-# no
  • Loading branch information
ZephyrTFA authored Sep 8, 2024
1 parent 573586d commit 71bb5d8
Show file tree
Hide file tree
Showing 11 changed files with 12 additions and 6,073 deletions.
10 changes: 4 additions & 6 deletions code/modules/asset_cache/asset_list_items.dm
Original file line number Diff line number Diff line change
Expand Up @@ -147,13 +147,11 @@
)

/datum/asset/simple/namespaced/fontawesome
legacy = TRUE
assets = list(
"fa-regular-400.eot" = 'html/font-awesome/webfonts/fa-regular-400.eot',
"fa-regular-400.woff" = 'html/font-awesome/webfonts/fa-regular-400.woff',
"fa-solid-900.eot" = 'html/font-awesome/webfonts/fa-solid-900.eot',
"fa-solid-900.woff" = 'html/font-awesome/webfonts/fa-solid-900.woff',
"v4shim.css" = 'html/font-awesome/css/v4-shims.min.css'
"fa-regular-400.ttf" = 'html/font-awesome/webfonts/fa-regular-400.ttf',
"fa-solid-900.ttf" = 'html/font-awesome/webfonts/fa-solid-900.ttf',
"fa-v4compatibility.ttf" = 'html/font-awesome/webfonts/fa-v4compatibility.ttf',
"v4shim.css" = 'html/font-awesome/css/v4-shims.min.css',
)
parents = list("font-awesome.css" = 'html/font-awesome/css/all.min.css')

Expand Down
4 changes: 2 additions & 2 deletions html/font-awesome/README.MD
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Due to the fact browse_rsc can't create subdirectories, every time you update font-awesome you'll need to change relative webfont references in all.min.css
eg ../webfonts/fa-regular-400.ttf => fa-regular-400.ttf (or whatever you call it in asset datum)

Second change is ripping out file types other than woff and eot(ie8) from the css
Second change is ripping out file types other than ~~ woff and eot(ie8)~~ ttf from the css

Finally, removing brand related css.
Finally, removing brand related css.
Loading

0 comments on commit 71bb5d8

Please sign in to comment.