You've already forked ReZygisk
mirror of
https://github.com/PerformanC/ReZygisk.git
synced 2025-09-06 06:37:01 +00:00
add: outfit font to replace product sans
This commit is contained in:
@@ -204,11 +204,10 @@ androidComponents.onVariants { variant ->
|
||||
|
||||
set.add(Pair(root.file("webroot/css/index.css").asFile, null))
|
||||
set.add(Pair(root.file("webroot/css/icons.css").asFile, null))
|
||||
set.add(Pair(root.file("webroot/css/fonts.css").asFile, null))
|
||||
set.add(Pair(root.file("webroot/css/error.css").asFile, null))
|
||||
|
||||
set.add(Pair(root.file("webroot/fonts/ProductSans-Italic.ttf").asFile, null))
|
||||
set.add(Pair(root.file("webroot/fonts/ProductSans-Regular.ttf").asFile, null))
|
||||
set.add(Pair(root.file("webroot/fonts/font.ttf").asFile, null))
|
||||
set.add(Pair(root.file("webroot/fonts/outfit.ttf").asFile, null))
|
||||
|
||||
set.add(Pair(root.file("webroot/assets/mark.svg").asFile, null))
|
||||
set.add(Pair(root.file("webroot/assets/tick.svg").asFile, null))
|
||||
|
||||
@@ -145,12 +145,11 @@ extract "$ZIPFILE" 'webroot/js/smallPage/theme.js' "$MODPATH/webroot/js/smallPag
|
||||
extract "$ZIPFILE" 'webroot/js/switcher/fontChanger.js' "$MODPATH/webroot/js/switcher" true
|
||||
|
||||
extract "$ZIPFILE" 'webroot/css/index.css' "$MODPATH/webroot/css" true
|
||||
extract "$ZIPFILE" 'webroot/css/fonts.css' "$MODPATH/webroot/css" true
|
||||
extract "$ZIPFILE" 'webroot/css/icons.css' "$MODPATH/webroot/css" true
|
||||
extract "$ZIPFILE" 'webroot/css/error.css' "$MODPATH/webroot/css" true
|
||||
|
||||
extract "$ZIPFILE" 'webroot/fonts/ProductSans-Italic.ttf' "$MODPATH/webroot/fonts" true
|
||||
extract "$ZIPFILE" 'webroot/fonts/ProductSans-Regular.ttf' "$MODPATH/webroot/fonts" true
|
||||
extract "$ZIPFILE" 'webroot/fonts/font.ttf' "$MODPATH/webroot/fonts" true
|
||||
extract "$ZIPFILE" 'webroot/fonts/outfit.css' "$MODPATH/webroot/fonts" true
|
||||
|
||||
for lang in en_US ja_JP pt_BR ro_RO ru_RU vi_VN zh_CN zh_TW; do
|
||||
extract "$ZIPFILE" "webroot/lang/${lang}.json" "$MODPATH/webroot/lang" true
|
||||
|
||||
@@ -1,9 +0,0 @@
|
||||
@font-face {
|
||||
font-family: "ProductSans Regular";
|
||||
src: url("../fonts/ProductSans-Regular.ttf");
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "ProductSans Italic";
|
||||
src: url("../fonts/ProductSans-Regular.ttf");
|
||||
}
|
||||
@@ -15,7 +15,7 @@
|
||||
/* Locked Color */
|
||||
--lock-desc: #c9c9c9;
|
||||
--lock: #fff;
|
||||
--font-family: 'ProductSans Regular', 'ProductSans Italic', sans-serif;
|
||||
--font-family: 'Outfit', sans-serif;
|
||||
}
|
||||
|
||||
* {
|
||||
@@ -365,7 +365,7 @@ input:checked + .slider:before {
|
||||
animation: openNav 0.15s;
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 600px) {
|
||||
@media (min-width:961px) {
|
||||
.navbar {
|
||||
background-color: var(--desktop-navbar);
|
||||
transform: scale(0.85);
|
||||
|
||||
Binary file not shown.
Binary file not shown.
BIN
webroot/fonts/font.ttf
Normal file
BIN
webroot/fonts/font.ttf
Normal file
Binary file not shown.
4
webroot/fonts/outfit.css
Normal file
4
webroot/fonts/outfit.css
Normal file
@@ -0,0 +1,4 @@
|
||||
@font-face {
|
||||
font-family: "Outfit";
|
||||
src: url("./font.ttf");
|
||||
}
|
||||
@@ -6,7 +6,7 @@
|
||||
<meta name="viewport" content="viewport-fit=cover" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
|
||||
<link rel="stylesheet" href="css/fonts.css">
|
||||
<link rel="stylesheet" href="fonts/outfit.css">
|
||||
<link rel="stylesheet" href="css/index.css">
|
||||
<link rel="stylesheet" href="css/error.css">
|
||||
<link rel="stylesheet" href="css/icons.css">
|
||||
|
||||
Reference in New Issue
Block a user