Ok Artem, I'll clarify more...
Important:
You are considering Theme with Grixbox plugins only. But the theme is used in any other Joomla component. I think you have to take that into account.
When the alignment is "inherit" it doesn't mean that it will use the browser's default alignment, but that it will take the alignment of the parent element. As the theme's config "forces" the alignment globally, any element that
does not user the gridbox is also impacted and this is no longer possible.
What I'm trying to tell you is that if global alignment is optional, I can just set it in the plugin if needed. And it will no longer impact other components.
See this example:
It has a component that defines the right alignment for the inner elements. But as the Gridbox Theme "forces" the alignment in the <h1, h2..., p> tags, I have to adjust the css to correct the alignment.
<div style="text-align: right"> //Has no effect
<h1>aligned text as defined in the gridbox theme</h1>
<p>aligned text as defined in the gridbox theme</p>
<p>aligned text as defined in the gridbox theme</p>
<p>aligned text as defined in the gridbox theme</p>
</div>
That way I have to tweak them all in the code or create a css for it.
<div>
<h1 style="text-align: right">right-aligned text</h1>
<p style="text-align: right">right-aligned text</p>
<p style="text-align: right">right-aligned text</p>
<p style="text-align: right">right-aligned text</p>
</div>
See, by default the Gridbox Theme aligns the (h1, h2...) in the center. I usually align to the left, as it is more common in blogs, news, etc... I believe that many people do this. In that case, it would be enough to leave
inherit and define only when necessary.
What needs to be clear is that any settings defined in the Theme will have a
Global effect (including other components or frameworks).
I just think "alignment" should be optional as in frameworks (material, bootstrap...)
I have several other examples, but it would be too long here, and my purpose is just to leave a suggestion that would help to use the Theme with other components and frameworks...
Believe me, "Inherit" would be the most used format
Regards,
Ivo Junior