Many people, not to say all, call "theory" the huge number of openings and their variants.
I do NOT call that a theory, it's just a great database of lines.
Would a database of thousands of English sentences be called a grammar ? No.
From Wiki: The Greek theoria (θεωρία), from which the English word "theory" (and theatre) is derived, meant "contemplation, speculation, a looking at, things looked at", from theorein (θεωρεῖν) "to consider, speculate, look at", from theoros (θεωρός) "spectator", from thea (θέα) "a view" + horan (ὁρᾶν) "to see". It expressed the state of being a spectator. Both Greek θεωρία and Latin contemplatioprimarily meant looking at things, whether with the eyes or with the mind.
Many people, not to say all, call "theory" the huge number of openings and their variants.
I do NOT call that a theory, it's just a great database of lines.
Would a database of thousands of English sentences be called a grammar ? No.