Skip to content

Commit

Permalink
Added contrast mode to hidden button
Browse files Browse the repository at this point in the history
  • Loading branch information
Thunear committed Jun 6, 2024
1 parent c9eef0e commit 882c6e0
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions apps/theme/components/TokenModal/TokenModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -242,23 +242,29 @@ export const TokenModal = ({
</Tabs.Tab>
{showGlobals && (
<>
<Tabs.Tab
onClick={() => generateThemeJson('contrast')}
value='value3'
>
Contrast Mode
</Tabs.Tab>
<Tabs.Tab
onClick={() => genereateGlobalsJson('light')}
value='value4'
>
G: Light
G:Light
</Tabs.Tab>
<Tabs.Tab
onClick={() => genereateGlobalsJson('dark')}
value='value5'
>
G: Dark
G:Dark
</Tabs.Tab>
<Tabs.Tab
onClick={() => genereateGlobalsJson('contrast')}
value='value6'
>
G: Contrast
G:Contrast
</Tabs.Tab>
</>
)}
Expand Down

0 comments on commit 882c6e0

Please sign in to comment.