kelszo / obsidian-file-explorer-plus

A plugin for https://obsidian.md, which enables the ability to hide and pin specific files and folders in the file explorer by applying custom filters.
GNU Affero General Public License v3.0
60 stars 3 forks source link

Prettier Pin icon style #6

Closed AlanSherba closed 10 months ago

AlanSherba commented 11 months ago

TLDR

Before / After: image image

Context

I really like this plugin, but the pin icon style drove me a bit mad.

This pr is UNTESTED. I think the styles are right, but I personally don't know how to test an obsidian plugin 😂 I originally did this as a css snippet:

.pin-icon {
    width: 16px;
    height: 16px;
    align-self: center;
    scale: .75;
    rotate: 45deg;
    opacity: 0.7;
}

.lucide-pin {
    fill: hsl(var(--accent-h), var(--accent-s), var(--accent-l));
    stroke: hsl(var(--accent-h), var(--accent-s), var(--accent-l));
}
AlanSherba commented 11 months ago

What it looks like without fill: image

kelszo commented 10 months ago

I think this looks really good! And much better aligned with the text.

The non-filled style fits the general Obsidian theme a little better, don't you think? Should we use the non-filled version?

AlanSherba commented 10 months ago

fixed

kelszo commented 10 months ago

Released in version 1.1.4!