Skip to content

Commit 8f73582

Browse files
mdojulien-deramond
authored andcommitted
Fix docs colors
1 parent 4542dd0 commit 8f73582

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

site/src/scss/_component-examples.scss

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,8 @@
126126
.bd-example-cssgrid [class*="grid"] > * {
127127
padding-top: .75rem;
128128
padding-bottom: .75rem;
129-
background-color: rgba(var(--bd-violet-rgb), .15);
130-
border: 1px solid rgba(var(--bd-violet-rgb), .3);
129+
background-color: color-mix(in srgb, var(--bd-violet) 15%, transparent);
130+
border: 1px solid color-mix(in srgb, var(--bd-violet) 30%, transparent);
131131
}
132132

133133
.bd-example-row .row + .row,
@@ -137,12 +137,12 @@
137137

138138
.bd-example-row-flex-cols .row {
139139
min-height: 10rem;
140-
background-color: rgba(var(--bd-violet-rgb), .15);
140+
background-color: color-mix(in srgb, var(--bd-violet) 15%, transparent);
141141
}
142142

143143
.bd-example-flex div:not(.vr) {
144-
background-color: rgba(var(--bd-violet-rgb), .15);
145-
border: 1px solid rgba(var(--bd-violet-rgb), .3);
144+
background-color: color-mix(in srgb, var(--bd-violet) 15%, transparent);
145+
border: 1px solid color-mix(in srgb, var(--bd-violet) 30%, transparent);
146146
}
147147

148148
// // Grid mixins
@@ -246,7 +246,7 @@
246246

247247
.simple-list-example-scrollspy {
248248
.active {
249-
background-color: rgba(var(--bd-violet-rgb), .15);
249+
background-color: color-mix(in srgb, var(--bd-violet) 15%, transparent);
250250
}
251251
}
252252

0 commit comments

Comments
 (0)