Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Significance: patch
Type: changed
Comment: Import @wordpress/base-styles modules directly instead of through the jetpack-base-styles wrapper. No change to the built CSS.


6 changes: 3 additions & 3 deletions projects/packages/paypal-payments/src/block/editor.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@use "@automattic/jetpack-base-styles/gutenberg-base-styles" as gb;
@use "@wordpress/base-styles/variables";

.wp-block-jetpack-simple-payments {

Expand All @@ -7,8 +7,8 @@
grid-template-columns: 200px auto;
column-gap: 10px;

font-family: gb.$default-font;
font-size: gb.$default-font-size;
font-family: variables.$default-font;
font-size: variables.$default-font-size;
}

.simple-payments__field {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@use "@automattic/jetpack-base-styles/gutenberg-base-styles" as gb;
@use "@wordpress/base-styles/colors";

.simple-payments__loading {
animation: simple-payments-loading 1600ms ease-in-out infinite;
Expand Down Expand Up @@ -81,7 +81,7 @@ body .jetpack-simple-payments-wrapper .jetpack-simple-payments-details p {
}

input[type="number"].jetpack-simple-payments-items-number {
background: gb.$white;
background: colors.$white;
font-size: 16px;
line-height: 1;
max-width: 60px;
Expand Down
Loading