Skip to content
This repository has been archived by the owner on Oct 15, 2024. It is now read-only.

Amélioration de l'UI de notre design system (storybook) #72

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

RomainSav
Copy link
Member

No description provided.

…m documentation

✨ feat(.storybook): add custom theme to Storybook manager UI
📦 chore(package.json): add @storybook/theming package as a dependency
The meta tags and styles added to the manager-head.html file improve the design system documentation by providing a more complete and consistent experience for users. The custom theme added to the Storybook manager UI improves the branding and visual consistency of the design system. The @storybook/theming package is added as a dependency to enable the use of custom themes in Storybook.
@RomainSav RomainSav added the documentation Improvements or additions to documentation label Jun 26, 2023
@RomainSav RomainSav added this to the V0.5.0 milestone Jun 26, 2023
@RomainSav RomainSav requested a review from Bluzzi June 26, 2023 20:25
@RomainSav RomainSav self-assigned this Jun 26, 2023
Copy link
Member

@Bluzzi Bluzzi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tu peux merge quand tu à check les deux points de la review.

appBorderColor: "#1E1E1F",
appBorderRadius: 4,

// Toolbar colors :
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

En anglais les : sont collés ! :p

Comment on lines 1 to 4
<meta name="description" content="Le système de conception du Royaume offre une expérience utilisateur cohérente et esthétique à travers notre site internet, grâce à des principes, composants et directives de conception réutilisables.">

<meta name="og:title" content="Système de conception du Royaume">
<meta name="og:description" content="Le système de conception du Royaume offre une expérience utilisateur cohérente et esthétique à travers notre site internet, grâce à des principes, composants et directives de conception réutilisables.">
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Je pense qu'il est mieux d'utiliser le therme "Design System" même en français !

The meta tags in the `.storybook/manager-head.html` file have been updated to reflect the correct name of the design system, which is "Design system du Royaume" in French. The `theme.ts` file has been updated to improve the readability of the comments by removing unnecessary spaces and adding a colon after the section titles. No functional changes have been made.
🚚 chore(.storybook/theme.ts): import create from @storybook/theming instead of @storybook/theming/create
The storybook-static directory is no longer being ignored as it is now required to be tracked in the repository. The import statement in the theme.ts file has been updated to import the create function from the @storybook/theming package instead of @storybook/theming/create. This is because the create function has been moved to the root of the package.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants