Giter Club home page Giter Club logo

Comments (1)

chrisboyle avatar chrisboyle commented on July 19, 2024

Hi, thanks for your suggestion.

The app doesn't use CSS. It's built with Views, and I'm gradually looking at how to convert it to Compose. I'm still quite new to Compose but I don't think it provides an easy way to do dynamic runtime theming based on user preferences in the way you've described (even if you assume the user is comfortable editing JSON or whatever other syntax). The one exception I know of is the "Material You" feature which will, with OS assistance, match the UI colours (outside the game canvas) to the system wallpaper as per other apps.

That's not to say it couldn't be done, only that I will likely never have time to do it myself, and any third-party contribution to add it would have to be to a high standard of quality and not impede maintainability of the app too much.

(Note that colours within the main game canvas area are a separate issue, #20, which Simon is already working on upstream, so there's no point duplicating that part on Android.)

I think, realistically, I'll close this for now, at least until someone can point to either an MIT-licensed (not GPL/Apache) library that provides this for Compose with minimal effort, or until someone with the relevant experience proposes to implement it themselves.

from sgtpuzzles.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.