File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11<!DOCTYPE html>
22<html >
33 <head >
4- <title >⚗️ {{ title }} | Alembic</title >
4+ <title >{{ emoji or " ⚗️ " }} {{ title }} | Alembic</title >
55 <meta charset =" utf8" />
66 <meta name =" viewport" content =" width=device-width" />
77 <link rel =" stylesheet" href =" {{ '/docs/docs.css' | url }} " />
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ layout: base.njk
88 {% include ' site-nav.njk' %}
99 </header >
1010 <main class =" docsLayout-main" >
11- <h1 >{{ title }} </h1 >
11+ <h1 >{{ emoji }} {{ title }} </h1 >
1212
1313 <stack-layout space =" var(--s3)" >
1414
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ layout: index.njk
33title : Development
44eleventyNavigation :
55 key : Dev
6- order : 5
6+ order : 6
77---
88
99Meta information about developing on Alembic itself
Original file line number Diff line number Diff line change 11---
22layout : index.njk
33title : Labcoat
4+ emoji : " 🥼"
45eleventyNavigation :
56 key : Labcoat
6- order : 4
7+ order : 5
78---
89
910> UNSTABLE
Original file line number Diff line number Diff line change 1+ ---
2+ layout : index.njk
3+ title : Spectacles
4+ emoji : 🥽
5+ eleventyNavigation :
6+ key : Spectacles
7+ order : 5
8+ ---
9+
10+ ** 🚧 This is just an idea being sketched out at the moment 🚧**
11+
12+ Spectacles is an opinionated design system built on-top of Alembic.
13+ It tries to be a clean white-labelled system so that it can fit as many projects as possible.
14+ It builds on top of [ Layouts] ( /layouts/ ) & [ Forms] ( /forms/ )
15+ and adds:
16+
17+ - A system of CSS design tokens
18+ - Custom HTML Elements
19+ - Guidelines
20+ - Icons
21+ - Best practises and patterns for using all of the above
22+
23+ ## Design Tokens
24+
25+ Design tokens are a way to store variables so they can be used in different systems and contexts.
26+ Codifying them helps bring consistency to the overall design and creates more pleasing interfaces.
27+
28+ <!--
29+
30+ ### Axioms
31+
32+ These sit above tokens to generalise their use and make it easier to apply theming within elements
33+
34+ - `--color-text`
35+ - `--color-background`
36+ - `--color-border`
37+ - `--color-focus`
38+ - `--measure`
39+
40+ -->
41+
42+ ### Colour
43+
44+ ???
45+
46+ ### Spacing
47+
48+ - ` --space-0 ` - smallest spacing
49+ - ` --space-1 `
50+ - ` --space-2 `
51+ - ` --space-3 `
52+ - ` --space-4 `
53+ - ` --space-5 ` — the default space
54+ - ` --space-6 `
55+ - ` --space-7 `
56+ - ` --space-8 `
57+ - ` --space-9 `
58+ - ` --space-10 ` - largest spacing
59+
60+ ### Line height
61+
62+ - ` --line-height-body: 1.4 `
63+ - ` --line-height-heading: 1.1 `
64+
65+ ### Font size
66+
67+ Maybe generated from something like [ typescale.com] ( https://typescale.com/ ) ?
68+
69+ - ` --font-size-xxl `
70+ - ` --font-size-xl `
71+ - ` --font-size-l `
72+ - ` --font-size `
73+ - ` --font-size-s `
74+ - ` --font-size-xs `
75+ - ` --font-size-xxs `
76+
77+ ### Font family
78+
79+ - ` --font-family-body `
80+ - ` --font-family-heading `
81+ - ` --font-family-code `
82+
83+ ### Font weight
84+
85+ - ` --font-weight-body `
86+ - ` --font-weight-heading `
87+ - ` --font-weight-code `
88+ - ` --font-weight-strong `
89+
90+ ### Border radius
91+
92+ - ` --border-radius-sharp `
93+ - ` --border-radius-small `
94+ - ` --border-radius `
95+ - ` --border-radius-large `
96+ - ` --border-radius-circle `
97+ - ` --border-radius-pill `
98+
99+ ### Border thickness
100+
101+ - ` --border-width-thin `
102+ - ` --border-width-thick `
103+
104+ - ???
You can’t perform that action at this time.
0 commit comments