Please add a custom css file like in Acquia Marina. It is very useful.
| Comment | File | Size | Author |
|---|---|---|---|
| clean_custom.patch | 1.51 KB | rstamm |
Please add a custom css file like in Acquia Marina. It is very useful.
| Comment | File | Size | Author |
|---|---|---|---|
| clean_custom.patch | 1.51 KB | rstamm |
Comments
Comment #1
psynaptic commentedThere is a custom CSS file! It used to be called custom.css until the latest version where it has been renamed style.css. You don't need to do anything to enable this feature. Just add your rules to style.css and it will work.
I'm going to write something in the README.txt so people are aware of this. How does this sound:
Awaiting a response before I commit anything.
Comment #2
rstamm commentedIt sounds good. But if someone update the Clean theme he will maybe overwrite the style.css.
What about this:
Change
stylesheets[all][] = css/style.csstostylesheets[all][] = css/custom.cssand delete css/style.css.And add information in the README.txt that the user has to create the
css/custom.cssfile if he wants to customize the CSS. Thecss/custom.cssfile will not be overwritten with next release.Comment #3
psynaptic commentedThe thing is though, people are not going to be able to copy over the whole clean directory with a new version. They will have modified template.php, added files like node-type.tpl.php etc.. If they created the site they should by now know they have modified styles.css and if not then they should have a backup anyway!
I'm more open to the idea of changing style.css back to custom.css. This would make it more obvious for newcomers to understand where to put their custom CSS rules.
I don't want to force people to create this file as I don't want to have to do this for each site I build. I prefer to be able to just install and start without anything in my way. Others probably feel the same way. The less hurdles the better.
How is the wording of the text I pasted? Can you fully understand it?
Comment #4
rstamm commentedAllways better.
Text is ok, maybe it is good to add an example.
Comment #5
psynaptic commentedOk, I have changed a few things today:
- I have renamed the style.css back to custom.css as requested.
- I have added a folder called extra/ within which I have added a light on dark color theme.
- I have added instructions to the README.txt on how this theme was intended to be used.
Comment #6
rstamm commentedthanks