Digi

How to compile stylesheet.css - Digi

How to compile stylesheet.css

by Arty » Thu Apr 23, 2015 9:09 pm

Unlike other styles, this style uses Sass for stylesheet. What is it? I'll explain later in this post. What matters is in this style you should never edit stylesheet.css!

Instead you should edit .scss files. Those are Sass files with syntax compatible with CSS. You can open them with any CSS file editor or basic text editor. File stylesheet.css is generated from many smaller .scss files.

After editing and .scss file, you must recompile stylesheet.css. It is very easy to do and there is a tutorial that explains how to do it: how to compile theme.

Tutorial explains how to compile stylesheet using ether phpBB extension, an app or command line. It also explains how to automatically recompile stylesheet when you edit any .scss file.

---------------------------

So what is Sass? It is basically advanced CSS with variables, conditional statements that makes writing complex CSS a very simple job. See http://sass-lang.com/
Vjacheslav Trushkin / Arty.
Free phpBB 3.1 styles | New project: Iconify - modern SVG framework
User avatar
Arty
Former Team Member
Posts: 16654
Joined: Wed Mar 06, 2002 2:36 pm
Name: Vjacheslav Trushkin
Contact:

Re: How to compile stylesheet.css

by Arty » Sun Jun 14, 2015 4:13 pm

Compiling themes is now many many times easier!

I wrote an extension for phpBB that compiles Sass themes: http://www.artodia.com/threads/sass-com ... -3-1.2186/

Install extension on your forum and compile themes from admin control panel. You no longer need to install any additional software.
Vjacheslav Trushkin / Arty.
Free phpBB 3.1 styles | New project: Iconify - modern SVG framework
User avatar
Arty
Former Team Member
Posts: 16654
Joined: Wed Mar 06, 2002 2:36 pm
Name: Vjacheslav Trushkin
Contact:

Re: How to compile stylesheet.css

by Raheem » Mon Sep 17, 2018 4:20 pm

You mean how to compile stylesheet.scss (not .css)?
Raheem
Registered User
Posts: 82
Joined: Thu Feb 09, 2017 7:02 pm
Location: Egypt
Contact:

Re: How to compile stylesheet.css

by MrGaby » Tue Sep 18, 2018 2:35 pm

Hello

No, the css file is compiled using scss files
If you like my work, you can support me with a donation. Thanks!
Donate via Paypal
MrGaby
Registered User
Posts: 159
Joined: Sun Apr 02, 2017 8:04 pm
Contact:

Re: How to compile stylesheet.css

by Raheem » Tue Sep 18, 2018 6:24 pm

Hello MrGaby,

I'm used to say for example: Source --> Binaries
We say compile the source to binaries.
So i think right we say we will compile .scss files to give us .css

That's what i mean :)
Raheem
Registered User
Posts: 82
Joined: Thu Feb 09, 2017 7:02 pm
Location: Egypt
Contact: