Skip to content
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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support user provided card themes #20

Open
Tomin1 opened this issue Aug 23, 2024 · 0 comments
Open

Support user provided card themes #20

Tomin1 opened this issue Aug 23, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@Tomin1
Copy link
Owner

Tomin1 commented Aug 23, 2024

Currently Patience Deck supports only one set of card themes, all derived from Anglo theme in GNOME Aisleriot. However Aisleriot provides many more card themes that could be used and some users might also want to create their own it would be nice to be able to utilize those. Since it's not always clear if cards can render properly with QtSvg and adding many more styles would be UI design challenge, I think a good middle ground would be to support user provided card themes. Basically user could put their card theme to ~/.local/share/site.tomin.apps/PatienceDeck and then the UI can display an option to select a file from that directory which would open file listing. This would also allow testing different card graphics for future inclusion.

Patience Deck has one limitation for card decks that Aisleriot doesn't have: the cards must be in hard-coded aspect ratio. This could be improved so that aspect ratio is calculated from the SVG file, although it could be a challenge for table layout calculations but as long as the built-in theme works well that should be fine.

@Tomin1 Tomin1 added the enhancement New feature or request label Aug 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant