Skip to content

Commit 555336e

Browse files
chore: migrate from deprecated sass function (#3450)
1 parent f5b056c commit 555336e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/elements/src/components/app/theme.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@
142142
}
143143

144144
@function hexToRGB($hexCode) {
145-
@return red($hexCode) green($hexCode) blue($hexCode);
145+
@return color.channel($hexCode, 'red', $space: rgb) color.channel($hexCode, 'green', $space: rgb) color.channel($hexCode, 'blue', $space: rgb);
146146
}
147147

148148
:host(:not([theme='dark'])) {

0 commit comments

Comments
 (0)