-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathStyleGuide.elm
More file actions
54 lines (41 loc) · 1.16 KB
/
StyleGuide.elm
File metadata and controls
54 lines (41 loc) · 1.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
module StyleGuide exposing (breakpoint, color, colorRaw, fontFamily, spacing, textSize)
import Css exposing (fontFamilies, fontSize, hex, px, rem)
import Css.Media as Media exposing (only, screen, withMedia)
colorRaw =
{ primary = "#D872E9"
, background = "#000000"
}
color =
{ text = hex "FFFFFF"
, link = hex "E499F0"
, linkHover = hex "C770D5"
, icon = hex "FFFFFF"
, background = hex colorRaw.background
, backgroundAlpha = hex "00000042"
, combinator = hex "36223A"
, language = hex "C770D5"
, primary = hex colorRaw.primary
, footer = hex "1C1C1C"
}
textSize =
{ small = fontSize (rem 0.75)
, normal = fontSize (rem 1)
, medium = fontSize (rem 1.5)
, large = fontSize (rem 2)
, xLarge = fontSize (rem 2.5)
, xxLarge = fontSize (rem 4)
}
spacing =
{ tiny = rem 0.5
, small = rem 1
, medium = rem 2
, large = rem 3
, xLarge = rem 4
}
fontFamily =
{ primary = fontFamilies [ "Ropa Sans", "sans-serif" ]
, secondary = fontFamilies [ "Rhodium Libre", "serif" ]
}
breakpoint =
{ tablet = withMedia [ only screen [ Media.maxWidth (px 800) ] ]
}