anki/sass/BUILD.bazel
Henrik Giesel 09c29219b4
Several CSS fixes - Editor Cleanup (#1470)
* Refactor editor css, fix editor button highlight

- Avoid using webview.css
- Move more buttons css into button_mixins

* Fix DropdownItem appearance

* Fix the visuals of tags

* Make dropdown font slightly smaller

* Give SelectOption a background color

* Move some css from deck-options-base to CardStateCustomizer

* Avoid using core.scss for CardStats

* Avoid using sass/core in congrats package

* Inline core.scss into webview.scss

* Include fusion-vars for base.scss

* need to keep core.scss around for now (dae)
2021-10-31 08:29:22 +10:00

75 lines
1.4 KiB
Python

load("@io_bazel_rules_sass//:defs.bzl", "sass_library")
sass_library(
name = "base_lib",
srcs = [
"_fusion-vars.scss",
"_vars.scss",
"base.scss",
"bootstrap-dark.scss",
],
visibility = ["//visibility:public"],
deps = [
"//sass/bootstrap",
"//sass/codemirror",
],
)
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"],
)
# minimal definitions used by AnkiMobile's editor - should be safe to remove
# once AnkiMobile switches to the new editor code in the future
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",
"_fusion-vars.scss",
],
visibility = ["//visibility:public"],
)
sass_library(
name = "night_mode_lib",
srcs = [
"night-mode.scss",
],
visibility = ["//visibility:public"],
)
exports_files(
["_vars.scss"],
visibility = ["//visibility:public"],
)