Anki add-on: Deck Colors

An add-on for Anki that allows you to color deck names in the main browser for better visual organization. 🎨 Features Intuitive graphical interface with dropdown menu for deck selection Visual color selection via integrated color picker Real-time preview to instantly see the result Simple color management with apply/remove buttons Compatible with Anki 25.02.6 and later 📦 Installation Download the file deck_colors.ankiaddon Open Anki Go to Tools → Add-ons Click Install from file Select the file deck_colors.ankiaddon Restart Anki 🚀 How to use Open the configuration: Go to Tools → "Deck Colors..." Select a deck from the dropdown menu Choose colors: Click Choose background color for the background Click Choose text color for the text Check the real-time preview Apply: Click Apply Colors Result: The colors will immediately appear in the deck browser! 🛠️ Functionality Main interface Deck dropdown menu: Automatically lists all available decks Color buttons: Directly open the system color picker Live preview: Instant visualization of the result Color management: Easily apply or remove colors Other functions Refresh Deck List: If you added new decks Remove Colors: Reset a deck’s custom colors Auto-refresh: Browser updates automatically after every change 🔧 Advanced configuration You can also configure colors manually: Go to Tools → Add-ons Select Deck Colors Click Config Edit the JSON: { "colors": { "Your deck name": { "bg": "#ff6b6b", "fg": "#ffffff" }, "Another deck": { "bg": "#4ecdc4", "fg": "#000000" } } } 🎯 Color examples Color Hex Code Recommended use Red #ff6b6b Urgent/important decks Green #51cf66 Completed decks Blue #74c0fc Decks in progress Orange #ffa94d Decks to review Purple #b197fc Theory decks 📋 Requirements Anki: 25.02.6 or higher Operating system: Windows, macOS, Linux Python: 3.9+ (included in Anki) 🐛 Troubleshooting The menu doesn’t appear Make sure the add-on is installed and enabled Fully restart Anki Colors don’t apply Check that the deck name is exact (case-sensitive) Try reloading the deck browser (F5) Compatibility issues This add-on was tested on Anki 25.02.6 For earlier versions, modifications may be required 📝 Changelog v1.0.0 Complete graphical interface with dropdown menu Color selection via color picker Real-time preview Compatibility with Anki 25.02.6 Robust configuration system 🤝 Contributing Feedback and contributions are welcome! If you encounter issues or have suggestions for improvements, open an issue in the repository. 📄 License This project is distributed under the MIT License. See the LICENSE file for details.