mirror of
https://github.com/ankitects/anki.git
synced 2025-11-10 06:37:12 -05:00
Use new bootstrap library paths
This commit is contained in:
parent
d07086da19
commit
f9565cbb80
5 changed files with 11 additions and 8 deletions
|
|
@ -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"],
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
});
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue