Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(storybook): use new stylesheet for storybook #991

Merged
merged 3 commits into from
Sep 1, 2023

Conversation

MariaLStefan
Copy link
Collaborator

Closes #965

Proposed Changes

  • add & use new color theme in storybook

@MariaLStefan MariaLStefan temporarily deployed to github-pages June 26, 2023 14:47 — with GitHub Actions Inactive
.os-content .sidebar-subheading {
/* Title Small */
letter-spacing: 0.02px;
font-weight: 600;
color: #CBD0E0; /* n-6 */
color: var(--inovex-elements-n-3);
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why did you pick n-3 over the previous n-6? It's quite a light contrast to the background. I think n-6 would be better, perhaps even higher - for accessibility and general readability.

n-3:
image

n-6:
image

@@ -70,56 +73,71 @@
transition: 0.15s ease-in-out;
}

.os-content .sidebar-item button[data-selected="true"] {
background-color: rgb(var(--inovex-elements-n-3)) !important;
Copy link
Collaborator

@BingeCode BingeCode Jun 29, 2023

Choose a reason for hiding this comment

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

Overriding styles with !important is always risky. It makes it difficult to override this style at a later point. Is there really no way to reach higher rule specifity with css selectors / import ordering?

Copy link
Collaborator

@BingeCode BingeCode left a comment

Choose a reason for hiding this comment

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

Looks good overall, just needs a minor readability fix and perhaps another change.

- for readability
- styling for toolbar buttons
@janivo janivo merged commit e4ce341 into master Sep 1, 2023
6 checks passed
@janivo janivo deleted the elements-#965-use-new-stylesheet-for-storybook branch September 1, 2023 15:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use new Stylesheet in our storybook
3 participants