Skip to content

Commit

Permalink
Merge branch 'main' into release-please--branches--main--components--…
Browse files Browse the repository at this point in the history
…navigation
  • Loading branch information
Lunory authored Dec 8, 2023
2 parents 0e3efbf + 480a3ab commit 321416b
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1 +1 @@
* @DarkGenius @Lunory
* @DarkGenius @Lunory @sunduckcow
11 changes: 10 additions & 1 deletion src/components/AsideHeader/__stories__/AsideHeader.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,16 @@ MultipleTooltip.args = {
initialCompact: true,
};

const CustomThemeTemplate: StoryFn = (args) => <AsideHeaderShowcase {...args} />;
const CustomThemeTemplate: StoryFn = (args) => (
<React.Fragment>
<style>
{`.g-root {
--gn-aside-header-menu-item-icon-color: var(--g-color-text-primary);
}`}
</style>
<AsideHeaderShowcase {...args} />
</React.Fragment>
);
export const CustomTheme = CustomThemeTemplate.bind({});
CustomTheme.args = {
headerDecoration: false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,6 @@ body {
}

&__custom-background {
--gn-aside-header-menu-item-icon-color: var(--g-color-text-primary);

opacity: 75%;
}
}
Expand Down

0 comments on commit 321416b

Please sign in to comment.