Skip to content

Commit e79ecff

Browse files
committed
fix: rename CSS variable for icon URL to improve clarity
1 parent 6cc10d6 commit e79ecff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/nimiq-css/src/unocss/icons.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export function getNimiqIcons(options: NimiqColorOptions = {}): Rule<PresetWind3
2424
if (mode === 'mask') {
2525
// Thanks to https://codepen.io/noahblon/post/coloring-svgs-in-css-background-images
2626
cssObject = {
27-
'--un-icon': url,
27+
'--nq-icon': url,
2828
'-webkit-mask': 'var(--nq-icon) no-repeat',
2929
'mask': 'var(--nq-icon) no-repeat',
3030
'-webkit-mask-size': '100% 100%',

0 commit comments

Comments
 (0)