mirror of
https://github.com/ankitects/anki.git
synced 2025-11-10 22:57:11 -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(
|
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"],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
|
|
|
||||||
|
|
@ -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);
|
||||||
});
|
});
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue