Skip to content

Commit 91235f4

Browse files
author
streamich
committed
more atoms
1 parent f1f1211 commit 91235f4

File tree

3 files changed

+23
-19
lines changed

3 files changed

+23
-19
lines changed

index.js

+2
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,13 @@ exports.atoms = {
2323
bg: 'background',
2424
fz: 'font-size',
2525
fs: 'font-style',
26+
lh: 'line-height',
2627
bxz: 'box-sizing',
2728
cur: 'cursor',
2829
ov: 'overflow',
2930
pos: 'position',
3031
ls: 'list-style',
32+
ta: 'text-align',
3133
td: 'text-decoration',
3234
fl: 'float',
3335
w: 'width',

index.ts

+20-18
Original file line numberDiff line numberDiff line change
@@ -8,24 +8,26 @@ export function extend<T> (obj1: T, obj2: T, ...objs: T[]): T {
88

99

1010
export var atoms = {
11-
d: 'display',
12-
mar: 'margin',
13-
pad: 'padding',
14-
bd: 'border',
15-
col: 'color',
16-
op: 'opacity',
17-
bg: 'background',
18-
fz: 'font-size',
19-
fs: 'font-style',
20-
bxz: 'box-sizing',
21-
cur: 'cursor',
22-
ov: 'overflow',
23-
pos: 'position',
24-
ls: 'list-style',
25-
td: 'text-decoration',
26-
fl: 'float',
27-
w: 'width',
28-
h: 'height',
11+
d: 'display',
12+
mar: 'margin',
13+
pad: 'padding',
14+
bd: 'border',
15+
col: 'color',
16+
op: 'opacity',
17+
bg: 'background',
18+
fz: 'font-size',
19+
fs: 'font-style',
20+
lh: 'line-height',
21+
bxz: 'box-sizing',
22+
cur: 'cursor',
23+
ov: 'overflow',
24+
pos: 'position',
25+
ls: 'list-style',
26+
ta: 'text-align',
27+
td: 'text-decoration',
28+
fl: 'float',
29+
w: 'width',
30+
h: 'height',
2931
};
3032

3133

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "css-light",
33
"description": "Write CSS in JavaScript",
4-
"version": "1.0.2",
4+
"version": "1.0.3",
55
"keywords": [
66
"css",
77
"javascript",

0 commit comments

Comments
 (0)