Update to use shortened SCSS paths for some components

This commit is contained in:
Henrik Giesel 2021-09-06 15:41:25 +02:00
parent 647a2a3e59
commit 96cbca8fb6
5 changed files with 7 additions and 6 deletions

View file

@ -96,7 +96,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
</div> </div>
<style lang="scss"> <style lang="scss">
@use 'ts/sass/scrollbar'; @use 'scrollbar';
.nightMode { .nightMode {
@include scrollbar.night-mode; @include scrollbar.night-mode;

View file

@ -39,7 +39,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
</button> </button>
<style lang="scss"> <style lang="scss">
@use 'ts/sass/button-mixins' as button; @use 'button-mixins' as button;
button { button {
display: flex; display: flex;

View file

@ -83,7 +83,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
</button> </button>
<style lang="scss"> <style lang="scss">
@use "ts/sass/button-mixins" as button; @use "button-mixins" as button;
@keyframes flash { @keyframes flash {
0% { 0% {

View file

@ -88,9 +88,9 @@
} }
} }
@import "ts/sass/codemirror/lib/codemirror"; @import "codemirror/lib/codemirror";
@import "ts/sass/codemirror/theme/monokai"; @import "codemirror/theme/monokai";
@import "ts/sass/codemirror/addon/fold/foldgutter"; @import "codemirror/addon/fold/foldgutter";
.CodeMirror { .CodeMirror {
height: auto; height: auto;

View file

@ -31,6 +31,7 @@ import { Editable } from "./editable";
import { Codable } from "./codable"; import { Codable } from "./codable";
import { initToolbar, fieldFocused } from "./toolbar"; import { initToolbar, fieldFocused } from "./toolbar";
import { initTagEditor } from "./tag-editor"; import { initTagEditor } from "./tag-editor";
import { getCurrentField } from "./helpers";
export { setNoteId, getNoteId } from "./note-id"; export { setNoteId, getNoteId } from "./note-id";
export { saveNow } from "./change-timer"; export { saveNow } from "./change-timer";