anki/ts/sass/BUILD.bazel
Damien Elmes e5c5c91ec8 override some bootstrap styles for night mode
There's probably a better way to accomplish this - fixes welcome!

Also fix the page reloading when enter hit inside the modal.
2021-04-22 21:57:32 +10:00

61 lines
1.1 KiB
Python

load("@io_bazel_rules_sass//:defs.bzl", "sass_library")
sass_library(
name = "base_lib",
srcs = [
"_vars.scss",
"base.scss",
"bootstrap-dark.scss",
],
visibility = ["//visibility:public"],
deps = ["//ts/sass/bootstrap"],
)
sass_library(
name = "buttons_lib",
srcs = [
"_fusion_vars.scss",
"buttons.scss",
],
visibility = ["//visibility:public"],
)
sass_library(
name = "card_counts_lib",
srcs = [
"card_counts.scss",
],
visibility = ["//visibility:public"],
)
sass_library(
name = "core_lib",
srcs = [
"_vars.scss",
"core.scss",
],
visibility = ["//visibility:public"],
)
sass_library(
name = "scrollbar_lib",
srcs = [
"scrollbar.scss",
],
visibility = ["//visibility:public"],
)
sass_library(
name = "button_mixins_lib",
srcs = [
"button_mixins.scss",
],
visibility = ["//visibility:public"],
)
# qt package extracts colours from source file
exports_files(
["_vars.scss"],
visibility = ["//qt:__subpackages__"],
)