diff --git a/database/migrations/2025_11_28_175733_add_link_colors_to_settings.php b/database/migrations/2025_11_28_175733_add_link_colors_to_settings.php index dcdfadcf1f..52fed67a5a 100644 --- a/database/migrations/2025_11_28_175733_add_link_colors_to_settings.php +++ b/database/migrations/2025_11_28_175733_add_link_colors_to_settings.php @@ -97,11 +97,7 @@ return new class extends Migration 'link_dark_color' => $link_dark_color, 'nav_link_color' => $nav_color, 'header_color' => $header_color]); - - DB::table('users')->whereNull('skin')->update([ - 'link_light_color' => $link_light_color, - 'link_dark_color' => $link_dark_color, - 'nav_link_color' => $nav_color]); + } } diff --git a/resources/lang/en-US/admin/settings/general.php b/resources/lang/en-US/admin/settings/general.php index ea8a93c9d6..a0673ffa0a 100644 --- a/resources/lang/en-US/admin/settings/general.php +++ b/resources/lang/en-US/admin/settings/general.php @@ -41,6 +41,9 @@ return [ 'backups_logged_out' => 'All existing users, including you, will be logged out once your restore is complete.', 'backups_large' => 'Very large backups may time out on the restore attempt and may still need to be run via command line. ', 'barcode_settings' => 'Barcode Settings', + 'color_preferences' => 'Color & Theme Settings', + 'color_settings_help' => 'These settings will be used throughout Snipe-IT. Users are able to override the link colors by editing their account preferences to meet their individual readability requirements.', + 'color_reset' => 'Reset to Default', 'confirm_purge' => 'Confirm Purge', 'confirm_purge_help' => 'Enter the text "DELETE" in the box below to purge your deleted records. This action cannot be undone and will PERMANENTLY delete all soft-deleted items and users. (You should make a backup first, just to be safe.)', 'custom_css' => 'Custom CSS', diff --git a/resources/lang/en-US/general.php b/resources/lang/en-US/general.php index 10527c8a85..37ac6eba5e 100644 --- a/resources/lang/en-US/general.php +++ b/resources/lang/en-US/general.php @@ -540,7 +540,8 @@ return [ 'light_mode' => 'Light Mode', 'dark_mode' => 'Dark Mode', 'light_dark' => 'Light/Dark Mode', - 'system_default' => 'Use System Default', + 'system_default' => 'Use System Settings', + 'system_default_help' => 'This will reset your light/dark mode preferences to use the defaults set in your computer operating system preferences.', 'theme' => 'Theme', 'error_user_company' => 'Checkout target company and asset company do not match', 'error_user_company_multiple' => 'One or more of the checkout target company and asset company do not match', diff --git a/resources/views/account/profile.blade.php b/resources/views/account/profile.blade.php index ac1606068b..20ed9e1d79 100755 --- a/resources/views/account/profile.blade.php +++ b/resources/views/account/profile.blade.php @@ -71,10 +71,15 @@
- + {{ trans('general.system_default') }}
+ ++ {{ trans('general.system_default_help') }} +
+