09c29219b4
* 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)
54 lines
966 B
Python
54 lines
966 B
Python
load("@bazel_skylib//rules:copy_file.bzl", "copy_file")
|
|
load("//ts:copy.bzl", "copy_files_into_group")
|
|
load("//ts:compile_sass.bzl", "compile_sass")
|
|
|
|
compile_sass(
|
|
srcs = glob(
|
|
["*.scss"],
|
|
exclude = ["_*.scss"],
|
|
),
|
|
group = "css_local",
|
|
deps = [
|
|
"//sass:buttons_lib",
|
|
"//sass:scrollbar_lib",
|
|
"//sass:card_counts_lib",
|
|
],
|
|
visibility = ["//visibility:private"],
|
|
)
|
|
|
|
copy_files_into_group(
|
|
name = "editor",
|
|
srcs = [
|
|
"editor.css",
|
|
],
|
|
package = "//ts/editor",
|
|
)
|
|
|
|
|
|
copy_files_into_group(
|
|
name = "editable",
|
|
srcs = [
|
|
"editable.css",
|
|
],
|
|
package = "//ts/editable",
|
|
)
|
|
|
|
copy_files_into_group(
|
|
name = "reviewer",
|
|
srcs = [
|
|
"reviewer.css",
|
|
],
|
|
package = "//ts/reviewer",
|
|
)
|
|
|
|
filegroup(
|
|
name = "css",
|
|
srcs = [
|
|
"css_local",
|
|
"editor",
|
|
"editable",
|
|
"reviewer",
|
|
],
|
|
visibility = ["//qt:__subpackages__"],
|
|
)
|