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
@use 'sass:math'; | |
/** | |
* Sass function, adapted from: | |
* @link https://chrisburnell.com/clamp-calculator/ | |
*/ | |
@function fs-clamp($min-fs, $max-fs, $min-vw, $max-vw) { | |
$x: div( | |
($max-fs - $min-fs), | |
($max-vw - $min-vw) |
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
<script> | |
import {onMount} from 'svelte'; | |
import {tweened} from 'svelte/motion'; | |
import {cubicOut} from 'svelte/easing'; | |
import {interpolate} from 'polymorph-js'; | |
let svg, path; | |
let pathD; | |
let pathVal = [ |
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
/** | |
* Basic example of routerless store based routing. | |
* To understand what is going on check out | |
* https://svelte.dev/tutorial/writable-stores | |
* https://www.npmjs.com/package/feather-route-matcher | |
*/ | |
// stores.js |
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
// ---- | |
// Sass (v3.4.14) | |
// Compass (v1.0.3) | |
// Toolkit (v2.9.0) | |
// ---- | |
@import "toolkit"; | |
//Sass does some strange stuff with unquoted "and"s. |
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
$colors: ( | |
primary: ( | |
base: #063b6d | |
), | |
accent: ( | |
base: #d40026 | |
), | |
action: ( | |
base: #4c7659 | |
), |