Skip to content

Commit 94bc2dd

Browse files
committed
feat(thumbnail-opacity-checkboard): fix token rule
1 parent a11f87f commit 94bc2dd

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

components/thumbnail/index.css

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,6 @@ governing permissions and limitations under the License.
3333
--spectrum-thumbnail-color-opacity-disabled: var(--spectrum-thumbnail-opacity-disabled);
3434
}
3535

36-
.spectrum-OpacityCheckerboard {
37-
--spectrum-opacity-checkerboard-size: var(--spectrum-thumbnail-opacity-checkerboard-square-size);
38-
}
39-
4036
.spectrum-Thumbnail--size50 {
4137
--spectrum-thumbnail-size: var(--spectrum-thumbnail-size-50);
4238
}
@@ -127,6 +123,10 @@ governing permissions and limitations under the License.
127123
overflow: hidden;
128124
border-radius: var(--mod-thumbnail-border-radius, var(--spectrum-thumbnail-border-radius));
129125
}
126+
127+
& .spectrum-OpacityCheckerboard {
128+
--spectrum-opacity-checkerboard-size: var(--spectrum-thumbnail-opacity-checkerboard-square- size);
129+
}
130130
}
131131
/* stylelint-enable selector-pseudo-class-no-unknown */
132132

0 commit comments

Comments
 (0)