-
Notifications
You must be signed in to change notification settings - Fork 6
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
Add styling for new callout feature #40
Comments
I've done this as a starter, but maybe you can prettify it a bit more! .theme-light .callout {
--callout-color: 207, 207, 207 !important;
background-color: #ffffff !important;
border: 1px solid rgb(207, 207, 207);
}
.theme-light .callout .callout-title .callout-icon {
color: #2E3338;
}
.theme-dark .callout {
--callout-color: 51, 51, 51 !important;
background-color: transparent !important;
border: 1px solid rgb(51, 51, 51);
}
.theme-dark .callout .callout-title .callout-icon {
color: #DCDDDE;
} |
Hi Laura, thanks for your suggestion, it's very exciting that callouts have reached public access! I won't be using your code for a few reasons:
I'm quite enjoying callouts so rest assured I'll be thinking about this |
Ha! I didn't even know you could override !Important with another !important. But that way madness lies... :). No worries, just something I threw together quickly to solve the eyesore for me for now. I'm sure based on what I've seen of your work you can come up with an idea that looks better than I did - glad it's on your to do list somewhere! |
v0.14.0 (currently in beta) offers callout boxes (https://help.obsidian.md/How+to/Use+callouts). It would be brilliant if you could support these to look stylish and at home in Typomagical! Black and white? Not so modern-looking?
The text was updated successfully, but these errors were encountered: