Skip to content

Commit

Permalink
Merge branch 'main' into KDS-1953-port-button-fix-from-kaizen-legacy
Browse files Browse the repository at this point in the history
  • Loading branch information
JakePitman authored Nov 20, 2023
2 parents 69aa09b + 391c220 commit 4b8c60a
Show file tree
Hide file tree
Showing 6 changed files with 42 additions and 48 deletions.
2 changes: 2 additions & 0 deletions .changeset/new-cups-poke.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
2 changes: 1 addition & 1 deletion docs/app-starter.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ This guide is all about how to introduce the Kaizen Design System to your app.

Whilst the Kaizen Design System mainly focuses on the more atomic components in your app, some of the components have a high level of complexity requiring various global components to be present in order for them to function.

<InlineNotification persistent type="informative">You won't need to apply any of the below if you have the latest <a href="https://github.com/cultureamp/frontend-template" target="_blank" rel="noreferrer">Frontend template</a> or <a href="https://github.com/cultureamp/next-template">next-template</a>.</InlineNotification>
<InlineNotification persistent type="informative">You won't need to apply any of the below if you have the latest <a href="https://github.com/cultureamp/next-template">next-template</a>.</InlineNotification>
## 1. Add the KaizenProvider

The <LinkTo pageId="components-kaizen-provider-installation">KaizenProvider</LinkTo> feeds your entire app with Kaizen defaults so it's important that it goes at the very root of your application.
Expand Down
6 changes: 0 additions & 6 deletions storybook/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,6 @@ const config = {
name: "@storybook/react-webpack5",
options: {},
},
refs: {
legacy: {
title: "Legacy",
url: "https://main--64bde0b812df1bbcb02a4937.chromatic.com/",
},
},
typescript: {
reactDocgen: "react-docgen-typescript",
reactDocgenTypescriptOptions: {
Expand Down
1 change: 0 additions & 1 deletion storybook/preview.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import "./styles/styles.scss"
import "./styles/tailwind.scss"

import React, { useEffect } from "react"
Expand Down
40 changes: 0 additions & 40 deletions storybook/styles/styles.scss

This file was deleted.

39 changes: 39 additions & 0 deletions storybook/styles/tailwind.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,42 @@
@import "../../packages/components/styles/foundation/styles.css";
@import "highlight.js/styles/a11y-light.css";

@tailwind base;
@tailwind components;
@tailwind utilities;

pre code {
font-family: ui-monospace, "Menlo", "Monaco", "Roboto Mono", "Oxygen Mono",
"Ubuntu Monospace", "Source Code Pro", "Droid Sans Mono", "Courier New",
monospace !important;
font-size: 14px !important;
border: 1px solid rgba(0, 0, 0, 0.1);
border-radius: 4px;
padding: 20px !important;
font-weight: 300 !important;
-webkit-font-smoothing: antialiased;
line-height: 19px;
}

#storybook-docs {
.sbdocs-wrapper {
padding: 2.5rem;
}

.sbdocs-content {
max-width: unset;
}

.sbdocs-a {
color: var(--color-blue-400);

&:hover {
text-decoration: underline;
}

& code {
color: inherit;
text-decoration: underline;
}
}
}

0 comments on commit 4b8c60a

Please sign in to comment.