Skip to content

Commit

Permalink
update snippet
Browse files Browse the repository at this point in the history
  • Loading branch information
mimarz committed Aug 27, 2024
1 parent d1bb335 commit 96c9367
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/theme/components/TokenModal/TokenModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export const TokenModal = ({

const [toolTipText, setToolTipText] = useState('Kopier nettaddresse');

const cliSnippet = `npx @digdir/designsystemet tokens create --accent "${accentColor}" --neutral "${neutralColor}" --brand1 "${brand1Color}" --brand2 "${brand2Color}" --brand3 "${brand3Color}"`;
const cliSnippet = `npx @digdir/designsystemet tokens create --write --accent "${accentColor}" --neutral "${neutralColor}" --brand1 "${brand1Color}" --brand2 "${brand2Color}" --brand3 "${brand3Color}"`;

const onButtonClick = () => {
setToolTipText('Kopiert!');
Expand Down

0 comments on commit 96c9367

Please sign in to comment.