[SIS-xxx] adding starboard customization to change color based on disk (semi hardcoded)

upgrading abstracto version
adding avatar to quote response
This commit is contained in:
Sheldan
2025-07-20 11:33:49 +02:00
parent f8353ca19b
commit b458d8d3a8
10 changed files with 111 additions and 10 deletions

View File

@@ -0,0 +1,15 @@
<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd">
<id>zip</id>
<includeBaseDirectory>false</includeBaseDirectory>
<formats>
<format>zip</format>
</formats>
<fileSets>
<fileSet>
<outputDirectory>.</outputDirectory>
<directory>${project.basedir}/src/main/resources</directory>
</fileSet>
</fileSets>
</assembly>

View File

@@ -0,0 +1,23 @@
"color" : {
<#if starCount gte 15>
"r": 192,
"g": 31,
"b": 1
<#elseif starCount gte 10>
"r": 67,
"g": 150,
"b": 154
<#elseif starCount gte 5>
"r": 212,
"g": 175,
"b": 55
<#elseif starCount gte 3>
"r": 49,
"g": 55,
"b": 61
<#else>
"r": 0,
"g": 0,
"b": 0
</#if>
},