summaryrefslogtreecommitdiff
path: root/scss/variables/typography.xs.scss
diff options
context:
space:
mode:
authorJoe Carstairs <65492573+Sycamost@users.noreply.github.com>2023-10-19 23:13:30 +0100
committerGitHub <noreply@github.com>2023-10-19 23:13:30 +0100
commita1cabdeaaf3bade1bd0872bcafc52c81f1c31ce8 (patch)
treecd9c075bbd590a65081cf2f97052a4087897cf55 /scss/variables/typography.xs.scss
parentd26ea8906e2a2c96ecfdea48ab4f0c8343eabf50 (diff)
Optimise CSS (#17)
* Installs Sass * installs concurrently * Ports CSS to SCSS * Gitignores CSS build output * Moves public/main.css to scss/index.scss * Fixes port to SCSS * Use-ifies base styles * Use-ifies layout styles * Use-ifies modules styles * Use-ifies variables * Use-ifies utils * Moves normalize to scss * Implements a CSS minifying step with CSSO --------- Co-authored-by: Joe Carstairs <jcarstairs@scottlogic.com>
Diffstat (limited to 'scss/variables/typography.xs.scss')
-rw-r--r--scss/variables/typography.xs.scss9
1 files changed, 9 insertions, 0 deletions
diff --git a/scss/variables/typography.xs.scss b/scss/variables/typography.xs.scss
new file mode 100644
index 0000000..6375aad
--- /dev/null
+++ b/scss/variables/typography.xs.scss
@@ -0,0 +1,9 @@
+:root {
+ --font-size-0: calc(6 * var(--relative-eighth-rem));
+ --font-size-1: calc(8 * var(--relative-eighth-rem));
+ --font-size-2: calc(11 * var(--relative-eighth-rem));
+ --font-size-3: calc(14 * var(--relative-eighth-rem));
+ --font-size-4: calc(18 * var(--relative-eighth-rem));
+ --font-size-5: calc(23 * var(--relative-eighth-rem));
+ --font-size-6: calc(28 * var(--relative-eighth-rem));
+} \ No newline at end of file