-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Added inter font family - Reduced update poll timer to 1 hour
- Loading branch information
Showing
34 changed files
with
99 additions
and
184 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,167 +1,6 @@ | ||
@font-face { | ||
font-family: 'Helvetica'; | ||
font-style: normal; | ||
font-weight: normal; | ||
src: local('Helvetica'), url('Helvetica.woff') format('woff'); | ||
} | ||
|
||
|
||
@font-face { | ||
font-family: 'Helvetica Oblique'; | ||
font-style: normal; | ||
font-weight: normal; | ||
src: local('Helvetica Oblique'), url('Helvetica-Oblique.woff') format('woff'); | ||
} | ||
|
||
|
||
@font-face { | ||
font-family: 'Helvetica Compressed'; | ||
font-style: normal; | ||
font-weight: normal; | ||
src: local('Helvetica Compressed'), url('helvetica-compressed-5871d14b6903a.woff') format('woff'); | ||
} | ||
|
||
|
||
@font-face { | ||
font-family: 'Helvetica Rounded Bold'; | ||
font-style: normal; | ||
font-weight: normal; | ||
src: local('Helvetica Rounded Bold'), url('helvetica-rounded-bold-5871d05ead8de.woff') format('woff'); | ||
} | ||
|
||
|
||
@font-face { | ||
font-family: 'Helvetica'; | ||
font-style: normal; | ||
font-weight: normal; | ||
src: local('Helvetica'), url('Helvetica-Bold.woff') format('woff'); | ||
} | ||
|
||
|
||
@font-face { | ||
font-family: 'Helvetica Bold Oblique'; | ||
font-style: normal; | ||
font-weight: normal; | ||
src: local('Helvetica Bold Oblique'), url('Helvetica-BoldOblique.woff') format('woff'); | ||
} | ||
|
||
|
||
@font-face { | ||
font-family: 'Helvetica Light'; | ||
font-style: normal; | ||
font-weight: normal; | ||
src: local('Helvetica Light'), url('helvetica-light-587ebe5a59211.woff') format('woff'); | ||
} | ||
|
||
/* #### Generated By: http://font.download #### */ | ||
|
||
@font-face { | ||
font-family: 'Nunito Regular'; | ||
font-style: normal; | ||
font-weight: normal; | ||
src: local('Nunito Regular'), url('Nunito-Regular.woff') format('woff'); | ||
} | ||
|
||
|
||
@font-face { | ||
font-family: 'Nunito Italic'; | ||
font-style: normal; | ||
font-weight: normal; | ||
src: local('Nunito Italic'), url('Nunito-Italic.woff') format('woff'); | ||
} | ||
|
||
|
||
@font-face { | ||
font-family: 'Nunito ExtraLight'; | ||
font-style: normal; | ||
font-weight: normal; | ||
src: local('Nunito ExtraLight'), url('Nunito-ExtraLight.woff') format('woff'); | ||
} | ||
|
||
|
||
@font-face { | ||
font-family: 'Nunito ExtraLight Italic'; | ||
font-style: normal; | ||
font-weight: normal; | ||
src: local('Nunito ExtraLight Italic'), url('Nunito-ExtraLightItalic.woff') format('woff'); | ||
} | ||
|
||
|
||
@font-face { | ||
font-family: 'Nunito Light'; | ||
font-style: normal; | ||
font-weight: normal; | ||
src: local('Nunito Light'), url('Nunito-Light.woff') format('woff'); | ||
} | ||
|
||
|
||
@font-face { | ||
font-family: 'Nunito Light Italic'; | ||
font-style: normal; | ||
font-weight: normal; | ||
src: local('Nunito Light Italic'), url('Nunito-LightItalic.woff') format('woff'); | ||
} | ||
|
||
|
||
@font-face { | ||
font-family: 'Nunito SemiBold'; | ||
font-style: normal; | ||
font-weight: normal; | ||
src: local('Nunito SemiBold'), url('Nunito-SemiBold.woff') format('woff'); | ||
} | ||
|
||
|
||
@font-face { | ||
font-family: 'Nunito SemiBold Italic'; | ||
font-style: normal; | ||
font-weight: normal; | ||
src: local('Nunito SemiBold Italic'), url('Nunito-SemiBoldItalic.woff') format('woff'); | ||
} | ||
|
||
|
||
@font-face { | ||
font-family: 'Nunito Bold'; | ||
font-style: normal; | ||
font-weight: normal; | ||
src: local('Nunito Bold'), url('Nunito-Bold.woff') format('woff'); | ||
} | ||
|
||
|
||
@font-face { | ||
font-family: 'Nunito Bold Italic'; | ||
font-style: normal; | ||
font-weight: normal; | ||
src: local('Nunito Bold Italic'), url('Nunito-BoldItalic.woff') format('woff'); | ||
} | ||
|
||
|
||
@font-face { | ||
font-family: 'Nunito ExtraBold'; | ||
font-style: normal; | ||
font-weight: normal; | ||
src: local('Nunito ExtraBold'), url('Nunito-ExtraBold.woff') format('woff'); | ||
} | ||
|
||
|
||
@font-face { | ||
font-family: 'Nunito ExtraBold Italic'; | ||
font-style: normal; | ||
font-weight: normal; | ||
src: local('Nunito ExtraBold Italic'), url('Nunito-ExtraBoldItalic.woff') format('woff'); | ||
} | ||
|
||
|
||
@font-face { | ||
font-family: 'Nunito Black'; | ||
font-style: normal; | ||
font-weight: normal; | ||
src: local('Nunito Black'), url('Nunito-Black.woff') format('woff'); | ||
} | ||
|
||
|
||
@font-face { | ||
font-family: 'Nunito Black Italic'; | ||
font-style: normal; | ||
font-weight: normal; | ||
src: local('Nunito Black Italic'), url('Nunito-BlackItalic.woff') format('woff'); | ||
} | ||
@font-face { | ||
font-family: 'Inter'; | ||
font-weight: 400 800; | ||
src: url('./inter/inter-variable-font.ttf'); | ||
} |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,49 @@ | ||
<script lang="ts"> | ||
import { createEventDispatcher } from "svelte"; | ||
import Typography from "./Typography.svelte"; | ||
import Icon from "./Icon.svelte"; | ||
import WindowEvent from "$lib/hooks/WindowEvent.svelte"; | ||
export let items: { | ||
type IItem = { | ||
key: string; | ||
name: string; | ||
}[] = []; | ||
export let showDD = false; | ||
export let selectedItem = "Options"; | ||
}; | ||
export let items: IItem[] = []; | ||
export let selectedItem = {} as IItem; | ||
const dispatch = createEventDispatcher(); | ||
let showdd = false; | ||
</script> | ||
|
||
<div class="rounded bg-gray-200"> | ||
<Typography variant="div" weight="normal" fontSize="base"> | ||
{selectedItem} | ||
<!-- <WindowEvent event="mouseup" callback={() => showdd = false} /> --> | ||
<div class="rounded border" on:click|stopPropagation role="none"> | ||
<Typography variant="div" weight="normal" fontSize="base" classname="p-1 px-2 flex justify-between items-center cursor-pointer" | ||
on:click={() => showdd = !showdd} | ||
> | ||
{selectedItem.name || "Select"} <Icon src="/assets/images/chevron.svg" width="18" alt="dd" class={showdd ? "rotate-180" : ""} /> | ||
</Typography> | ||
{#if showdd} | ||
<hr class="mx-3" /> | ||
<div class="mt-2"> | ||
{#if items.length === 0} | ||
<Typography variant="div" weight="normal" fontSize="sm" classname="p-1 px-2 text-gray-600"> | ||
No Items | ||
</Typography> | ||
{:else} | ||
{#each items as item} | ||
<button class="w-full text-start p-1 px-2 hover:bg-gray-100 disabled:text-gray-600" | ||
on:click={() => { | ||
selectedItem = item; | ||
dispatch("select", item); | ||
}} | ||
disabled={selectedItem.key === item.key} | ||
> | ||
<Typography variant="div" weight="normal" fontSize="base"> | ||
{item.name} | ||
</Typography> | ||
</button> | ||
{/each} | ||
{/if} | ||
</div> | ||
{/if} | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.