Skip to content

Commit

Permalink
feat: add missing --mod-* tokens for number-field (#4565)
Browse files Browse the repository at this point in the history
Co-authored-by: rmanole <rmanole@adobe.com>
  • Loading branch information
Rocss and rmanole authored Jun 14, 2024
1 parent 36bbd37 commit 9703c43
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions packages/number-field/src/number-field.css
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,14 @@ governing permissions and limitations under the License.
}

:host([hide-stepper]:not([quiet])) #textfield input {
border: var(--spectrum-textfield-border-width) solid
var(--spectrum-textfield-border-color);
border: var(
--mod-textfield-border-width,
var(--spectrum-textfield-border-width)
)
solid
var(
--mod-textfield-border-color,
var(--spectrum-textfield-border-color)
);
border-radius: var(--spectrum-textfield-corner-radius);
}

0 comments on commit 9703c43

Please sign in to comment.