Skip to content

Make the most out of your pixels with this compact, functional Zotero theme.

Notifications You must be signed in to change notification settings

huachuman/Zotero-Redline-theme

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 

Repository files navigation

Zotero Redline (functional Zotero theme)

Make the most out of your pixels with this compact, functional Zotero theme.

Currently designed for dark mode.

The Zotero dev team seems to have a knack for making decisions that leave us mere mortals questioning their divine wisdom. They assure us that they've put more thought into these choices than a philosopher contemplating the meaning of life, yet we can't help but wonder if they've become a bit too enamored with their own brilliance. It's as if they've gazed into the future and determined what's best for us, even if it doesn't quite align with our puny human desires. But who are we to argue with the masterminds behind the software we've grown to love and depend on?

Sometimes, the best path forward is the one we create for ourselves, even if it means going against the grain of their mysterious ways.

That's where this project comes in. I want to give users more control over their Zotero experience, even if it means going against the Zotero dev team's vision. This theme is an example of how you can customize your Zotero interface and make it work for you. It's far from perfect, and may have some bugs or need tweaks to fit your needs. If you have any ideas or run into any issues, let me know. I'm here to help and make this theme better together.

Beware, the Zotero team isn't too keen on you tinkering with things like this. They think you'll get lost in the code, forget what you've done, and end up in a state of utter confusion. While that might be a valid concern for some, fear not, my intrepid friend. Modding the userChrome.css is stupid-proof. If you find yourself in over your head or decide that this isn't your cup of tea, no worries. Simply remove the userchrome file from your profile\chrome folder, and voila! You'll be back to the default setup faster than you can say "I should have listened to the Zotero team."

Features:

  • generally reduced wasted space
  • item hover and select effects
    • slight text zoom
    • darker background
    • red background for selected
  • expanded quick search box
  • shorter menu and toolbars
  • wider tabs
  • grow + zoom text on tabs on hover
  • smooth transition effects
  • allow narrower left + right panels
  • compact collections pane
  • fade collections pane when not focused
  • truncated text cell shade (instead of ellipses)
  • Archivo Narrow font for compact text display
  • more to come

Note: keep in mind you can adjust font size in Zotero's View menu

Installation

Go to your user Profile folder

Windows users: C:\Users\User_name\AppData\Roaming\Zotero\Zotero\Profiles\user_profile.default\

Linux (Flatpak) users: ~/.zotero/zotero/XXXXXXXX.default/

Create a chrome folder

Place the userChrome.css file in there

Start Zotero and enjoy

Reversing the changes: simply delete the file.

Modding Zotero:

If you want further customization, you can do two things. Explore Zotero's many css files, or use the DevTools Element Picker. I recommend you start with the Element Picker.

1. Tinkering with the DevTools Element Picker

These are the steps for Windows. If someone knows the steps for other platofrms please let me know.

  1. Create a new shortcut wherever you like in your files (right click > new > shortcut)

Copy paste this: "C:\Program Files\Zotero\zotero.exe" -ZoteroDebugText -jsdebugger - You may have to adjust the path for your installation.

  1. Save it and launch the shortcut.

  2. Zotero with throw a warning or two up, just say ok and let it load. You'll see the DevTools window appear along with Zotero now.

Note that some elements are harder to style than others.

If you're new to the element picker, you'll find it at the top left image. Click that and hover over the Zotero interface and you'll see in the Inspector window it will highlight the item's css. Click on an item in the Zotero interface to hold it steady in the Inspector. You can play with the css on the right panel here, under "Rules," and get the selectors for modding by copying the text above the properties (usually starts with a '.' or a '#'. You can also get them from the Inspector window by copying the class or id. You can test modifications by editing the css directly in the Rules window, but these will disappear on restart. Paste your selector and any modifications into the userChrome.css, save and restart Zotero to see what it looks like!

2. Exploring the open source Zotero CSS codebase

Browse the files in https://github.com/zotero/zotero/tree/main/scss

Or clone/download the code and browse this folder offline

Look at different pieces of code you'd like to adjust in your userChrome.css file.

About

Make the most out of your pixels with this compact, functional Zotero theme.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages