Skip to content
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

reduce size of snippet #14

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

xiwcx
Copy link

@xiwcx xiwcx commented Aug 29, 2024

no worries if explicit is better than clever, but just saw an opportunity to potentially make this:

  • easier to maintain
  • easier for the layperson to update.

tested and works on my computer at the least:

Screenshot 2024-08-28 at 18 12 47

var(--contrast-color)
);
}
.tree-item-children .nav-folder:has(.nav-folder-title[data-path^="00"]) {
.tree-item-children .nav-folder:has(.nav-folder-title) {
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you probably know the structure better than me, but the :has(.nav-folder-title) may not be necessary any longer

@Alextibtab
Copy link

Thanks this helped me have an easier time customising everything. I'm not sure if it was because I was applying this to the 2nd tier of folders as I have my vault split into 2 git submodules for work notes that are private and then other notes that are public but the --color variable was undefined for the child elements like the files inside folders but after putting it into claude it seemed to fix it by making child elements inherit the --color variable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants