Latte

How to compile stylesheet.css - Latte

How to compile stylesheet.css

by Arty » Thu May 07, 2015 9:49 am

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 L&R » Sun Mar 15, 2020 10:51 am

Hello, does this compiler extension work with php 3.3.0?
User avatar
L&R
Registered User
Posts: 47
Joined: Mon Oct 08, 2018 5:47 am
Contact:

Re: How to compile stylesheet.css

by Talk19Zehn » Sat Jun 13, 2020 10:35 pm

This extension also works under phpBB-System-Version 3.3.0 and here with PHP 7.3.18 (at this moment) without problems.
User avatar
Talk19Zehn
Registered User
Posts: 604
Joined: Tue Aug 09, 2011 1:10 pm
Contact: