Skip to content

Commit

Permalink
fix(closebutton): use correct casing for class names
Browse files Browse the repository at this point in the history
  • Loading branch information
pfulton committed Mar 8, 2024
1 parent c94099c commit d404aec
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions components/closebutton/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ governing permissions and limitations under the License.

/* closebutton/index.css
*
* .spectrum-Closebutton::after is the Focus ring
* .spectrum-CloseButton::after is the Focus ring
*/

@import "@spectrum-css/commons/basebutton.css";
Expand Down Expand Up @@ -46,17 +46,17 @@ governing permissions and limitations under the License.
--spectrum-closebutton-background-color-focus: var(--spectrum-gray-100);
}

.spectrum-Closebutton--sizeS {
.spectrum-CloseButton--sizeS {
--spectrum-closebutton-height: var(--spectrum-component-height-75);
--spectrum-closebutton-width: var(--spectrum-closebutton-height);
}

.spectrum-Closebutton--sizeL {
.spectrum-CloseButton--sizeL {
--spectrum-closebutton-height: var(--spectrum-component-height-200);
--spectrum-closebutton-width: var(--spectrum-closebutton-height);
}

.spectrum-Closebutton--sizeXL {
.spectrum-CloseButton--sizeXL {
--spectrum-closebutton-height: var(--spectrum-component-height-300);
--spectrum-closebutton-width: var(--spectrum-closebutton-height);
}
Expand Down

0 comments on commit d404aec

Please sign in to comment.