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( compile_svelte(
name = "svelte", name = "svelte",
srcs = svelte_files, srcs = svelte_files,
deps = [
"//ts/sass/bootstrap",
],
) )
compile_sass( compile_sass(
@ -137,6 +140,6 @@ svelte_check(
srcs = glob([ srcs = glob([
"*.ts", "*.ts",
"*.svelte", "*.svelte",
]), ]) + ["//ts/sass/bootstrap"],
) )

View file

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

View file

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

View file

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

View file

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