Skip to content

Commit

Permalink
chore: add todos
Browse files Browse the repository at this point in the history
  • Loading branch information
johnchourajr committed May 31, 2024
1 parent c2afea3 commit decdcee
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/tailwind-plugin/buenTypeTailwind.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ type AddUtilities = {
* A module that converts an object of headlines and text definitions into Tailwind CSS utilities.
*
* @todo Explore making minScreenSize and maxScreenSize configurable in createRemClamp
* @todo Make addUtilities a named parameter, importing @tailwindcss/types
* @todo Make return type more specific to what tailwind plugins expect
*/
export function buenTypeTailwind(
{ addUtilities }: { addUtilities: AddUtilities },
Expand All @@ -35,6 +37,10 @@ export function buenTypeTailwind(
return styles;
};

/**
* @todo Look into using deepmerge to merge the default and custom definitions
*/

const mergedHeadlines = {
...DEFAULT_HEADLINE,
...customDefinitions?.customHeadlines,
Expand Down

0 comments on commit decdcee

Please sign in to comment.