17488 Posts in 4473 Topics by 1978 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 1844 Views |
-
What's the justification for including a theme's typography.css file in the CMS?

23 October 2007 at 1:48am Last edited: 23 October 2007 1:50am
After creating a new theme for my Silverstripe powered site, I noticed that the text and hyperlink colours in the CMS administration panel were all skewed.
After poking around, I recognised that CMS was pulling the typography.css file from my theme. Subsequently, this resulted in abnormally large text and unexpected colours while browsing the administration interface.
I'm interested to hear the justification for doing this. I was under the impression that published site and administration panel were entirely different.
At any rate, you can prevent this happening by commenting out line 68 in cms/CMSMain.php with SS 2.1.
-
Re: What's the justification for including a theme's typography.css file in the CMS?

23 October 2007 at 4:23am
its basically a way of not repeating style-rules given in some "sandbox"-rules.
see http://doc.silverstripe.com/doku.php?id=typography for a more in-depth explanation. -
Re: What's the justification for including a theme's typography.css file in the CMS?

23 October 2007 at 1:29pm
Okay, I understand what you're doing. Thanks Ingo.
| 1844 Views | ||
|
Page:
1
|
Go to Top |


