Skip to content

Commit

Permalink
add a couple of comments where needed
Browse files Browse the repository at this point in the history
Signed-off-by: Adham AboHasson <[email protected]>
  • Loading branch information
AdhamAH committed Jan 21, 2025
1 parent 21178b1 commit f9e9886
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions proprietary/design-tokens/build.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { readFile, writeFile } from 'node:fs/promises';
import path from 'path';
import StyleDictionary from 'style-dictionary';

// Will take the theme name and remove all spaces and make it lowercase
const normalizeThemeName = (name) => {
return name.toLowerCase().replace(/\s+/g, '');
};
Expand Down
2 changes: 2 additions & 0 deletions proprietary/design-tokens/token-transformer.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ import { existsSync, mkdirSync } from 'fs';
import { readFile, writeFile } from 'node:fs/promises';

import { transformTokens } from 'token-transformer';

// the commented options and their values are default values from the token-transformer package
const transformerOptions = {
// expandTypography: true,
// expandShadow: true,
Expand Down

0 comments on commit f9e9886

Please sign in to comment.