Skip to content

Commit

Permalink
fix: use canary tag for publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
ivarni committed Aug 26, 2024
1 parent a14f51b commit 9169405
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 15 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"cypress:open": "ELECTRON_EXTRA_LAUNCH_ARGS=\"--force-prefers-reduced-motion\" cypress open --project .",
"cypress:dev": "cypress open --project . --config baseUrl=http://localhost:8000",
"release": "pnpm build && lerna publish --conventional-graduate",
"release:alpha": "pnpm build && lerna publish --conventional-prerelease --no-git-tag-version --no-changelog --no-private",
"release:alpha": "pnpm build && lerna publish --conventional-prerelease --no-git-tag-version --no-changelog --no-private --dist-tag canary",
"release-gh": "lerna publish from-package",
"dev": "pnpm --filter \"@fremtind/portal\" dev",
"start": "pnpm dev",
Expand Down
22 changes: 10 additions & 12 deletions packages/accordion-react/src/Accordion.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,13 @@ export interface AccordionProps extends WithChildren {
id?: string;
}

export const Accordion: FC<AccordionProps> = ({ className, density, id, ...rest }) => {
return (
<section
role="group"
data-testid="jkl-accordion"
className={cn("jkl-accordion", className)}
data-density={density}
id={id}
{...rest}
/>
);
};
export const Accordion: FC<AccordionProps> = ({ className, density, id, ...rest }) => (
<section
role="group"
data-testid="jkl-accordion"
className={cn("jkl-accordion", className)}
data-density={density}
id={id}
{...rest}
/>
);
4 changes: 2 additions & 2 deletions packages/accordion/accordion.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@
@use "@fremtind/jkl-core/jkl";

@include jkl.light-mode-variables {
--jkl-accordion-expanded-background: #{jkl.$color-hvit};
--jkl-accordion-border: #{jkl.$color-svaberg};
--jkl-accordion-focus: #{jkl.$color-focus-color};
--jkl-accordion-hover: #{jkl.$color-stein};
--jkl-accordion-expanded-background: #{jkl.$color-hvit};
}

@include jkl.dark-mode-variables {
--jkl-accordion-expanded-background: #{jkl.$color-skifer};
--jkl-accordion-border: #{jkl.$color-stein};
--jkl-accordion-focus: #{jkl.$color-focus-color--darkbg};
--jkl-accordion-hover: #{jkl.$color-svaberg};
--jkl-accordion-expanded-background: #{jkl.$color-skifer};
}

@include jkl.comfortable-density-variables {
Expand Down

0 comments on commit 9169405

Please sign in to comment.