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

Guidelines for changing some basic features #46

Closed
kerim opened this issue Mar 27, 2022 · 2 comments
Closed

Guidelines for changing some basic features #46

kerim opened this issue Mar 27, 2022 · 2 comments
Labels
documentation Improvements or additions to documentation good first issue Good for newcomers help wanted Extra attention is needed

Comments

@kerim
Copy link

kerim commented Mar 27, 2022

Could you add a "how to" for those who would like to tweak some basic settings, such as the default colors for URL links and [[links]], as well as underlining tasks, font size, etc.?

@kerim
Copy link
Author

kerim commented Mar 27, 2022

Perhaps related, but I'd like to have a choice of color schemes for the dark mode. Right now everything is blue, but I'd like to have it be either green or orange... it might be nice to just be able to choose a basic color scheme without having to choose each color individually...

@pengx17 pengx17 added documentation Improvements or additions to documentation help wanted Extra attention is needed good first issue Good for newcomers labels Mar 28, 2022
@pengx17
Copy link
Owner

pengx17 commented Mar 28, 2022

Here is an example of how to override the default colors:

.white-theme, .dark-theme {
  --ls-link-ref-text-color: red; /* Link colors */
  --ct-highlight-color: red; /* Highlight underline color */
}

A full list of the colors for reference:
https://github.com/pengx17/logseq-dev-theme/blob/main/custom.css#L1203-L1244

Note: due to layout issues (calculating threading offset etc), I do not have a "perfect" solution to changing font size. But you may refer to #33 (comment).

@pengx17 pengx17 closed this as completed Apr 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants