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

defaults preferences? #41

Open
resistor4u opened this issue Feb 6, 2024 · 3 comments
Open

defaults preferences? #41

resistor4u opened this issue Feb 6, 2024 · 3 comments

Comments

@resistor4u
Copy link

Thanks for your work on this project. I'm pulling in the most recent versions of goldmark and chroma and building glance from source and would like to experiment with changing the rendered appearance of markdown files and the output of the quicklook previews altogether---e.g., fontsize, font type, coloring, etc. Are there any defaults settings that handle this from the command line? Or if one wanted to tweak these settings, are these changes that have to be made in the go modules? Thanks!

@chamburr
Copy link
Owner

chamburr commented Feb 6, 2024

Hi resistor4u, these settings are not configurable from the command line. The changes need to be tweaked in the CSS files located here: https://github.com/chamburr/glance/tree/main/QLPlugin/Resources/shared.

@resistor4u
Copy link
Author

Great thanks! I've only messed with font size in shared-main.css so far, but I'm assuming all the values there can be changed without having to recompile? If this is right, it might make sense to notate that somewhere in the readme with a trivial example?

@chamburr
Copy link
Owner

chamburr commented Feb 7, 2024

Oh yeah they should work without recompiling. I don't think I want to include this in README since the changes don't persist across updates and reinstalls. Perhaps a feature we could work on is to read CSS files from some Library folder.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants