-
-
Notifications
You must be signed in to change notification settings - Fork 2
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
File Diff Colour #1
Comments
Thank you very much for your kind words! I released a new update with which you can easily update the colors. To do this, you need to follow these steps:
@media (prefers-color-scheme: light) {
.file-diff__top-line__bg {
background-color: #d9f4ef;
}
.file-diff__bottom-line__bg {
background-color: #d9edff;
}
}
@media (prefers-color-scheme: dark) {
.file-diff__top-line__bg {
background-color: #25403b;
}
.file-diff__bottom-line__bg {
background-color: #25394b;
}
}
|
Absolutely fantastic and I discovered it works in real time as I type, so it basically a track changes that is very simple and useful to use. Thanks so much! |
I was able do what I wanted with this snippet. Is it OK? @media (prefers-color-scheme: light) {
} |
File diff is fabulous; I can see it being one of those essential plugins. (Previously, I was comparing files outside of Obsidian.) A minor question: is there any way to adjust the colour of the changes. I tend to work in a dark theme and blue is washed out.
The text was updated successfully, but these errors were encountered: