Skip to content

Commit 83dcd0a

Browse files
committed
Update ribbon background styling to use new variable for improved theming
1 parent 18a76f8 commit 83dcd0a

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

style/components/ribbons.css

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,12 @@
1515
text-align: center;
1616
text-transform: uppercase;
1717
font-weight: bold;
18-
background: var(--ribbon-color, var(--color-accent-2));
19-
background-image: linear-gradient(rgba(255, 255, 255, .3), rgba(255, 255, 255, 0));
18+
background: var(--ribbon-background, linear-gradient(rgba(255, 255, 255, .3), rgba(255, 255, 255, 0)) var(--ribbon-color, var(--color-accent-2)));
2019
color: white;
2120
font-size: 80%;
2221
line-height: 1.1;
2322
white-space: pre-line;
2423
min-width: 20em;
2524
box-shadow: 0 10px 1em -.6em black;
2625
transform: rotate(45deg) translate(6em, var(--ribbon-offset, -2em));
27-
}
26+
}

0 commit comments

Comments
 (0)