Skip to main content
Topic: Creating theme (Read 3271 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Creating theme

When creating a theme do you always have to create a variant of a default theme.
I just got done making a theme and it was a variant of _light so some of the css changes had to be done in _light css and the index css. I was thinking I was doing something wrong.

Re: Creating theme

Reply #1

Aa emanuele or spuds said one time. The variant gives the look and the other CSS is like a skeleton (actually can't remember how it went). You will be editing both of them to achieve what you want.

Re: Creating theme

Reply #2

I was thinking that would be the case, Thank you.

Re: Creating theme

Reply #3

If it were me, I would just include my own CSS file, and put all customization's I make into that file. This way, you don't have to find the things you need, and edit them. You just override the styles with your own, and have them all organized into your own file. But that's just me. :)  This might not be so handy with the minimizing feature that Elk has to make the JS/CSS footprint lighter.

No you don't have to create a variant. You can of course create a completely custom theme. As long as you have the necessary template_* functions.
Success is not the result of spontaneous combustion, you must set yourself on fire!

Re: Creating theme

Reply #4

What I did for the theme I'm killing (lol) (and that is a kind of answer for @meetdilip as well on the topic here), is:
create a new theme with all the templates (for what I'm doing there this is the most sensible way because I'm pretty sure I have to change all of them),
erase all the variants (I wanted to create just a "plain" theme) [1],
cleaned up completely index.css,
then I started from the top of the board index heading to the bottom adding classes and changing the html.
Darn, every time I speak about themes, color, and so on I always think about the idea of "modularity" of themes' color and structure....
Bugs creator.
Features destroyer.
Template killer.

Re: Creating theme

Reply #5

I know it is a bit over stretching you at the moment. But a bare bone / skeleton theme on which amateur theme maker can work will be good.

Re: Creating theme

Reply #6

I was thinking about preparing a theme like that, just pure with no variants and simple code, but time is a killer :)

Re: Creating theme

Reply #7

Thanks all for the input, things to think about for the next one.


Re: Creating theme

Reply #9

heh... my help on themes matters is not very helpful... lol

Anyway, the best answer I can give you about using bootstrap is the one one I posted just above, I don't have a better one.
Using bootstrap basically means entirely rewrite (or at least re-organize) the entire theme using the classes and the markup "preferred" by bootstrap...
Bugs creator.
Features destroyer.
Template killer.

Re: Creating theme

Reply #10

Is it possible to create a framework theme ? That is what they asked when I asked for help from Bootstrap guys. 

Re: Creating theme

Reply #11

Well, a bootstrap-based theme is what I'm kind of doing in the other topic (I have to clean up the code and push it to a repository).
Yes, it's possible. It's a long work.
Bugs creator.
Features destroyer.
Template killer.