@terrahq/design-system 0.0.3 → 0.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +58 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -5,9 +5,66 @@ This package is a small helper for building demos or small projects outside of o
|
|
|
5
5
|
You can include the following stylesheet in your project:
|
|
6
6
|
|
|
7
7
|
```
|
|
8
|
-
<link rel="stylesheet" href="https://unpkg.com/@terrahq/design-system@
|
|
8
|
+
<link rel="stylesheet" href="https://unpkg.com/@terrahq/design-system@latest/dist/style.css">
|
|
9
9
|
|
|
10
10
|
```
|
|
11
11
|
|
|
12
|
+
### Features
|
|
13
|
+
|
|
14
|
+
### breakpoints names
|
|
15
|
+
```
|
|
16
|
+
desktop: 1700px;
|
|
17
|
+
laptop: 1570px;
|
|
18
|
+
tabletl: 1300px;
|
|
19
|
+
tabletm: 1024px;
|
|
20
|
+
tablets: 810px;
|
|
21
|
+
mobile: 580px;
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
### colors
|
|
25
|
+
|
|
26
|
+
```
|
|
27
|
+
/* Core Colors */
|
|
28
|
+
$color-a: #0f0f0f;
|
|
29
|
+
$color-b: #fefefe;
|
|
30
|
+
$color-c: #f7f8f4;
|
|
31
|
+
|
|
32
|
+
/* Accent Color */
|
|
33
|
+
$color-d: #7ce55e;
|
|
34
|
+
$color-e: #2d9f66;
|
|
35
|
+
$color-f: #429ed6;
|
|
36
|
+
$color-g: #fdb335;
|
|
37
|
+
$color-h: #f76e4a;
|
|
38
|
+
$color-i: #f58dd7;
|
|
39
|
+
```
|
|
40
|
+
<br><br>
|
|
41
|
+
|
|
42
|
+
#### Foundation
|
|
43
|
+
- Grid:
|
|
44
|
+
- .f--container || .f--container--fluid
|
|
45
|
+
- .f--row || .f--row--remove-gutter
|
|
46
|
+
- .f--col-#{$i} 1 to 12 (columns) or f--col-#{$size}-#{$i}
|
|
47
|
+
- .f--offset-#{$i} 0 to 12 (columns) or f--offset-#{$size}-#{$i}
|
|
48
|
+
|
|
49
|
+
- Color: Terra Branded colors .f--color-a/i
|
|
50
|
+
- Background: Terra Brand Colors .f--color-a/e
|
|
51
|
+
- Aspect Ratio (1.7 - 1 - 1.3 - 0.75)
|
|
52
|
+
- Spacing .f--#{$attr-short}-#{$value} or .f--#{$attr-short}-#{$breakpoint-name}-#{$value}
|
|
53
|
+
- Section .f--section-#{letter}
|
|
54
|
+
- Gap .f--gap-#{letter}
|
|
55
|
+
|
|
56
|
+
#### Utilities
|
|
57
|
+
|
|
58
|
+
- Align Items .u--align-items-#{$name} or u--align-items-#{$breakpoint-name}-#{$name}
|
|
59
|
+
- Display .u--display-#{$name} or .u--display-#{$breakpoint-name}-#{$name}
|
|
60
|
+
- Flex-wrap .u--flex-wrap-#{$name} or .u--flex-wrap-#{$breakpoint-name}-#{$name}
|
|
61
|
+
- Font Style .u--font-style-#{$name} or .u--font-style-#{$breakpoint-name}-#{$name}
|
|
62
|
+
- Font Weight .u--font-weight-#{$name} or .u--font-weight-#{$breakpoint-name}-#{$name}
|
|
63
|
+
- Justify Content .u--justify-content-#{$name} or .u--justify-content-#{$breakpoint-name}-#{$name}
|
|
64
|
+
- Overflow .u--overflow-#{$name} or .u--overflow-#{$breakpoint-name}-#{$name}
|
|
65
|
+
- Position .u--position-#{$name} or .u--position-#{$breakpoint-name}-#{$name}
|
|
66
|
+
- Text-align .u--text-align-#{$name} or .u--position-#{$breakpoint-name}-#{$name}
|
|
67
|
+
|
|
68
|
+
<br>
|
|
12
69
|
Note: This is not intended for use in ongoing projects.
|
|
13
70
|
|