refactored theme names
This commit is contained in:
parent
0f05216ab2
commit
6f5678c38f
@ -13,8 +13,10 @@
|
||||
<div class="theme-dropdown">
|
||||
<label for="theme-select"> </label>
|
||||
<select id="theme-select">
|
||||
<option value="usd">Dark</option>
|
||||
<option value="ars">wip</option>
|
||||
<option value="Dark">Dark</option>
|
||||
<option value="Lava">Lava</option>
|
||||
<option value="Midnight">Midnight</option>
|
||||
<option value="Solar">Solar</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="currency-dropdown">
|
||||
|
@ -35,7 +35,13 @@ class MainActivity : AppCompatActivity() {
|
||||
}
|
||||
|
||||
val assetManager = assets
|
||||
val scriptFiles = listOf("scripts/viewBitcoinPrice.js", "scripts/viewFiatToSats.js", "scripts/selectCurrency.js", "scripts/calcSatsToFiat.js")
|
||||
val scriptFiles = listOf(
|
||||
"scripts/selectTheme.js",
|
||||
"scripts/viewBitcoinPrice.js",
|
||||
"scripts/viewFiatToSats.js",
|
||||
"scripts/selectCurrency.js",
|
||||
"scripts/calcSatsToFiat.js"
|
||||
)
|
||||
|
||||
val scriptContents = scriptFiles.map { fileName ->
|
||||
try {
|
||||
@ -46,7 +52,17 @@ class MainActivity : AppCompatActivity() {
|
||||
}
|
||||
}
|
||||
|
||||
val cssFiles = listOf("themes/themeDark.css", /*"themes/themeMidnight.css", "themes/themeLava.css", "themes/themeSolar.css",*/ "styles/settings.css", "styles/bitcoinPrice.css","styles/exchange.css", "styles/fiatToSats.css", "styles/satsToFiat.css") // List of your CSS files
|
||||
val cssFiles = listOf(
|
||||
"themes/Dark.css",
|
||||
/*"themes/Midnight.css",
|
||||
"themes/Lava.css",
|
||||
"themes/Solar.css",*/
|
||||
"styles/settings.css",
|
||||
"styles/bitcoinPrice.css",
|
||||
"styles/exchange.css",
|
||||
"styles/fiatToSats.css",
|
||||
"styles/satsToFiat.css"
|
||||
) // List of your CSS files
|
||||
|
||||
val cssCode = cssFiles.joinToString("\n") { fileName ->
|
||||
try {
|
||||
|
Loading…
Reference in New Issue
Block a user