Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Update Colored Sidebar Items.css #18

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

Conversation

seb3point0
Copy link

refactor: optimize and simplify CSS for colored sidebar items

  • Consolidated common styles for folder titles, hover states, and file titles into shared rules to reduce repetition.
  • Utilized CSS custom properties to dynamically apply colors based on folder prefixes.
  • Reduced redundant code by applying common indentation and hover effects globally.
  • Improved maintainability by centralizing color definitions and simplifying folder-specific rules.

refactor: optimize and simplify CSS for colored sidebar items

- Consolidated common styles for folder titles, hover states, and file titles into shared rules to reduce repetition.
- Utilized CSS custom properties to dynamically apply colors based on folder prefixes.
- Reduced redundant code by applying common indentation and hover effects globally.
- Improved maintainability by centralizing color definitions and simplifying folder-specific rules.
@h3xp
Copy link

h3xp commented Nov 2, 2024

god damnit I just wasted my time doing exactly this to my local copy 😄
came here to suggest this PR

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

Successfully merging this pull request may close these issues.

2 participants