mirror of
https://github.com/ankitects/anki.git
synced 2025-11-10 22:57:11 -05:00
support external building of sass; node_modules->ts/bootstrap
This commit is contained in:
parent
3e6df402ae
commit
b0206ec1bf
3 changed files with 4 additions and 2 deletions
|
|
@ -14,6 +14,7 @@ def compile_sass(group, srcs, visibility, deps):
|
||||||
sourcemap = False,
|
sourcemap = False,
|
||||||
deps = deps,
|
deps = deps,
|
||||||
visibility = visibility,
|
visibility = visibility,
|
||||||
|
include_paths = ["external/net_ankiweb_anki"],
|
||||||
)
|
)
|
||||||
|
|
||||||
native.filegroup(
|
native.filegroup(
|
||||||
|
|
|
||||||
|
|
@ -7,6 +7,7 @@ sass_library(
|
||||||
"base.scss",
|
"base.scss",
|
||||||
],
|
],
|
||||||
visibility = ["//visibility:public"],
|
visibility = ["//visibility:public"],
|
||||||
|
deps = ["//ts/bootstrap:scss"],
|
||||||
)
|
)
|
||||||
|
|
||||||
sass_library(
|
sass_library(
|
||||||
|
|
|
||||||
|
|
@ -6,8 +6,8 @@ $body-bg: var(--window-bg);
|
||||||
$link-hover-color: var(--link);
|
$link-hover-color: var(--link);
|
||||||
$link-hover-decoration: none;
|
$link-hover-decoration: none;
|
||||||
|
|
||||||
@import "ts/node_modules/bootstrap/scss/bootstrap-reboot";
|
@import "ts/bootstrap/bootstrap-reboot";
|
||||||
@import "ts/node_modules/bootstrap/scss/bootstrap-utilities";
|
@import "ts/bootstrap/bootstrap-utilities";
|
||||||
|
|
||||||
body {
|
body {
|
||||||
overscroll-behavior: none;
|
overscroll-behavior: none;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue