Skip to content

Commit

Permalink
fix: change all variables to --un prefex (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
ws-rush committed Feb 9, 2023
1 parent 137ab0b commit 8c38265
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ export function presetForms(): Preset {
'background-color': '#fff',
'border-color': theme.colors.gray['500'],
'border-width': borderWidth.DEFAULT,
'--tw-shadow': '0 0 #0000',
'--un-shadow': '0 0 #0000',
},
},
{
Expand All @@ -192,13 +192,13 @@ export function presetForms(): Preset {
styles: {
'outline': '2px solid transparent',
'outline-offset': '2px',
'--tw-ring-inset': 'var(--tw-empty,/*!*/ /*!*/)',
'--tw-ring-offset-width': '2px',
'--tw-ring-offset-color': '#fff',
'--tw-ring-color': theme.colors.blue['600'],
'--tw-ring-offset-shadow': `var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)`,
'--tw-ring-shadow': `var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color)`,
'box-shadow': `var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)`,
'--un-ring-inset': 'var(--un-empty,/*!*/ /*!*/)',
'--un-ring-offset-width': '2px',
'--un-ring-offset-color': '#fff',
'--un-ring-color': theme.colors.blue['600'],
'--un-ring-offset-shadow': `var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color)`,
'--un-ring-shadow': `var(--un-ring-inset) 0 0 0 calc(2px + var(--un-ring-offset-width)) var(--un-ring-color)`,
'box-shadow': `var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow)`,
},
},
{
Expand Down

0 comments on commit 8c38265

Please sign in to comment.