Support @theme reference without @import
#13222
Merged
@theme reference without @import
#13222