New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Infinity #216
Comments
Seems like there is a 0.1.0 port, which might help with the 0.2.0 version: |
does anybody knows any method how to convert the java negative integer values back to hex? |
@skinatro if you have: {
"bottomAppBarBackgroundColor": -14803410
} In JS, you could do: console.log("#" + (0xFFFFFF & -14803410).toString(16))
// #1e1e2e A total conversion function in TS/JS: #!/usr/bin/env deno run
const androidToHex = (androidColor) => {
return "#" + (0xFFFFFF & androidColor).toString(16)
}
const hexToAndroid = (hexColor) => {
const x = parseInt(hexColor.replace("#", ""), 16) - 0x1000000
return x
}
let a = androidToHex(-14803410)
let h = hexToAndroid("#1e1e2e")
console.log(a, h)
// -> #1e1e2e -14803410 |
I have a port for this app. |
@Xurdejl that is simply lovely! Thanks for your port, let me invite you to the org. Glad to see |
I've been test-driving each theme for a couple minutes now. I can't spot anything out of the ordinary. I def. approve this one. It's great! c: Edit: nvm.. I don't know why this is highlighted like this, but it's kinda unreadable.. o: |
thanks a lot, will be useful for other android themes as well |
Oh, I missed that one. |
@Xurdejl will you transfer the repo to |
Thanks for transferring it! 馃帀 |
One tiny thing: We want the repo name to be the simplest version of the app, right? So I'd advocate for renaming it to just 禄Infinity芦? c: |
Yeah, I was kinda wondering about that, could it clash with anything else named |
Likely, but that could potentially be the case for a lot of repos, no? |
@Xurdejl I'll rename it to infinity, tweak the links in your README, and add it to the main repository. |
Are you available to help in the creation of this port? 馃槃 (optional)
No
Additional context 馃摲 (optional)
Infinity is an alternative reddit client for android with support of creating themes and importing/exporting them as JSON files.
The text was updated successfully, but these errors were encountered: