Okay, the problem was that I hadn't placed statement `anisha.theme` inside any QML object.
So, when I do:

Text { text: anisha.theme } , it works as expected.