2021-04-13 17:24:06 +02:00
|
|
|
load("@io_bazel_rules_sass//:defs.bzl", "sass_library")
|
2020-11-01 05:26:58 +01:00
|
|
|
|
2021-04-13 18:17:32 +02:00
|
|
|
sass_library(
|
|
|
|
name = "base_lib",
|
|
|
|
srcs = [
|
2021-07-09 16:46:56 +02:00
|
|
|
"_fusion-vars.scss",
|
2021-10-31 00:29:22 +02:00
|
|
|
"_vars.scss",
|
2021-04-13 18:17:32 +02:00
|
|
|
"base.scss",
|
2021-04-22 13:57:32 +02:00
|
|
|
"bootstrap-dark.scss",
|
2021-04-13 18:17:32 +02:00
|
|
|
],
|
|
|
|
visibility = ["//visibility:public"],
|
2021-10-31 00:29:22 +02:00
|
|
|
deps = [
|
|
|
|
"//sass/bootstrap",
|
|
|
|
"//sass/codemirror",
|
|
|
|
],
|
2021-04-13 18:17:32 +02:00
|
|
|
)
|
|
|
|
|
2021-04-13 17:19:19 +02:00
|
|
|
sass_library(
|
|
|
|
name = "buttons_lib",
|
|
|
|
srcs = [
|
2021-06-30 19:55:56 +02:00
|
|
|
"_fusion-vars.scss",
|
2021-04-13 17:19:19 +02:00
|
|
|
"buttons.scss",
|
|
|
|
],
|
|
|
|
visibility = ["//visibility:public"],
|
|
|
|
)
|
|
|
|
|
|
|
|
sass_library(
|
|
|
|
name = "card_counts_lib",
|
|
|
|
srcs = [
|
2021-06-30 19:55:56 +02:00
|
|
|
"card-counts.scss",
|
2021-04-13 17:19:19 +02:00
|
|
|
],
|
|
|
|
visibility = ["//visibility:public"],
|
|
|
|
)
|
|
|
|
|
2021-10-31 00:29:22 +02:00
|
|
|
# minimal definitions used by AnkiMobile's editor - should be safe to remove
|
|
|
|
# once AnkiMobile switches to the new editor code in the future
|
2020-11-01 05:26:58 +01:00
|
|
|
sass_library(
|
|
|
|
name = "core_lib",
|
|
|
|
srcs = [
|
|
|
|
"_vars.scss",
|
|
|
|
"core.scss",
|
|
|
|
],
|
|
|
|
visibility = ["//visibility:public"],
|
|
|
|
)
|
|
|
|
|
2021-04-13 17:19:19 +02:00
|
|
|
sass_library(
|
|
|
|
name = "scrollbar_lib",
|
|
|
|
srcs = [
|
|
|
|
"scrollbar.scss",
|
|
|
|
],
|
|
|
|
visibility = ["//visibility:public"],
|
|
|
|
)
|
|
|
|
|
2021-11-17 04:49:52 +01:00
|
|
|
sass_library(
|
|
|
|
name = "breakpoints_lib",
|
|
|
|
srcs = [
|
|
|
|
"breakpoints.scss",
|
|
|
|
],
|
|
|
|
visibility = ["//visibility:public"],
|
|
|
|
)
|
|
|
|
|
2021-04-14 15:45:14 +02:00
|
|
|
sass_library(
|
|
|
|
name = "button_mixins_lib",
|
|
|
|
srcs = [
|
2021-10-31 00:29:22 +02:00
|
|
|
"_button-mixins.scss",
|
|
|
|
"_fusion-vars.scss",
|
2021-04-14 15:45:14 +02:00
|
|
|
],
|
|
|
|
visibility = ["//visibility:public"],
|
|
|
|
)
|
|
|
|
|
2021-06-21 21:44:23 +02:00
|
|
|
sass_library(
|
|
|
|
name = "night_mode_lib",
|
|
|
|
srcs = [
|
2021-06-30 19:55:56 +02:00
|
|
|
"night-mode.scss",
|
2021-06-21 21:44:23 +02:00
|
|
|
],
|
|
|
|
visibility = ["//visibility:public"],
|
|
|
|
)
|
|
|
|
|
2020-11-01 05:26:58 +01:00
|
|
|
exports_files(
|
2021-04-14 12:19:44 +02:00
|
|
|
["_vars.scss"],
|
2021-06-04 06:39:53 +02:00
|
|
|
visibility = ["//visibility:public"],
|
2020-11-01 05:26:58 +01:00
|
|
|
)
|