I’ll describe how I do it on my openSuse Tumbleweed Linux system … and I will demonstrate configuring the Nightly channel build of Brave (works for Dev and Release) - I mention this because you will see directory paths with “nightly” in them.
Obviously, if you’re using Mac or Windows, you’ll have to adjust the paths accordingly.
On my Linux system, configuration sub-directories and files for various apps are under the user’s “home” / “.config” sub-directory. For example
calder@ren:~/.config> pwd
/home/calder/.config
Within this sub-directory is Brave’s top level subdir, BraveSoftware. So if you have multiple channels installed (Release, Nightly, Dev), there will be a corresponding subdir for each, under BraveSoftware.
calder@ren:~/.config> cd BraveSoftware/
calder@ren:~/.config/BraveSoftware> ls -1
Brave-Browser-Dev
Brave-Browser-Nightly
Now let’s quickly find the file we want (searching for “manifest.json”)
calder@ren:~/.config/BraveSoftware/Brave-Browser-Nightly> find . -name manifest.json
./Default/Extensions/inomeogfingihgjfjlpeplalcfajhgai/1.5_0/manifest.json
./Default/Extensions/cmhmcmgkegfffbbfobhjpdbimgmoohap/2_0/manifest.json
./gccbbckogglekeggclmmekihdgdpdgoe/1.0.182/manifest.json
./CertificateRevocation/6192/manifest.json
./FileTypePolicies/43/manifest.json
./oofiananboodjbbmdelgdommihjbkfag/1.0.18/manifest.json
./cffkpbalmllkdoenhmdmpbkajipdjfam/1.0.735/manifest.json
./jicbkmdloagakknpihibphagfckhjdih/1.0.15/manifest.json
./afalakplffnnnlkncjhbmahjfjhmlkal/1.0.32/manifest.json
./kkjipiepeooghlclkedllogndmohhnhi/1.0.8/manifest.json
./emgmepnebbddgnkhfmhdhmjifkglkamo/1.0.8/manifest.json
./Profile 1/Extensions/inomeogfingihgjfjlpeplalcfajhgai/1.5_0/manifest.json
We can see there are quite a few *.json files. The one we want will be under the Extensions path. But then you say, "hey, I see two under Default and one under the Profile 1 path.
So we could actually execute a more narrow search, like (so we don’t have to deal with so many *.json file entries)
calder@ren:~/.config/BraveSoftware/Brave-Browser-Nightly> find ./Default -name manifest.json
./Default/Extensions/inomeogfingihgjfjlpeplalcfajhgai/1.5_0/manifest.json
./Default/Extensions/cmhmcmgkegfffbbfobhjpdbimgmoohap/2_0/manifest.json
This is the point where I mentioned, "most people won’t want to do this type of configuration modification. Anyway, so that first Extension entry - that is related to the Chrome Remote Desktop extension, so I will not modify it.
When I open the second Extensions *.json file (the one that has 2_0 in the pathname) that is the extension, or more specifically, the Theme I’m using (which is “Slate” - a dark theme). So that is the *.json file I will open with my Kate editor
calder@ren:~/.config/BraveSoftware/Brave-Browser-Nightly> kate ./Default/Extensions/cmhmcmgkegfffbbfobhjpdbimgmoohap/2_0/manifest.json
So now I am going to navigate my cursor within the “colors” section and insert these two entries
"omnibox_background": [ 255, 255, 0 ],
"omnibox_text": [ 0, 0, 0 ],
I inserted (as new line entries) AFTER the “ntp_text” entry and before the “tab_background_text” entries (cause I like things in alphabetical order). BTW, those colors are black on yellow background. Here’s the complete *.json
Okay, we’re not done yet.
Be sure Brave is not running.
In your text editor, select Save file, then close your editor if you wish.
Now, fire up Brave … we have a couple steps to “register” the changes.
Go to the URL
brave://extensions/
Be sure the Developer Mode toggle is ON (it’s on the far right side).
Then click on the Load unpacked button.
Use your system’s File browser to navigate to the subdirectory where the *.json file lives (only select the subdirectory) … so using my File browser, i will navigate to
~/.config/BraveSoftware/Brave-Browser-Nightly/Default/Extensions/cmhmcmgkegfffbbfobhjpdbimgmoohap/2_0
and select it
Voilà !! Your omnibox is now colorized as you wish.