Use lektor-scss to build scss

Context: tpo/web/lego#55
This commit is contained in:
kez 2023-01-24 19:29:54 -08:00
parent 9ff377236a
commit 57b426f34b
7 changed files with 10 additions and 2 deletions

2
.gitignore vendored
View File

@ -1,3 +1,5 @@
assets/static/css
node_modules
venv
.sass-cache

View File

@ -1,5 +1,6 @@
---
variables:
LEKTOR_BUILD_FLAGS: scss
SITE_URL: newsletter.torproject.org
STAGING_URL: newsletter.staging.torproject.net

3
.gitmodules vendored
View File

@ -1,3 +1,6 @@
[submodule "lego"]
path = lego
url = https://gitlab.torproject.org/tpo/web/lego.git
[submodule "packages/lektor-scss"]
path = packages/lektor-scss
url = https://gitlab.torproject.org/tpo/web/lektor-scss/

View File

@ -1 +0,0 @@
../../lego/assets/static/css

2
configs/scss.ini Normal file
View File

@ -0,0 +1,2 @@
output_dir = assets/static/css
output_style = compressed

2
lego

@ -1 +1 @@
Subproject commit 5bd7190739baa1bbbb1eae39081bdd1752e2225e
Subproject commit b7b2a6f1f0a0bf03917c0dcc341c0dcf3d0b04a5

1
packages/lektor-scss Submodule

@ -0,0 +1 @@
Subproject commit de36235b56f68f6dc154212a3c0dcf5cc8fdabda