From cb3df5f1bed60936e0592d456447fe743e2c5fc4 Mon Sep 17 00:00:00 2001 From: Matthias M <62722460+kleinerpirat@users.noreply.github.com> Date: Mon, 15 Nov 2021 11:38:10 +0100 Subject: [PATCH] Add bootstrap icons to change-notetype --- ts/change-notetype/BUILD.bazel | 2 ++ ts/change-notetype/icons.ts | 9 +++++++++ 2 files changed, 11 insertions(+) create mode 100644 ts/change-notetype/icons.ts diff --git a/ts/change-notetype/BUILD.bazel b/ts/change-notetype/BUILD.bazel index a52ddc8bc..7bb2fbed8 100644 --- a/ts/change-notetype/BUILD.bazel +++ b/ts/change-notetype/BUILD.bazel @@ -2,6 +2,7 @@ load("//ts:prettier.bzl", "prettier_test") load("//ts:eslint.bzl", "eslint_test") load("//ts/svelte:svelte.bzl", "compile_svelte", "svelte_check") load("//ts:esbuild.bzl", "esbuild") +load("//ts:vendor.bzl", "copy_bootstrap_icons") load("//ts:compile_sass.bzl", "compile_sass") load("//ts:typescript.bzl", "typescript") load("//ts:jest.bzl", "jest_test") @@ -48,6 +49,7 @@ esbuild( visibility = ["//visibility:public"], deps = [ ":base_css", + "@npm//bootstrap-icons", ":index", ":svelte", ], diff --git a/ts/change-notetype/icons.ts b/ts/change-notetype/icons.ts new file mode 100644 index 000000000..05ca4142e --- /dev/null +++ b/ts/change-notetype/icons.ts @@ -0,0 +1,9 @@ +// Copyright: Ankitects Pty Ltd and contributors +// License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html + +/// + +export { default as arrowRightIcon } from "bootstrap-icons/icons/arrow-right.svg"; +export { default as exclamationIcon } from "bootstrap-icons/icons/exclamation-circle.svg"; +export { default as plusIcon } from "bootstrap-icons/icons/plus-lg.svg"; +export { default as minusIcon } from "bootstrap-icons/icons/dash-lg.svg";