From 95fb68c7faa4b0e2101d19efb8322181ba0a9aff Mon Sep 17 00:00:00 2001 From: Lindsay M <126139086+lindsaym-fa@users.noreply.github.com> Date: Thu, 23 Oct 2025 14:38:56 -0400 Subject: [PATCH] Fix Customizing > Native Elements examples (#1642) * remove custom property example for customizing native elements * remove outdated Customizing > Style Utilities example --- packages/webawesome/docs/docs/customizing.md | 60 +++----------------- 1 file changed, 8 insertions(+), 52 deletions(-) diff --git a/packages/webawesome/docs/docs/customizing.md b/packages/webawesome/docs/docs/customizing.md index f569d0286..92a415ce7 100644 --- a/packages/webawesome/docs/docs/customizing.md +++ b/packages/webawesome/docs/docs/customizing.md @@ -132,7 +132,7 @@ Most (but not all) components expose parts. You can find them in each component' If you're using [native styles](/docs/utilities/native), any custom styles added for a component should also target the corresponding native element. In general, the same styles you declare for components will work just the same to style their native counterparts. -For example, we can give `` the same custom styles as `` by using the custom properties required to style the component: +For example, we can give `` the same custom styles as `` by using standard CSS properties and CSS parts: ```html {.example} Web Awesome checkbox @@ -143,60 +143,16 @@ For example, we can give `` the same custom styles as ` -``` - -Or, if using CSS parts, we can give both checkboxes the same custom styles using standard CSS properties: - -```html {.example} -Web Awesome checkbox -
- - - -``` - -## Style Utilities - -Similarly, if you're using [style utilities](/docs/utilities), any custom styles added for a specific attribute variation of a component — such as `appearance`, `variant`, or `size` — should also target the corresponding style utility class. This ensures that the attribute and its utility class counterpart work interchangeably. - -For example, we can give all outlined callouts a thick left border, regardless of whether they are styled with `appearance="outlined"` or `class="wa-outlined"`: - -```html {.example} - - - Here's a callout with appearance="outlined" - - - - -``` +``` \ No newline at end of file