Obsidian-Daily-Notes-Editor icon indicating copy to clipboard operation
Obsidian-Daily-Notes-Editor copied to clipboard

Allow for unicoloured icon / allow for disabling icon

Open kithairon opened this issue 3 years ago • 3 comments

Feature Requested

Greatly useful plug-in! Thank you. Was hoping for something like that for a while. My only little nag: the colourful icon stands out in the ribbon. Any chance that this could be made to blend in more? Or disabled? What you see in the screenshots is the Minimal theme. (The effect is no less garish in the default theme). Thanks fo r your efforts.

Relevant Screenshot

screenshot

light

Checklist

  • [X] The feature would be useful to more users than just me.

kithairon avatar Dec 05 '22 21:12 kithairon

I join the request to add the ability to make the icon the same color as the rest. I couldn't do it myself through css.

ThunderWeed avatar Jan 19 '23 05:01 ThunderWeed

Here's what I did to help this plugin work better with the theme I'm using (Prism). It's mostly reverting to defaults so should work with most themes.

  1. Create a file (eg. daily-notes-editor.css) in [vault]/.obsidian/snippets
  2. Add the following code to the file:
.daily-note-title {
  color: unset !important;
}
.daily-note-title:hover {
  background-color: unset !important;
}
.svg-icon.daily-note svg path {
  stroke: var(--icon-color) !important;
}
.svg-icon.daily-note svg g path {
  fill: var(--icon-color) !important;
  stroke: var(--ribbon-background) !important;
  stroke-width: var(--icon-l-stroke-width) !important;
}
  1. Turn on the snippet in Settings > Appearance.

CleanShot 2023-02-08 at 17 11 43@2x

sbc avatar Feb 08 '23 23:02 sbc

@sbc Thanks for this! Works wonderfully and solves my issue. Appreciate your css snippet and your posting of it.

kithairon avatar Feb 10 '23 05:02 kithairon