Skip to content

Commit

Permalink
fix(styles): prefix replacement
Browse files Browse the repository at this point in the history
  • Loading branch information
ariellalgilmore committed Oct 20, 2023
1 parent dc68780 commit 48f4b0f
Showing 1 changed file with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,24 +6,24 @@
*/

/* stylelint-disable selector-type-no-unknown, selector-pseudo-element-no-unknown */
cds-logo-grid-item,
cds-card-group-item,
cds-cta-section-item {
c4d-logo-grid-item,
c4d-card-group-item,
c4d-cta-section-item {
&:nth-of-type(3n) {
--cds--fade-in-out-delay: 0;
--c4d--fade-in-out-delay: 0;
}
&:nth-of-type(3n + 1) {
--cds--fade-in-out-delay: 250ms;
--c4d--fade-in-out-delay: 250ms;
}
&:nth-of-type(3n + 2) {
--cds--fade-in-out-delay: 500ms;
--c4d--fade-in-out-delay: 500ms;
}
&:nth-of-type(3n + 3) {
--cds--fade-in-out-delay: 750ms;
--c4d--fade-in-out-delay: 750ms;
}
}

cds-table-of-contents::part(table) {
c4d-table-of-contents::part(table) {
top: 0;
}
/* stylelint-enable selector-type-no-unknown, selector-pseudo-element-no-unknown */

0 comments on commit 48f4b0f

Please sign in to comment.