An Azure relational database service.
Hi @Kıvanç ÖZDEMİR,
You can try a solution that outlined here: https://www.mssqltips.com/sqlservertip/7218/dark-mode-ssms-configuration/
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Is there any official method to use Microsoft SQL Server Management Studio Studio with Dark Mode?
An Azure relational database service.
A Microsoft extension to the ANSI SQL language that includes procedural programming, local variables, and various support functions.
A family of Microsoft suites of integrated development tools for building applications for Windows, the web, mobile devices and many other platforms. Miscellaneous topics that do not fit into specific categories.
Additional SQL Server features and topics not covered by specific categories
Hi @Kıvanç ÖZDEMİR,
You can try a solution that outlined here: https://www.mssqltips.com/sqlservertip/7218/dark-mode-ssms-configuration/
Run this Python code as Administator.
SSMS 19 added, modify the path to your SSMS installation folder if need.
import pathlib
import re
def modify_file(source_path, target_path, pattern, replacement):
"""
Reads the content of source_path, replaces occurrences of pattern with replacement,
and writes the results back to target_path.
"""
# Ensure the source file exists before trying to read it
if source_path.exists():
content = source_path.read_text()
modified_content = re.sub(pattern, replacement, content)
target_path.write_text(modified_content)
print(f"Updated file: {target_path}")
else:
print(f"File not found: {source_path}")
# Define paths and pattern for replacement
paths_versions = {
16: ("C:\\Program Files (x86)\\Microsoft SQL Server\\130\\Tools\\Binn\\ManagementStudio\\ssms.pkgundef",
"C:\\Program Files (x86)\\Microsoft SQL Server\\140\\Tools\\Binn\\ManagementStudio\\ssms.pkgundef"),
17: ("C:\\Program Files (x86)\\Microsoft SQL Server\\140\\Tools\\Binn\\ManagementStudio\\ssms.pkgundef",
"C:\\Program Files (x86)\\Microsoft SQL Server\\140\\Tools\\Binn\\ManagementStudio\\ssms.pkgundef"),
18: ("C:\\Program Files (x86)\\Microsoft SQL Server Management Studio 18\\Common7\\IDE\\ssms.pkgundef",
"C:\\Program Files (x86)\\Microsoft SQL Server Management Studio 18\\Common7\\IDE\\ssms.pkgundef"),
19: ("C:\\Program Files (x86)\\Microsoft SQL Server Management Studio 19\\Common7\\IDE\\ssms.pkgundef",
"C:\\Program Files (x86)\\Microsoft SQL Server Management Studio 19\\Common7\\IDE\\ssms.pkgundef")
}
pattern = r'''\[\`\$RootKey\`\$\\Themes\\{1ded0138-47ce-435e-84ef-9ec1f439b749}\]'''
replacement = r'''//[`$RootKey`$\\Themes\{1ded0138-47ce-435e-84ef-9ec1f439b749}]'''
# Process each version
for version, (source, target) in paths_versions.items():
source_path = pathlib.Path(source)
target_path = pathlib.Path(target)
modify_file(source_path, target_path, pattern, replacement)
You might want to give SQL Shades a try - I've been using it a short time and its better than the old hacky solutions. https://www.sqlshades.com/
None of these solutions apply to SSMS v19+. You are on your own.
The world loves bright white light for some reason. Enjoy finding a way to obtain a Dark Mode in SSMS v19+.
In the past I have used the following:- Options
None of these solutions apply to SSMS v19+. You are on your own.
The world loves bright white light for some reason. Enjoy finding a way to obtain a Dark Mode in SSMS v19+.
In the past I have used the following:
Options
Environment
Fonts and Colors
You can experiment here and tame down the bright white light. Then after a while you WILL find something that works and be able to be productive. Maybe in the next 20 years, Dark Mode will catch on as users' eyes can't take it any longer!