Skip to content

Commit

Permalink
Add comment to deprecated .va-button-primary class (#1012)
Browse files Browse the repository at this point in the history
* remove .va-button-primary class

* add comment to deprecated class
  • Loading branch information
jamigibbs authored Jan 16, 2024
1 parent 49539a7 commit a92084f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion packages/formation/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@department-of-veterans-affairs/formation",
"version": "10.1.0",
"version": "10.1.1",
"description": "The VA design system",
"keywords": [
"va",
Expand Down
6 changes: 1 addition & 5 deletions packages/formation/sass/base/_va.scss
Original file line number Diff line number Diff line change
Expand Up @@ -807,11 +807,7 @@ issue: vets-design-system-documentation#2043
}
}

// TODO: Deprecate .va-action-bar--header a.usa-button-primary.
// Use .va-button-primary and .va-button-secondary
// going forward.
// Drop !important from the lines below when everything
// is refactored.
// DEPRECATED: Replaced with va-button web component
.va-button-primary {
background: $color-green !important;

Expand Down
1 change: 1 addition & 0 deletions packages/formation/sass/modules/_m-nav-sidebar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ $level-3-hover-padding: 8px 12px 8px 30px;
text-decoration: none;
padding: $level-2-default-padding;

// DEPRECATED: Replaced with va-button web component
&.va-button-primary {
padding: 1rem 2rem;
}
Expand Down
1 change: 1 addition & 0 deletions packages/formation/sass/site/_m-vet-nav.scss
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ body.va-pos-fixed {
margin-bottom: 0;
}

// DEPRECATED: Replaced with va-button web component
.va-button-primary {
border: 2px solid $color-white;
color: $color-white;
Expand Down

0 comments on commit a92084f

Please sign in to comment.