Skip to content

v3 theming proposal #441

@prudho

Description

@prudho

About theming...

I have opened this issue to talk about the actual state of theming, and how, in my opinion, we could improve it and simplify it at the same time.

The actual state...

... is a mess. The user have to define a theme.config file, then he can choose which pre-defined theme apply for each component, and to finish, he can edit .variable and .override files to fine-tune his site theme...

I mean, who find that usefull and/or intuitive ? Who really want to use different theme for one component to another ? And what's the purpose of this override stuff ?

The future state of theming...

... needs to be more simple. FUI has only one "official" default theme which is located in /src/theme. If a user want to edit his website theme, he just have to edit the variable files stored in /src/site then build the CSS. If he wants to apply a theme, I think that he just have to paste a theme package to his /src/site folder then rebuild... That's it !

No more theme.less file. No more useless .override files ! And creating a theme-generator would be more simple too: you generate your theme package trough the generator, download it and paste it down in your site folder, and you're done !

Final notes

Like I already said, it's just my own opinion and vision... Maybe some users needs more customization options in their build system, but I don't think that this user base represent more than 0.5% of total FUI users.

So let's start discuss about it, folks !

Metadata

Metadata

Assignees

No one assigned

    Labels

    tag/platformAnything relating to the Fomantic platform as a wholetag/v3Any issues which include ideas/proposals for v3type/buildAnything related to the build processtype/discussionAnything which is up for discussion

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions