title: Is "theme" global object available in all files in Material-ui?
body: <p>I have been following <a href="https://www.youtube.com/watch?v=k_AN49fA9g0&amp;list=PLQg6GaokU5CwiVmsZ0d_9Zsg_DnIP_xwr&amp;index=3" rel="nofollow noreferrer">Material-UI</a> tutorial to learn Material-UI. At 9:25 it passes &quot;theme&quot; to makeStyles function. My question is &quot;How is theme object's values are available there just so? such that they can be accessed in the subsequent body like theme.breakpoints.down(&quot;sm&quot;) for example.That &quot;theme&quot; is not defined so far in the file.  I tried reading the documentation and it mentions nothing about it quite right. <a href="https://material-ui.com/styles/api/#makestyles-styles-options-hook" rel="nofollow noreferrer">makestyles documentation</a>.Can somebody explain to me what is happening there?</p>