Here’s how to use layer styles and gradients to make text appear like real chocolate!
Create a new document and grab the Gradient tool (G). Create a brown background using a linear gradient. Then grab the Type tool (T) and choose a dark brown colour and type your text.
Go to Layer>Layer Style>Style Settings and check Bevel, setting Size to 30px, Lighting Angle 120 and Direction to Up. Tick Stroke, changing the Size to 25px. Choose a light brown colour.
Duplicate and keep the text layer selected. Go to Layer>New Fill Layer>Pattern, and click OK. On the Pattern Fill window choose the Waffle Pattern, setting scale to 300%.
Simplify the Pattern Fill layer. Go to Filter>Stylize>Emboss. Set the Angle to -60, Height to 10 and Amount to 300. Press Cmd/Ctrl+Shift+U to remove the colour and change the blend mode to Multiply.