mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-28 15:47:15 +01:00
[MIRROR] Removes tg-font from main build pipeline, adds static asset version [MDB IGNORE] (#10024)
* Remove tgfont from pipeline, build it to git (#63358) * Removes tg-font from main build pipeline, adds static asset version Co-authored-by: AnturK <AnturK@users.noreply.github.com>
This commit is contained in:
@@ -143,11 +143,11 @@
|
||||
|
||||
/datum/asset/simple/namespaced/tgfont
|
||||
assets = list(
|
||||
"tgfont.eot" = file("tgui/packages/tgfont/dist/tgfont.eot"),
|
||||
"tgfont.woff2" = file("tgui/packages/tgfont/dist/tgfont.woff2"),
|
||||
"tgfont.eot" = file("tgui/packages/tgfont/static/tgfont.eot"),
|
||||
"tgfont.woff2" = file("tgui/packages/tgfont/static/tgfont.woff2"),
|
||||
)
|
||||
parents = list(
|
||||
"tgfont.css" = file("tgui/packages/tgfont/dist/tgfont.css"),
|
||||
"tgfont.css" = file("tgui/packages/tgfont/static/tgfont.css"),
|
||||
)
|
||||
|
||||
/datum/asset/spritesheet/chat
|
||||
|
||||
@@ -0,0 +1,50 @@
|
||||
@font-face {
|
||||
font-family: "tgfont";
|
||||
src: url("./tgfont.woff2?45c3c7acc69dd413375d77898d24e41e") format("woff2"),
|
||||
url("./tgfont.eot?45c3c7acc69dd413375d77898d24e41e#iefix") format("embedded-opentype");
|
||||
}
|
||||
|
||||
i[class^="tg-"]:before, i[class*=" tg-"]:before {
|
||||
font-family: tgfont !important;
|
||||
font-style: normal;
|
||||
font-weight: normal !important;
|
||||
font-variant: normal;
|
||||
text-transform: none;
|
||||
line-height: 1;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
|
||||
.tg-air-tank-slash:before {
|
||||
content: "\f101";
|
||||
}
|
||||
.tg-air-tank:before {
|
||||
content: "\f102";
|
||||
}
|
||||
.tg-bad-touch:before {
|
||||
content: "\f103";
|
||||
}
|
||||
.tg-image-minus:before {
|
||||
content: "\f104";
|
||||
}
|
||||
.tg-image-plus:before {
|
||||
content: "\f105";
|
||||
}
|
||||
.tg-nanotrasen-logo:before {
|
||||
content: "\f106";
|
||||
}
|
||||
.tg-non-binary:before {
|
||||
content: "\f107";
|
||||
}
|
||||
.tg-prosthetic-leg:before {
|
||||
content: "\f108";
|
||||
}
|
||||
.tg-sound-minus:before {
|
||||
content: "\f109";
|
||||
}
|
||||
.tg-sound-plus:before {
|
||||
content: "\f10a";
|
||||
}
|
||||
.tg-syndicate-logo:before {
|
||||
content: "\f10b";
|
||||
}
|
||||
Binary file not shown.
Binary file not shown.
@@ -208,7 +208,7 @@ export const LintTarget = new Juke.Target({
|
||||
});
|
||||
|
||||
export const BuildTarget = new Juke.Target({
|
||||
dependsOn: [TguiTarget, TgFontTarget, DmTarget],
|
||||
dependsOn: [TguiTarget, DmTarget],
|
||||
});
|
||||
|
||||
export const ServerTarget = new Juke.Target({
|
||||
@@ -272,7 +272,7 @@ const prependDefines = (...defines) => {
|
||||
};
|
||||
|
||||
export const TgsTarget = new Juke.Target({
|
||||
dependsOn: [TguiTarget, TgFontTarget],
|
||||
dependsOn: [TguiTarget],
|
||||
executes: async () => {
|
||||
Juke.logger.info('Prepending TGS define');
|
||||
prependDefines('TGS');
|
||||
|
||||
Reference in New Issue
Block a user