View Light

SSMS: Add Dark Theme

So SQL Server Management Studio has a Dark Theme included. But it's still not fully endorsed by Microsoft, so it's weirdly hidden.

The following PowerShell script will unlock the Dark Theme in SSMS 18.x. (Make sure and run PowerShell as an Administrator, or this won't work.)

powershell -Command "(gc 'C:\Program Files (x86)\Microsoft SQL Server Management Studio 18\Common7\IDE\ssms.pkgundef') -replace '\[\`$RootKey\`$\\Themes\\{1ded0138-47ce-435e-84ef-9ec1f439b749}\]', '//[`$RootKey`$\Themes\{1ded0138-47ce-435e-84ef-9ec1f439b749}]' | Out-File 'C:\Program Files (x86)\Microsoft SQL Server Management Studio 18\Common7\IDE\ssms.pkgundef'"

Then when that gets done, open up SSMS again, select Tools, Options, then Environment/General and now there's a "Dark" entry in the Color Theme list. Pick it, hit OK, and you're golden. (Well, not golden, more of a darker gray.)

Rating: (You must be logged in to vote)
Reply
This site contains copyrighted material the use of which has not always been specifically authorized by the copyright owner. We are making such material available in our efforts to advance understanding of environmental, political, human rights, economic, democracy, scientific, and social justice issues, etc. We believe this constitutes a 'fair use' of any such copyrighted material as provided for in section 107 of the US Copyright Law. In accordance with Title 17 U.S.C. Section 107, the material on this site is distributed without profit to those who have expressed a prior interest in receiving the included information for research and educational purposes. For more information go to: http://www.law.cornell.edu/uscode/17/107.shtml . If you wish to use copyrighted material from this site for purposes of your own that go beyond 'fair use', you must obtain permission from the copyright owner.