diff --git a/src/material/core/style/BUILD.bazel b/src/material/core/style/BUILD.bazel index 906d6af56d3e..959dc5a7c22f 100644 --- a/src/material/core/style/BUILD.bazel +++ b/src/material/core/style/BUILD.bazel @@ -22,15 +22,6 @@ sass_library( ], ) -sass_library( - name = "form_common", - srcs = ["_form-common.scss"], - deps = [ - ":sass_utils", - "//src/material/core/theming:_inspection", - ], -) - sass_library( name = "layout_common", srcs = ["_layout-common.scss"], diff --git a/src/material/core/style/_form-common.scss b/src/material/core/style/_form-common.scss deleted file mode 100644 index 3c7f9aa20df7..000000000000 --- a/src/material/core/style/_form-common.scss +++ /dev/null @@ -1,19 +0,0 @@ -@use '../theming/inspection'; - -// Renders a gradient for showing the dashed line when the input is disabled. -// Unlike using a border, a gradient allows us to adjust the spacing of the dotted line -// to match the Material Design spec. -@mixin private-control-disabled-underline($color) { - background-image: linear-gradient(to right, $color 0%, $color 33%, transparent 0%); - background-size: 4px 100%; - background-repeat: repeat-x; -} - -// Figures out the color of the placeholder for a form control. -// Used primarily to prevent the various form controls from -// becoming out of sync since these colors aren't in a palette. -@function private-control-placeholder-color($theme) { - $is-dark-theme: inspection.get-theme-type($theme) == dark; - @return - inspection.get-theme-color($theme, foreground, base, if($is-dark-theme, 0.5, 0.42)); -}