jmu wrote:Why should I adjust the color in the CSS of the plugin? Is there a syntax to get the colorscheme of the template?
CMSimple stores the main content in one single HTM file. For this is one stylesheet.css defined. There are no plugins needed to run CMSimple. If a user decides to add some more functionality to the website using plugins for it, there is to be considered that the plugins mostly store their contents in their own external files. and these are only called into the content.htm by plugin functions. That's why they need their own stylesheets.
There would be ofcourse a way how to redefine the paths in cms.php. But who knows which plugins would user install and how would all attributes be named? Also - what sense would it make to have a huge stylesheet (containing attributes of all possible plugins) if only a few plugins would be used? There is only seldom a problem if in many stylesheets the same attribute is used. But having all attributes in one stylesheet would make a problem to set so many unique names.
Think about. CMSimple is fast because it's built of small files. It's faster to load the stylesheet of a plugin only when it's in action.
That's my understanding of the basics at least.