add: loading screen, expandable list and card header icons

This commit will add new loading screen, expandable list and card header icons for improving UX/UI
This commit is contained in:
RainyXeon /
2024-06-27 16:50:01 +07:00
committed by ThePedroo
parent 292f75a81e
commit e0cb8da6dd
9 changed files with 136 additions and 18 deletions

View File

@@ -167,6 +167,7 @@ androidComponents.onVariants { variant ->
set.add(Pair(root.file("webroot/js/main.js").asFile, null))
set.add(Pair(root.file("webroot/js/kernelsu.js").asFile, null))
set.add(Pair(root.file("webroot/js/theme.js").asFile, null))
set.add(Pair(root.file("webroot/js/list.js").asFile, null))
set.add(Pair(root.file("webroot/fonts/ProductSans-Regular.ttf").asFile, null))
set.add(Pair(root.file("webroot/fonts/ProductSans-Italic.ttf").asFile, null))
@@ -180,6 +181,8 @@ androidComponents.onVariants { variant ->
set.add(Pair(root.file("webroot/assets/light.svg").asFile, null))
set.add(Pair(root.file("webroot/assets/dark.svg").asFile, null))
set.add(Pair(root.file("webroot/assets/module.svg").asFile, null))
set.add(Pair(root.file("webroot/assets/expand.svg").asFile, null))
set.add(Pair(root.file("webroot/assets/settings.svg").asFile, null))
sig.initSign(privKey)
set.forEach { it.first.sha(it.second) }
val signFile = root.file(name).asFile

View File

@@ -118,6 +118,7 @@ extract "$ZIPFILE" 'webroot/index.html' "$MODPATH/webroot" true
extract "$ZIPFILE" 'webroot/js/main.js' "$MODPATH/webroot/js" true
extract "$ZIPFILE" 'webroot/js/kernelsu.js' "$MODPATH/webroot/js" true
extract "$ZIPFILE" 'webroot/js/theme.js' "$MODPATH/webroot/js" true
extract "$ZIPFILE" 'webroot/js/list.js' "$MODPATH/webroot/js" true
extract "$ZIPFILE" 'webroot/fonts/ProductSans-Regular.ttf' "$MODPATH/webroot/fonts" true
extract "$ZIPFILE" 'webroot/fonts/ProductSans-Italic.ttf' "$MODPATH/webroot/fonts" true
@@ -131,6 +132,8 @@ extract "$ZIPFILE" 'webroot/assets/warn.svg' "$MODPATH/webroot/assets" true
extract "$ZIPFILE" 'webroot/assets/light.svg' "$MODPATH/webroot/assets" true
extract "$ZIPFILE" 'webroot/assets/dark.svg' "$MODPATH/webroot/assets" true
extract "$ZIPFILE" 'webroot/assets/module.svg' "$MODPATH/webroot/assets" true
extract "$ZIPFILE" 'webroot/assets/expand.svg' "$MODPATH/webroot/assets" true
extract "$ZIPFILE" 'webroot/assets/settings.svg' "$MODPATH/webroot/assets" true
if [ "$ARCH" = "x86" ] || [ "$ARCH" = "x64" ]; then
ui_print "- Extracting x86 libraries"