Use new bootstrap library paths

This commit is contained in:
Henrik Giesel 2021-04-15 14:04:41 +02:00
parent d07086da19
commit f9565cbb80
5 changed files with 11 additions and 8 deletions

View file

@ -13,6 +13,9 @@ svelte_names = [f.replace(".svelte", "") for f in svelte_files]
compile_svelte(
name = "svelte",
srcs = svelte_files,
deps = [
"//ts/sass/bootstrap",
],
)
compile_sass(
@ -137,6 +140,6 @@ svelte_check(
srcs = glob([
"*.ts",
"*.svelte",
]),
]) + ["//ts/sass/bootstrap"],
)

View file

@ -24,8 +24,8 @@
<style lang="scss">
@use "ts/sass/button_mixins" as button;
@import "ts/node_modules/bootstrap/scss/functions";
@import "ts/node_modules/bootstrap/scss/variables";
@import "ts/bootstrap/functions";
@import "ts/bootstrap/variables";
button {
padding: 0;

View file

@ -51,7 +51,7 @@
if (activatable) {
updateButton(command);
commandMap.subscribe((map: Map<string, boolean>): void => {
commandMap.subscribe((map: Map<string, boolean>): () => void => {
active = map.get(command);
return () => map.delete(command);
});

View file

@ -14,8 +14,8 @@
</script>
<style lang="scss">
@import "ts/node_modules/bootstrap/scss/functions";
@import "ts/node_modules/bootstrap/scss/variables";
@import "ts/bootstrap/functions";
@import "ts/bootstrap/variables";
button {
display: flex;

View file

@ -10,8 +10,8 @@
</script>
<style lang="scss">
@import "ts/node_modules/bootstrap/scss/functions";
@import "ts/node_modules/bootstrap/scss/variables";
@import "ts/bootstrap/functions";
@import "ts/bootstrap/variables";
ul {
background-color: $light;