support external building of sass; node_modules->ts/bootstrap

This commit is contained in:
Damien Elmes 2021-04-15 15:59:17 +10:00
parent 3e6df402ae
commit b0206ec1bf
3 changed files with 4 additions and 2 deletions

View file

@ -14,6 +14,7 @@ def compile_sass(group, srcs, visibility, deps):
sourcemap = False,
deps = deps,
visibility = visibility,
include_paths = ["external/net_ankiweb_anki"],
)
native.filegroup(

View file

@ -7,6 +7,7 @@ sass_library(
"base.scss",
],
visibility = ["//visibility:public"],
deps = ["//ts/bootstrap:scss"],
)
sass_library(

View file

@ -6,8 +6,8 @@ $body-bg: var(--window-bg);
$link-hover-color: var(--link);
$link-hover-decoration: none;
@import "ts/node_modules/bootstrap/scss/bootstrap-reboot";
@import "ts/node_modules/bootstrap/scss/bootstrap-utilities";
@import "ts/bootstrap/bootstrap-reboot";
@import "ts/bootstrap/bootstrap-utilities";
body {
overscroll-behavior: none;