Skip to content

Commit 9fc1ad5

Browse files
committed
added comment
1 parent 4b3461a commit 9fc1ad5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/scripts/tokens/utils.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ function removeConsecutiveRepeatedWords(str) {
4949
}
5050

5151
// Generates a reference variable for an alias token type
52+
// (e.g., $ion-border-default: var(--ion-border-default, #d5d5d5) → $ion-border-default: var(--ion-border-default, $ion-primitives-neutral-400))
5253
function getAliasReferenceVariable(prop) {
5354
if (typeof prop.$value === 'string' && prop.$value.startsWith('{') && prop.$value.endsWith('}')) {
5455
// Remove curly braces and replace dots with dashes

0 commit comments

Comments
 (0)