├── src ├── global.d.ts ├── utils │ ├── toRem.ts │ ├── clampRange.ts │ ├── toPx.ts │ ├── setToPrecision.ts │ ├── getShareUrl.ts │ ├── parseQueryString.ts │ ├── clickOutside.ts │ └── getClampValue.ts ├── stores │ └── currentSubtitle.ts ├── modules │ ├── graph │ │ ├── store.ts │ │ ├── Graph.svelte │ │ ├── utils.ts │ │ ├── derived.ts │ │ ├── customTooltip.ts │ │ └── consts.ts │ ├── tracker │ │ ├── store.ts │ │ ├── derived.ts │ │ ├── utils.ts │ │ ├── Sort.svelte │ │ ├── Tracker.svelte │ │ ├── AddValue.svelte │ │ └── TableDataRow.svelte │ ├── code │ │ └── Section.svelte │ ├── form │ │ ├── store.ts │ │ └── Form.svelte │ └── tabs │ │ └── Tabs.svelte ├── styles │ ├── globals.pcss │ ├── page.pcss │ ├── typography.pcss │ ├── scrollbar.pcss │ ├── media.pcss │ ├── reset-custom.pcss │ ├── range.pcss │ ├── variables.pcss │ └── normalize.pcss ├── routes │ ├── __layout.svelte │ ├── index.svelte │ ├── __error.svelte │ └── about.svelte ├── components │ ├── Stats.svelte │ ├── ShareButton.svelte │ ├── LineChart.svelte │ ├── Legend.svelte │ ├── InputWithRange.svelte │ ├── Snippet.svelte │ ├── Message.svelte │ ├── Footer.svelte │ └── Header.svelte └── app.html ├── static ├── google6e1010a8fae63903.html ├── favicon.ico ├── robots.txt ├── images │ ├── table.png │ ├── editor.png │ ├── snippet.png │ ├── graph-decrease.png │ └── graph-increase.png ├── favicon-16x16.png ├── favicon-32x32.png ├── mstile-150x150.png ├── apple-touch-icon.png ├── socials-default.jpg ├── android-chrome-192x192.png ├── android-chrome-512x512.png ├── webfonts │ ├── fa-brands-400.ttf │ ├── fa-solid-900.ttf │ ├── fa-brands-400.woff2 │ ├── fa-regular-400.ttf │ ├── fa-solid-900.woff2 │ └── fa-regular-400.woff2 ├── g │ └── images │ │ ├── editor.5a8f99a.2bb048a65192a85028ae21e277cf3ba1.avif │ │ ├── editor.5a8f99a.2bb048a65192a85028ae21e277cf3ba1.png │ │ ├── editor.5a8f99a.2bb048a65192a85028ae21e277cf3ba1.webp │ │ ├── editor.668f068.2bb048a65192a85028ae21e277cf3ba1.avif │ │ ├── editor.668f068.2bb048a65192a85028ae21e277cf3ba1.png │ │ ├── editor.668f068.2bb048a65192a85028ae21e277cf3ba1.webp │ │ ├── editor.a1d08c9.2bb048a65192a85028ae21e277cf3ba1.avif │ │ ├── editor.a1d08c9.2bb048a65192a85028ae21e277cf3ba1.png │ │ ├── editor.a1d08c9.2bb048a65192a85028ae21e277cf3ba1.webp │ │ ├── editor.d9015d2.2bb048a65192a85028ae21e277cf3ba1.avif │ │ ├── editor.d9015d2.2bb048a65192a85028ae21e277cf3ba1.png │ │ ├── editor.d9015d2.2bb048a65192a85028ae21e277cf3ba1.webp │ │ ├── snippet.8509b1a.63b149124717d1f23fc75f409f86c762.png │ │ ├── snippet.a1d08c9.63b149124717d1f23fc75f409f86c762.png │ │ ├── table.48e1f11.c30557c7f994bcd0da96c3395c69ff71.avif │ │ ├── table.48e1f11.c30557c7f994bcd0da96c3395c69ff71.png │ │ ├── table.48e1f11.c30557c7f994bcd0da96c3395c69ff71.webp │ │ ├── table.5a8f99a.c30557c7f994bcd0da96c3395c69ff71.avif │ │ ├── table.5a8f99a.c30557c7f994bcd0da96c3395c69ff71.png │ │ ├── table.5a8f99a.c30557c7f994bcd0da96c3395c69ff71.webp │ │ ├── table.a1d08c9.c30557c7f994bcd0da96c3395c69ff71.avif │ │ ├── table.a1d08c9.c30557c7f994bcd0da96c3395c69ff71.png │ │ ├── table.a1d08c9.c30557c7f994bcd0da96c3395c69ff71.webp │ │ ├── table.d9015d2.c30557c7f994bcd0da96c3395c69ff71.avif │ │ ├── table.d9015d2.c30557c7f994bcd0da96c3395c69ff71.png │ │ ├── table.d9015d2.c30557c7f994bcd0da96c3395c69ff71.webp │ │ ├── snippet.8509b1a.63b149124717d1f23fc75f409f86c762.avif │ │ ├── snippet.8509b1a.63b149124717d1f23fc75f409f86c762.webp │ │ ├── snippet.a1d08c9.63b149124717d1f23fc75f409f86c762.avif │ │ ├── snippet.a1d08c9.63b149124717d1f23fc75f409f86c762.webp │ │ ├── graph-increase.5a8f99a.3e7989db31c3fb99059f7341810d53eb.png │ │ ├── graph-increase.5eb441f.3e7989db31c3fb99059f7341810d53eb.png │ │ ├── graph-increase.a1d08c9.3e7989db31c3fb99059f7341810d53eb.png │ │ ├── graph-increase.d9015d2.3e7989db31c3fb99059f7341810d53eb.png │ │ ├── graph-increase.5a8f99a.3e7989db31c3fb99059f7341810d53eb.avif │ │ ├── graph-increase.5a8f99a.3e7989db31c3fb99059f7341810d53eb.webp │ │ ├── graph-increase.5eb441f.3e7989db31c3fb99059f7341810d53eb.avif │ │ ├── graph-increase.5eb441f.3e7989db31c3fb99059f7341810d53eb.webp │ │ ├── graph-increase.a1d08c9.3e7989db31c3fb99059f7341810d53eb.avif │ │ ├── graph-increase.a1d08c9.3e7989db31c3fb99059f7341810d53eb.webp │ │ ├── graph-increase.d9015d2.3e7989db31c3fb99059f7341810d53eb.avif │ │ └── graph-increase.d9015d2.3e7989db31c3fb99059f7341810d53eb.webp ├── browserconfig.xml ├── site.webmanifest ├── sitemap.xml └── safari-pinned-tab.svg ├── .gitignore ├── .prettierrc ├── postcss.config.cjs ├── .eslintrc.cjs ├── README.md ├── tsconfig.json ├── LICENSE.md ├── svelte.config.js └── package.json /src/global.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /static/google6e1010a8fae63903.html: -------------------------------------------------------------------------------- 1 | google-site-verification: google6e1010a8fae63903.html -------------------------------------------------------------------------------- /src/utils/toRem.ts: -------------------------------------------------------------------------------- 1 | export const toRem = ([value, root]: [number, number]) => value / root; 2 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | node_modules 3 | /build 4 | /.svelte-kit 5 | /package 6 | .env 7 | .env.* 8 | -------------------------------------------------------------------------------- /src/utils/clampRange.ts: -------------------------------------------------------------------------------- 1 | export const clampRange = (num, min, max) => Math.min(Math.max(num, min), max); 2 | -------------------------------------------------------------------------------- /static/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeAdrian/modern-fluid-typography-editor/HEAD/static/favicon.ico -------------------------------------------------------------------------------- /static/robots.txt: -------------------------------------------------------------------------------- 1 | User-agent: * 2 | Allow: / 3 | 4 | Sitemap: https://modern-fluid-typography.vercel.app//sitemap.xml -------------------------------------------------------------------------------- /src/utils/toPx.ts: -------------------------------------------------------------------------------- 1 | export const toPx = ([relativeSize, rootFontSize]: [number, number]) => relativeSize * rootFontSize; 2 | -------------------------------------------------------------------------------- /static/images/table.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeAdrian/modern-fluid-typography-editor/HEAD/static/images/table.png -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "useTabs": true, 3 | "singleQuote": true, 4 | "trailingComma": "none", 5 | "printWidth": 100 6 | } 7 | -------------------------------------------------------------------------------- /src/stores/currentSubtitle.ts: -------------------------------------------------------------------------------- 1 | import { writable } from 'svelte/store'; 2 | 3 | export const currentSubtitle = writable(''); 4 | -------------------------------------------------------------------------------- /static/favicon-16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeAdrian/modern-fluid-typography-editor/HEAD/static/favicon-16x16.png -------------------------------------------------------------------------------- /static/favicon-32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeAdrian/modern-fluid-typography-editor/HEAD/static/favicon-32x32.png -------------------------------------------------------------------------------- /static/images/editor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeAdrian/modern-fluid-typography-editor/HEAD/static/images/editor.png -------------------------------------------------------------------------------- /static/images/snippet.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeAdrian/modern-fluid-typography-editor/HEAD/static/images/snippet.png -------------------------------------------------------------------------------- /static/mstile-150x150.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeAdrian/modern-fluid-typography-editor/HEAD/static/mstile-150x150.png -------------------------------------------------------------------------------- /static/apple-touch-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeAdrian/modern-fluid-typography-editor/HEAD/static/apple-touch-icon.png -------------------------------------------------------------------------------- /static/socials-default.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeAdrian/modern-fluid-typography-editor/HEAD/static/socials-default.jpg -------------------------------------------------------------------------------- /static/android-chrome-192x192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeAdrian/modern-fluid-typography-editor/HEAD/static/android-chrome-192x192.png -------------------------------------------------------------------------------- /static/android-chrome-512x512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeAdrian/modern-fluid-typography-editor/HEAD/static/android-chrome-512x512.png -------------------------------------------------------------------------------- /static/images/graph-decrease.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeAdrian/modern-fluid-typography-editor/HEAD/static/images/graph-decrease.png -------------------------------------------------------------------------------- /static/images/graph-increase.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeAdrian/modern-fluid-typography-editor/HEAD/static/images/graph-increase.png -------------------------------------------------------------------------------- /static/webfonts/fa-brands-400.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeAdrian/modern-fluid-typography-editor/HEAD/static/webfonts/fa-brands-400.ttf -------------------------------------------------------------------------------- /static/webfonts/fa-solid-900.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeAdrian/modern-fluid-typography-editor/HEAD/static/webfonts/fa-solid-900.ttf -------------------------------------------------------------------------------- /static/webfonts/fa-brands-400.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeAdrian/modern-fluid-typography-editor/HEAD/static/webfonts/fa-brands-400.woff2 -------------------------------------------------------------------------------- /static/webfonts/fa-regular-400.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeAdrian/modern-fluid-typography-editor/HEAD/static/webfonts/fa-regular-400.ttf -------------------------------------------------------------------------------- /static/webfonts/fa-solid-900.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeAdrian/modern-fluid-typography-editor/HEAD/static/webfonts/fa-solid-900.woff2 -------------------------------------------------------------------------------- /src/utils/setToPrecision.ts: -------------------------------------------------------------------------------- 1 | export const setToPrecision = (num, decimals) => 2 | Math.round(num * Math.pow(10, decimals)) / Math.pow(10, decimals); 3 | -------------------------------------------------------------------------------- /static/webfonts/fa-regular-400.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeAdrian/modern-fluid-typography-editor/HEAD/static/webfonts/fa-regular-400.woff2 -------------------------------------------------------------------------------- /src/modules/graph/store.ts: -------------------------------------------------------------------------------- 1 | import { writable } from 'svelte/store'; 2 | 3 | const minResolution = writable(300); 4 | const maxResolution = writable(1920); 5 | 6 | export { minResolution, maxResolution }; 7 | -------------------------------------------------------------------------------- /static/g/images/editor.5a8f99a.2bb048a65192a85028ae21e277cf3ba1.avif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeAdrian/modern-fluid-typography-editor/HEAD/static/g/images/editor.5a8f99a.2bb048a65192a85028ae21e277cf3ba1.avif -------------------------------------------------------------------------------- /static/g/images/editor.5a8f99a.2bb048a65192a85028ae21e277cf3ba1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeAdrian/modern-fluid-typography-editor/HEAD/static/g/images/editor.5a8f99a.2bb048a65192a85028ae21e277cf3ba1.png -------------------------------------------------------------------------------- /static/g/images/editor.5a8f99a.2bb048a65192a85028ae21e277cf3ba1.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeAdrian/modern-fluid-typography-editor/HEAD/static/g/images/editor.5a8f99a.2bb048a65192a85028ae21e277cf3ba1.webp -------------------------------------------------------------------------------- /static/g/images/editor.668f068.2bb048a65192a85028ae21e277cf3ba1.avif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeAdrian/modern-fluid-typography-editor/HEAD/static/g/images/editor.668f068.2bb048a65192a85028ae21e277cf3ba1.avif -------------------------------------------------------------------------------- /static/g/images/editor.668f068.2bb048a65192a85028ae21e277cf3ba1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeAdrian/modern-fluid-typography-editor/HEAD/static/g/images/editor.668f068.2bb048a65192a85028ae21e277cf3ba1.png -------------------------------------------------------------------------------- /static/g/images/editor.668f068.2bb048a65192a85028ae21e277cf3ba1.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeAdrian/modern-fluid-typography-editor/HEAD/static/g/images/editor.668f068.2bb048a65192a85028ae21e277cf3ba1.webp -------------------------------------------------------------------------------- /static/g/images/editor.a1d08c9.2bb048a65192a85028ae21e277cf3ba1.avif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeAdrian/modern-fluid-typography-editor/HEAD/static/g/images/editor.a1d08c9.2bb048a65192a85028ae21e277cf3ba1.avif -------------------------------------------------------------------------------- /static/g/images/editor.a1d08c9.2bb048a65192a85028ae21e277cf3ba1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeAdrian/modern-fluid-typography-editor/HEAD/static/g/images/editor.a1d08c9.2bb048a65192a85028ae21e277cf3ba1.png -------------------------------------------------------------------------------- /static/g/images/editor.a1d08c9.2bb048a65192a85028ae21e277cf3ba1.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeAdrian/modern-fluid-typography-editor/HEAD/static/g/images/editor.a1d08c9.2bb048a65192a85028ae21e277cf3ba1.webp -------------------------------------------------------------------------------- /static/g/images/editor.d9015d2.2bb048a65192a85028ae21e277cf3ba1.avif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeAdrian/modern-fluid-typography-editor/HEAD/static/g/images/editor.d9015d2.2bb048a65192a85028ae21e277cf3ba1.avif -------------------------------------------------------------------------------- /static/g/images/editor.d9015d2.2bb048a65192a85028ae21e277cf3ba1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeAdrian/modern-fluid-typography-editor/HEAD/static/g/images/editor.d9015d2.2bb048a65192a85028ae21e277cf3ba1.png -------------------------------------------------------------------------------- /static/g/images/editor.d9015d2.2bb048a65192a85028ae21e277cf3ba1.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeAdrian/modern-fluid-typography-editor/HEAD/static/g/images/editor.d9015d2.2bb048a65192a85028ae21e277cf3ba1.webp -------------------------------------------------------------------------------- /static/g/images/snippet.8509b1a.63b149124717d1f23fc75f409f86c762.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeAdrian/modern-fluid-typography-editor/HEAD/static/g/images/snippet.8509b1a.63b149124717d1f23fc75f409f86c762.png -------------------------------------------------------------------------------- /static/g/images/snippet.a1d08c9.63b149124717d1f23fc75f409f86c762.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeAdrian/modern-fluid-typography-editor/HEAD/static/g/images/snippet.a1d08c9.63b149124717d1f23fc75f409f86c762.png -------------------------------------------------------------------------------- /static/g/images/table.48e1f11.c30557c7f994bcd0da96c3395c69ff71.avif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeAdrian/modern-fluid-typography-editor/HEAD/static/g/images/table.48e1f11.c30557c7f994bcd0da96c3395c69ff71.avif -------------------------------------------------------------------------------- /static/g/images/table.48e1f11.c30557c7f994bcd0da96c3395c69ff71.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeAdrian/modern-fluid-typography-editor/HEAD/static/g/images/table.48e1f11.c30557c7f994bcd0da96c3395c69ff71.png -------------------------------------------------------------------------------- /static/g/images/table.48e1f11.c30557c7f994bcd0da96c3395c69ff71.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeAdrian/modern-fluid-typography-editor/HEAD/static/g/images/table.48e1f11.c30557c7f994bcd0da96c3395c69ff71.webp -------------------------------------------------------------------------------- /static/g/images/table.5a8f99a.c30557c7f994bcd0da96c3395c69ff71.avif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeAdrian/modern-fluid-typography-editor/HEAD/static/g/images/table.5a8f99a.c30557c7f994bcd0da96c3395c69ff71.avif -------------------------------------------------------------------------------- /static/g/images/table.5a8f99a.c30557c7f994bcd0da96c3395c69ff71.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeAdrian/modern-fluid-typography-editor/HEAD/static/g/images/table.5a8f99a.c30557c7f994bcd0da96c3395c69ff71.png -------------------------------------------------------------------------------- /static/g/images/table.5a8f99a.c30557c7f994bcd0da96c3395c69ff71.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeAdrian/modern-fluid-typography-editor/HEAD/static/g/images/table.5a8f99a.c30557c7f994bcd0da96c3395c69ff71.webp -------------------------------------------------------------------------------- /static/g/images/table.a1d08c9.c30557c7f994bcd0da96c3395c69ff71.avif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeAdrian/modern-fluid-typography-editor/HEAD/static/g/images/table.a1d08c9.c30557c7f994bcd0da96c3395c69ff71.avif -------------------------------------------------------------------------------- /static/g/images/table.a1d08c9.c30557c7f994bcd0da96c3395c69ff71.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeAdrian/modern-fluid-typography-editor/HEAD/static/g/images/table.a1d08c9.c30557c7f994bcd0da96c3395c69ff71.png -------------------------------------------------------------------------------- /static/g/images/table.a1d08c9.c30557c7f994bcd0da96c3395c69ff71.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeAdrian/modern-fluid-typography-editor/HEAD/static/g/images/table.a1d08c9.c30557c7f994bcd0da96c3395c69ff71.webp -------------------------------------------------------------------------------- /static/g/images/table.d9015d2.c30557c7f994bcd0da96c3395c69ff71.avif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeAdrian/modern-fluid-typography-editor/HEAD/static/g/images/table.d9015d2.c30557c7f994bcd0da96c3395c69ff71.avif -------------------------------------------------------------------------------- /static/g/images/table.d9015d2.c30557c7f994bcd0da96c3395c69ff71.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeAdrian/modern-fluid-typography-editor/HEAD/static/g/images/table.d9015d2.c30557c7f994bcd0da96c3395c69ff71.png -------------------------------------------------------------------------------- /static/g/images/table.d9015d2.c30557c7f994bcd0da96c3395c69ff71.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeAdrian/modern-fluid-typography-editor/HEAD/static/g/images/table.d9015d2.c30557c7f994bcd0da96c3395c69ff71.webp -------------------------------------------------------------------------------- /static/g/images/snippet.8509b1a.63b149124717d1f23fc75f409f86c762.avif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeAdrian/modern-fluid-typography-editor/HEAD/static/g/images/snippet.8509b1a.63b149124717d1f23fc75f409f86c762.avif -------------------------------------------------------------------------------- /static/g/images/snippet.8509b1a.63b149124717d1f23fc75f409f86c762.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeAdrian/modern-fluid-typography-editor/HEAD/static/g/images/snippet.8509b1a.63b149124717d1f23fc75f409f86c762.webp -------------------------------------------------------------------------------- /static/g/images/snippet.a1d08c9.63b149124717d1f23fc75f409f86c762.avif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeAdrian/modern-fluid-typography-editor/HEAD/static/g/images/snippet.a1d08c9.63b149124717d1f23fc75f409f86c762.avif -------------------------------------------------------------------------------- /static/g/images/snippet.a1d08c9.63b149124717d1f23fc75f409f86c762.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeAdrian/modern-fluid-typography-editor/HEAD/static/g/images/snippet.a1d08c9.63b149124717d1f23fc75f409f86c762.webp -------------------------------------------------------------------------------- /static/g/images/graph-increase.5a8f99a.3e7989db31c3fb99059f7341810d53eb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeAdrian/modern-fluid-typography-editor/HEAD/static/g/images/graph-increase.5a8f99a.3e7989db31c3fb99059f7341810d53eb.png -------------------------------------------------------------------------------- /static/g/images/graph-increase.5eb441f.3e7989db31c3fb99059f7341810d53eb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeAdrian/modern-fluid-typography-editor/HEAD/static/g/images/graph-increase.5eb441f.3e7989db31c3fb99059f7341810d53eb.png -------------------------------------------------------------------------------- /static/g/images/graph-increase.a1d08c9.3e7989db31c3fb99059f7341810d53eb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeAdrian/modern-fluid-typography-editor/HEAD/static/g/images/graph-increase.a1d08c9.3e7989db31c3fb99059f7341810d53eb.png -------------------------------------------------------------------------------- /static/g/images/graph-increase.d9015d2.3e7989db31c3fb99059f7341810d53eb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeAdrian/modern-fluid-typography-editor/HEAD/static/g/images/graph-increase.d9015d2.3e7989db31c3fb99059f7341810d53eb.png -------------------------------------------------------------------------------- /static/g/images/graph-increase.5a8f99a.3e7989db31c3fb99059f7341810d53eb.avif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeAdrian/modern-fluid-typography-editor/HEAD/static/g/images/graph-increase.5a8f99a.3e7989db31c3fb99059f7341810d53eb.avif -------------------------------------------------------------------------------- /static/g/images/graph-increase.5a8f99a.3e7989db31c3fb99059f7341810d53eb.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeAdrian/modern-fluid-typography-editor/HEAD/static/g/images/graph-increase.5a8f99a.3e7989db31c3fb99059f7341810d53eb.webp -------------------------------------------------------------------------------- /static/g/images/graph-increase.5eb441f.3e7989db31c3fb99059f7341810d53eb.avif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeAdrian/modern-fluid-typography-editor/HEAD/static/g/images/graph-increase.5eb441f.3e7989db31c3fb99059f7341810d53eb.avif -------------------------------------------------------------------------------- /static/g/images/graph-increase.5eb441f.3e7989db31c3fb99059f7341810d53eb.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeAdrian/modern-fluid-typography-editor/HEAD/static/g/images/graph-increase.5eb441f.3e7989db31c3fb99059f7341810d53eb.webp -------------------------------------------------------------------------------- /static/g/images/graph-increase.a1d08c9.3e7989db31c3fb99059f7341810d53eb.avif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeAdrian/modern-fluid-typography-editor/HEAD/static/g/images/graph-increase.a1d08c9.3e7989db31c3fb99059f7341810d53eb.avif -------------------------------------------------------------------------------- /static/g/images/graph-increase.a1d08c9.3e7989db31c3fb99059f7341810d53eb.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeAdrian/modern-fluid-typography-editor/HEAD/static/g/images/graph-increase.a1d08c9.3e7989db31c3fb99059f7341810d53eb.webp -------------------------------------------------------------------------------- /static/g/images/graph-increase.d9015d2.3e7989db31c3fb99059f7341810d53eb.avif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeAdrian/modern-fluid-typography-editor/HEAD/static/g/images/graph-increase.d9015d2.3e7989db31c3fb99059f7341810d53eb.avif -------------------------------------------------------------------------------- /static/g/images/graph-increase.d9015d2.3e7989db31c3fb99059f7341810d53eb.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeAdrian/modern-fluid-typography-editor/HEAD/static/g/images/graph-increase.d9015d2.3e7989db31c3fb99059f7341810d53eb.webp -------------------------------------------------------------------------------- /src/styles/globals.pcss: -------------------------------------------------------------------------------- 1 | @import './reset-custom.pcss'; 2 | 3 | @import './variables.pcss'; 4 | @import './icons.pcss'; 5 | 6 | @import './typography.pcss'; 7 | 8 | @import './scrollbar.pcss'; 9 | @import './range.pcss'; 10 | 11 | @import './page.pcss'; 12 | -------------------------------------------------------------------------------- /src/modules/graph/Graph.svelte: -------------------------------------------------------------------------------- 1 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /src/styles/page.pcss: -------------------------------------------------------------------------------- 1 | html { 2 | min-height: 100%; 3 | } 4 | 5 | body { 6 | background-color: var(--color-gray-dark); 7 | color: var(--color-gray-light); 8 | height: 100%; 9 | display: flex; 10 | flex-direction: column; 11 | } 12 | 13 | main { 14 | flex-grow: 1; 15 | } 16 | -------------------------------------------------------------------------------- /src/modules/graph/utils.ts: -------------------------------------------------------------------------------- 1 | export const getScalesConfig = (y: { min: number; max: number; grid?: any }) => { 2 | y.min = x.min + 10; 3 | y.max = x.max + 10; 4 | y.grid = { display: false }; 5 | 6 | return { 7 | scales: { 8 | x: { min: 200, max: 2000 }, 9 | y 10 | } 11 | }; 12 | }; 13 | -------------------------------------------------------------------------------- /src/routes/__layout.svelte: -------------------------------------------------------------------------------- 1 | 5 | 6 |
7 | 8 | 9 | 10 |