Rodolphe
Rodolphe

Reputation: 11

Semantic UI multisite

Hello Stack community !

I use Semantic UI and I would like to know if it's possible to manage multiple themes (several themes in dist folder) for multiple sites in a single compilation (via gulp build) ? For my front and my backoffice ?

For example :

src/themes/site-1/
src/themes/site-2/

gulp compilation will generate :

/dist/site-1/semantic.css
/dist/site-2/semantic.css

Upvotes: 1

Views: 200

Answers (1)

codeforms
codeforms

Reputation: 59

You can create your own custom css for your sites (site1.css etc.) Your custom css classes are overwrites to Semantic UI.

For Site1 ;

<link rel="stylesheet" type="text/css" href="assets/css/semantic.min.css" />
<link rel="stylesheet" type="text/css" href="assets/css/site1.css" />

For Site2 ;

<link rel="stylesheet" type="text/css" href="assets/css/semantic.min.css" />
<link rel="stylesheet" type="text/css" href="assets/css/site2.css" />

i hope this would help you!

Upvotes: 1

Related Questions