Skip to content

Commit

Permalink
chore: remove errant components layer use, simplify story component i…
Browse files Browse the repository at this point in the history
…mports
  • Loading branch information
jamiehenson committed Mar 18, 2024
1 parent 6d18fc2 commit e0dbaa1
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 27 deletions.
48 changes: 23 additions & 25 deletions .storybook/application.css
Original file line number Diff line number Diff line change
@@ -1,28 +1,26 @@
@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@200;300;400;500;600;700;800&display=swap");

@layer components {
.pi-checkered-bg {
--size: 0.25rem;
--double: calc(var(--size) * 2);
--bg: #eee;
--fg: #ddd;
background: linear-gradient(
45deg,
var(--fg) 25%,
transparent 25.1%,
transparent 74.9%,
var(--fg) 75%
),
linear-gradient(
45deg,
var(--fg) 25%,
transparent 25.1%,
transparent 74.9%,
var(--fg) 75%
),
var(--bg);
background-repeat: repeat, repeat;
background-position: 0 0, var(--size) var(--size);
background-size: var(--double) var(--double), var(--double) var(--double);
}
.pi-checkered-bg {
--size: 0.25rem;
--double: calc(var(--size) * 2);
--bg: #eee;
--fg: #ddd;
background: linear-gradient(
45deg,
var(--fg) 25%,
transparent 25.1%,
transparent 74.9%,
var(--fg) 75%
),
linear-gradient(
45deg,
var(--fg) 25%,
transparent 25.1%,
transparent 74.9%,
var(--fg) 75%
),
var(--bg);
background-repeat: repeat, repeat;
background-position: 0 0, var(--size) var(--size);
background-size: var(--double) var(--double), var(--double) var(--double);
}
2 changes: 1 addition & 1 deletion src/core/CustomerLogos/CustomerLogos.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import CustomerLogos from "../CustomerLogos/component.jsx";
import CustomerLogos from "./component.jsx";

import hubspot from "../images/cust-logo-hubspot-mono-pos.svg";
import webflow from "../images/cust-logo-webflow-col-pos.svg";
Expand Down
2 changes: 1 addition & 1 deletion src/core/Meganav/Meganav.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React, { useEffect } from "react";
import { rest } from "msw";

import Meganav from "../../../src/core/Meganav/component.jsx";
import Meganav from "./component.jsx";
import loadIcons from "../icons.js";
import logo from "../images/ably-logo.png";
import ablyStack from "../images/ably-stack.svg";
Expand Down

0 comments on commit e0dbaa1

Please sign in to comment.