angular/devtools/projects/ng-devtools/src/styles/BUILD.bazel
hawkgs dc174d1053 refactor(devtools): introduce prop-actions-menu
Implement a context menu and add it to each property in the properties pane in order to optimize the available space by consolidating the action buttons of property items with multiple of them. Property items with a single action will retain their original behavior where the action button is directly available to click right after the displayed value.
2026-03-16 12:07:32 -06:00

89 lines
1.6 KiB
Text

load("//devtools/tools:defaults.bzl", "npm_sass_library", "sass_binary", "sass_library")
package(default_visibility = ["//visibility:public"])
npm_sass_library(
name = "material_sass_deps",
deps = [
"//:node_modules/@angular/cdk",
"//:node_modules/@angular/material",
],
)
sass_library(
name = "global",
srcs = ["_global.scss"],
deps = [
":colors",
":inputs",
":material_sass_deps",
":overrides",
":tables",
":theme",
":typography",
"//devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/property-pane/property-view/property-view-body/prop-actions-menu:prop-actions-menu-cdk-styles",
],
)
sass_library(
name = "theme",
srcs = ["_theme.scss"],
)
sass_library(
name = "browser",
srcs = ["_browser.scss"],
)
sass_library(
name = "colors",
srcs = ["_colors.scss"],
deps = [
":theme",
],
)
sass_library(
name = "inputs",
srcs = ["_inputs.scss"],
deps = [
":theme",
":typography",
],
)
sass_library(
name = "tables",
srcs = ["_tables.scss"],
deps = [
":material_sass_deps",
":typography",
],
)
sass_library(
name = "typography",
srcs = [
"_typography.scss",
":material_sass_deps",
],
)
sass_library(
name = "overrides",
srcs = [
"_overrides.scss",
":material_sass_deps",
":typography",
],
)
sass_binary(
name = "firefox",
src = "firefox.scss",
)
sass_binary(
name = "chrome",
src = "chrome.scss",
)