- Introduced a new service for scheduling-remote in docker-compose.yml, allowing for better management of scheduling functionalities. - Enhanced error handling in CameraMonitor and CameraStreamer classes to improve robustness during camera initialization and streaming processes. - Updated various components in the management dashboard to support dark mode and improve user experience with consistent styling. - Implemented feature flags for enabling/disabling modules, including the new scheduling module.
26 lines
945 B
Bash
26 lines
945 B
Bash
#!/bin/bash
|
|
# Helper script to add dark mode classes to components
|
|
# This is a reference - actual changes should be made manually for safety
|
|
|
|
echo "Patterns to apply for dark mode:"
|
|
echo ""
|
|
echo "1. Backgrounds:"
|
|
echo " bg-white -> bg-white dark:bg-gray-800"
|
|
echo " bg-gray-50 -> bg-gray-50 dark:bg-gray-900"
|
|
echo ""
|
|
echo "2. Text:"
|
|
echo " text-gray-900 -> text-gray-900 dark:text-white"
|
|
echo " text-gray-800 -> text-gray-800 dark:text-white/90"
|
|
echo " text-gray-700 -> text-gray-700 dark:text-gray-300"
|
|
echo " text-gray-600 -> text-gray-600 dark:text-gray-400"
|
|
echo " text-gray-500 -> text-gray-500 dark:text-gray-400"
|
|
echo ""
|
|
echo "3. Borders:"
|
|
echo " border-gray-200 -> border-gray-200 dark:border-gray-700"
|
|
echo " border-gray-300 -> border-gray-300 dark:border-gray-600"
|
|
echo ""
|
|
echo "4. Buttons/Inputs:"
|
|
echo " bg-blue-100 -> bg-blue-100 dark:bg-blue-900/20"
|
|
echo " text-blue-800 -> text-blue-800 dark:text-blue-300"
|
|
|