diff --git a/src/app.css b/src/app.css index 6c8ebf2..9b00298 100644 --- a/src/app.css +++ b/src/app.css @@ -38,13 +38,13 @@ body { --white: #fff; --accent-color: #9fd5ff; --accent-color-two: hsl(207, 65%, 90%); - --bg-color: #1a1c1e; + --bg-color: hsl(240, 5%, 11%); --grey-one: #252b31; --grey-two: #28313b; --grey-three: #373e4d; --grey-four: #1b1e29; --grey-five: hsl(208, 30%, 75%); - --grey-six: hsla(223, 17%, 16%, 0.655); + --grey-six: hsla(223, 14%, 15%, 0.655); --grey-seven: #535563; --bezier-one: cubic-bezier(0.25, 0.46, 0.45, 0.94); } diff --git a/src/data/api/index.ts b/src/data/api/index.ts index 9da5310..f358cb3 100644 --- a/src/data/api/index.ts +++ b/src/data/api/index.ts @@ -120,13 +120,15 @@ export class API implements Readable { } // API Endpoints -import type { Patch, Repository } from '../types'; +import type { Patch, Repository, Tool } from '../types'; import { dev_log } from "$lib/utils"; export type ContribData = { repositories: Repository[] }; export type PatchesData = { patches: Patch[]; packages: string[] }; +export type ToolsData = { tools: Tool[] }; export const contributors = new API("contributors", undefined, { repositories: [] }); +export const tools = new API("tools", undefined, { tools: [] } ) export const patches = new API("patches", patches => { let packages: string[] = []; diff --git a/src/data/types.ts b/src/data/types.ts index 0e1a61d..08bd849 100644 --- a/src/data/types.ts +++ b/src/data/types.ts @@ -32,3 +32,13 @@ export interface PatchOption { required: boolean; choices: string[]; } + +export interface Tool { + repository: string + version: string + timestamp: string + name: string + size?: string + browser_download_url: string + content_type: string +} diff --git a/src/lib/components/atoms/Button.svelte b/src/lib/components/atoms/Button.svelte index 64250e8..3b805b1 100644 --- a/src/lib/components/atoms/Button.svelte +++ b/src/lib/components/atoms/Button.svelte @@ -2,13 +2,13 @@ export let kind = 'secondary'; $: type = 'button-' + kind; export let href = '#'; - export let maxWidth = 'false'; + export let maxWidth = false; export let icon = ''; - -
- {icon} + +
+ {icon}
diff --git a/src/routes/download/+page.svelte b/src/routes/download/+page.svelte index 2b6016c..77b3424 100644 --- a/src/routes/download/+page.svelte +++ b/src/routes/download/+page.svelte @@ -1,8 +1,45 @@ -
- +

ReVanced Manager

+
Patch your favourite apps, on-device.
+ + Manager Screenshot
+ +