Shader Graph on UI Text elements?

I’m creating a 2D isometric 1-bit styled game. I’ve made all the sprites in the game in black and white.

I have made a Shader Graph shader that replaces colors. It changes white to gray(ish), and black to brown. Players should be able to customise the colors to replicate old CRT-monitors, so I want to use the shader on every object in the game. So far it works very well on sprites, but I’m having trouble with using the shader for text.

When I add the shader to a Text UI object, I expected white text to become the gray-ish color that I set in the shader, but for some reason it becomes the (other) brown color. When I change the text color to black, I expected it to become brown, but it just stays black.

Any ideas why my shader doesn’t work as expected on text elements?

Based on UI Text Shine Effect , creating shader for UI text requires (1) duplicating the default UI shader code then (2) modifying the script to achieve the desired effect. I think this process is not doable in shader graph but by manual shader scripting.

So you know for the future, the 2D forum isn’t related to UI, UI is implemented by a different team. The UI forum is here. The Shader Graph forum is here.