GithubHelp home page GithubHelp logo

ecustic / obsidian-file-color Goto Github PK

View Code? Open in Web Editor NEW
115.0 115.0 7.0 650 KB

An Obsidian plugin for setting colors on folders and files in the file tree.

License: MIT License

JavaScript 9.74% TypeScript 83.40% CSS 6.86%

obsidian-file-color's People

Contributors

eblanshey avatar ecustic avatar polyipseity avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

obsidian-file-color's Issues

Plugin not working with MAKE.md

Hi.

I hope this is the right place for this, and if not then I apologize in advance.

I would love if this plugin could work while I have MAKE.md activated as well. As it is right now, at least for me, I can select the color for a file or folder, but unless I disable MAKE.md I can't see any form of color-coding.

Thank you so much in advance.

Tanjamuse

[Bug report] some functions are not working on iPhone iOS

Hi!
I installed your plugin on my iPhone recently and noticed that “color background” and “cascade color” aren’t working. If I switch back to color just titles it works ( but not cascade). I tried switching on and off some other plugins and themes but it didn’t have any affect.
I’ve been using it on my iPad and everything worked perfectly.
Hope you can fix it, I really miss those functions, they are very useful.
My iOS version is 16.1.2 (iPhone SE)
Obsidian version 1.6.5 (147)

File Color Settings Revert when Opened on Other Computers

For clarification:

  • I am using Obsidian sync
  • For some reason opening the vault on another computer reverts the settings to an early version I had with less categories and removes the cascade and outline toggles
  • I have it syncing plugin settings and this is the only plugin I can see that has this issue

Love this plugin otherwise

FR: Apply color to multiple items at once

Feature Request:
When multi-selecting notes, you cannot apply a file color

Expected result:
Able to multi-select notes and apply the same file color to all selected items or folders

image

Applying Color Style Shifts Text

When applying a color style to indented (1 tab) text in a file I noticed the text shifts to the left. This pulls the text out of alignment with the text above which has no color style applied.

-Tim C.

Separate colors for Light and Dark mode

It's difficult to find a single color that looks good in both Light and Dark mode. Opting for a middle ground often results in it appearing unattractive in either mode. Ideally, use basic white and black colors with slight adjustments, similar to how Background mode currently operates.

FR: styling of the tabs & color inheritance

Great plugin, however i thing two features are missing:

  1. the color is not applied to the filename/icon on the tabs
  2. it'd be nice if color set on folder was applied to the files/folders inside it

Hotkey to colorize current file

Hi.

I would love an option for an hotkey to colorize the currrent file. Or better yet for colors to be inherited from the folder they're in.

thank you so much in advance.

[FR] Hotkey Shortcut

I would love it if you add a hotkey shortcut to coloring a file name like "ctrl + alt + c" to bring up the file color plugin window for current file selected.

Apply Color to Same File in Bookmarks

Can you make it work for the bookmarks tab now too?

This tab used to be the starred tab but recent obsidian changed it to bookmarks. The same file has no right click context menu and doesn't change color inside the bookmarks list.

Obsidian 1.2.7 - colors are not applied

Something have been changed with the recent update of Obsidian.

File color plugin is still shown in context menus and the color selection dialog remembers the color selected for a file/folder. But the color is not applied to file/folder names.

Error in the console:
image

Related issue with Icon Folder extension: FlorianWoelki/obsidian-iconize#170

Import from text file option

Could you consider providing a "Import from text file" option, something like this format, space separated, one colour per line?:

#ffffff Black
#ff0000 Red
#0000ff Blue
#00ff00 Green
... etc

I think that for many power users it would be easier than working through the UX, trying to guess at colours using the sliders. You could prepare a list beforehand based on the umpteen colour palette sites and then simply import it when ready.
Plus it would allow you to keep a back-up of the colours you use or even share them with others.
Export into the same format would be the icing on the cake... but not as vital!

translation to Chinese

hi, this plugin is quite useful. May I translate to Chinese and submit to you? So as to introduce this to more people. If convenient could you pls add one shift button, which is to different language?? Tks.

Stopped working since Obsidian 1.2.7

File Color stopped working since my Obsidian app instance was updated to 1.2.7

I have already tried the following:

  1. Updated all plugins, including File-color
  2. Disabled and re-enabled the plugin
  3. Restarted Obsidian
  4. Uninstalled and re-installed the plugin

Does anyone have any advice on how to get the colors back?"

Thx

Sync breaks between desktop and mobile

Obsidian Sync automatically attempts to synchronize plugin versions. 1.0.3 only works on desktop versions of Obsidian, while 1.0.2 only works on mobile.

This means Obsidian File Color can only work on either desktop or mobile in a synced vault, but not both.

Disabling Sync for installed community plugins prevents this, but there is currently no way to disable sync for only a single plugin.

File Color plugin appears broken in Ver 1.2.1

I have just updated Obsidian (or rather the auto-update did this for me) to version 1.2.1 and the File Color plugin is no longer working. None of my files are showing any colour (all files are just black) and if I go to apply a colour using the active plugin...nothing visibly happens.

FR: Option to apply to folder backgroud instead of text.

I am really excited for this plugin because I hate maintaining a bunch of CSS snippets. I'd love to also be able to cover the background or the text (or perhaps both?). I think it would make sense to choose via style settings maybe?

feel free to close this if it's out of scope

dynamically set color

hi. Cool plugin.
Would be nice to be able to set the color based on a regex rule applied to the note's name.
i.e

all notes containing "-R-" in the file name would be blue
all notes containing "-N-" in the file name would be pink
...

Feature Request:

Is it easily possible to include an option to automatically color the according nodes in the graph-view?

[bug/feature request] - when using cascading colors, selected file is unreadable

When i have the cascading file colors option selected,
the selected file is unreadable and not using my general selected file color.

Would be nice to have a feature where it doesn't override the 'selected file' color.

Images below show the example.
The second image shows my 'selected file' color from the general theme.
image

image

Cheers

Incomplete file colors after sync

I am currently using obsidian sync service. I sync my vault wiith my PC (Windows 11) and my iPhone. I tried everything to get file-color plugin to properly sync my colors but it fails to sync some of the files' colors. My settings for obsidian sync allows plugins to sync too.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.