Skip to content

Commit

Permalink
Add exports and fix css paths
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchthorson committed Dec 21, 2023
1 parent 40bb835 commit fcd70f4
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/lib/BasicDropdown/BasicDropdown.svelte
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<script>
import { createEventDispatcher } from "svelte";
import { urbanColors } from "$lib/utils";
import "$lib/style/app.css";
import "../style/app.css";
// define arguments
Expand Down
2 changes: 1 addition & 1 deletion src/lib/HeadingAlt/HeadingAlt.svelte
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<script>
import "$lib/style/app.css";
import "../style/app.css";
export let content = "";
</script>

Expand Down
2 changes: 1 addition & 1 deletion src/lib/Navbar/Navbar.svelte
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<script>
import "$lib/style/app.css";
import "../style/app.css";
import LogoUrban from "$lib/LogoUrbanBadge/LogoUrbanBadge.svelte";
import LogoTPC from "$lib/LogoTPCBadge/LogoTPCBadge.svelte";
Expand Down
1 change: 1 addition & 0 deletions src/lib/ProjectCredits/ProjectCredits.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
import Heading from "$lib/HeadingAlt/HeadingAlt.svelte";
import TextBlock from "$lib/TextBlock/TextBlock.svelte";
import Block from "$lib/Block/Block.svelte"
import "../style/app.css";
/**
* Heading to display above credits block
Expand Down
2 changes: 1 addition & 1 deletion src/lib/Scorecard/Scorecard.svelte
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<script>
import "$lib/style/app.css";
import "../style/app.css";
/**
* @type {string} Scorecard value
*/
Expand Down
2 changes: 1 addition & 1 deletion src/lib/TextBlock/TextBlock.svelte
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<script>
import "$lib/style/app.css";
import "../style/app.css";
import Block from "$lib/Block/Block.svelte";
/**
* The text to display in the block. Allows HTML content.
Expand Down
7 changes: 7 additions & 0 deletions src/lib/index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
// Reexport your entry components here
export { default as BasicDropdown } from './BasicDropdown/BasicDropdown.svelte';
export { default as Scorecard } from './Scorecard/Scorecard.svelte';
export { default as HeadingAlt } from './HeadingAlt/HeadingAlt.svelte';
export { default as LogoTPCBadge } from './LogoTPCBadge/LogoTPCBadge.svelte';
export { default as LogoUrbanBadge } from './LogoUrbanBadge/LogoUrbanBadge.svelte';
export { default as Navbar } from './Navbar/Navbar.svelte';
export { default as ProjectCredits } from './ProjectCredits/ProjectCredits.svelte';
export { default as SocialShare } from './SocialShare/SocialShare.svelte';
export { default as TextBlock } from './TextBlock/TextBlock.svelte';
2 changes: 1 addition & 1 deletion src/stories/TPCColors.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Meta, ColorPalette, ColorItem } from "@storybook/blocks";
import { tpcColors } from "$lib/utils";
import { tpcColors } from "../lib/utils";

<Meta title="utils/tpcColors" />

Expand Down

0 comments on commit fcd70f4

Please sign in to comment.