Skip to content

Commit 7624731

Browse files
committed
minor updates
1 parent d2a7d95 commit 7624731

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

README.md

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Scratch Helpers
2-
Helper classes for scratch framework. They use Scratch as a base. It's purpose of using is to write them inline in HTML for just easy markup.
2+
Helper classes for scratch framework. They use Scratch as a base. It's purpose of using is to write them inline in HTML for just easy markup.
33

44
[![Gitter](https://img.shields.io/gitter/room/nwjs/nw.js.svg)](https://gitter.im/scratch-css/helpers)
55
[![npm (scoped)](https://img.shields.io/npm/v/@nikoloza/scratch-helpers.svg)](https://www.npmjs.com/package/@nikoloza/scratch-helpers)
@@ -88,12 +88,15 @@ Also, families can be divided by type, as they may have `serif`, `sans-serif` or
8888
- `.font-size-h10`
8989

9090
#### Font weight
91-
- `.font-slim`
91+
- `.font-thin`
92+
- `.font-extralight`
9293
- `.font-light`
9394
- `.font-regular`
95+
- `.font-medium`
9496
- `.font-semibold`
9597
- `.font-bold`
9698
- `.font-extrabold`
99+
- `.font-black`
97100

98101
#### Text transform
99102
- `.text-transform-reset`

lib/typography/styles.css

+5-2
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,12 @@
55
.text-capitalize { text-transform: capitalize }
66

77
/* weight */
8-
.font-slim { font-weight: var(--font-slim) }
8+
.font-thin { font-weight: var(--font-thin) }
9+
.font-extralight { font-weight: var(--font-extralight) }
910
.font-light { font-weight: var(--font-light) }
1011
.font-regular { font-weight: var(--font-regular) }
12+
.font-medium { font-weight: var(--font-medium) }
1113
.font-semibold { font-weight: var(--font-semibold) }
1214
.font-bold { font-weight: var(--font-bold) }
13-
.font-extrabold { font-weight: var(--font-extrabold) }
15+
.font-extrabold { font-weight: var(--font-extrabold) }
16+
.font-black { font-weight: var(--font-black) }

0 commit comments

Comments
 (0)