primary-theme / obsidian

Comfy, playful but productive theme for Obsidian. "Primary instantly puts you in a relaxed state that opens the door to creativity and exploration. Wonderfully executed down to the smallest details,"
GNU General Public License v3.0
1.08k stars 46 forks source link

Style Settings: Callout Styles + Color Customization #219

Open ceciliamay opened 4 months ago

ceciliamay commented 4 months ago

Primary Theme Version

v.2.8.0

Debug Info

N/A

Describe the enhancement

offer different styling options for callouts

customization options:

primary flat design:

Image

Image

.callout {
    box-shadow: none;
}

.theme-light .callout {
    outline: 1px solid color-mix(in srgb, rgb(var(--callout-color), 0.35) 90%, black);
}

.theme-dark .callout {
    outline: 1px solid color-mix(in srgb, rgb(var(--callout-color), 0.35) 90%, white);
}

.callout-title {
    box-shadow: none;
}

.callout-content {
    box-shadow: none;
}
ttodosi commented 4 months ago

I didn't see it in the docs but on the main page - it shows this but I'm not sure where to put the code for color or icon image

ceciliamay commented 1 month ago

Folks also like the doc's version, or something similar to Obsidian's original callout styling. Consider adding them as options. See #254

ceciliamay commented 1 month ago

done with implementation. i will just have to add customization to style settings tomorrow.

ceciliamay commented 1 month ago

done with implementing callout styling options. just have to add color customization, which is after implementing some custom callouts.