Skip to content
This repository was archived by the owner on Dec 19, 2024. It is now read-only.

Commit ace4a48

Browse files
Maksim KoretskiyMoOx
Maksim Koretskiy
authored andcommitted
Add postcss-initial
1 parent cba3b6c commit ace4a48

File tree

4 files changed

+116
-0
lines changed

4 files changed

+116
-0
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242
"postcss-custom-properties": "^5.0.0",
4343
"postcss-custom-selectors": "^3.0.0",
4444
"postcss-font-variant": "^2.0.0",
45+
"postcss-initial": "^1.3.1",
4546
"postcss-media-minmax": "^2.1.0",
4647
"postcss-pseudo-class-any-link": "^1.0.0",
4748
"postcss-pseudoelements": "^3.0.0",
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
a {
2+
all: initial;
3+
}
4+
5+
a {
6+
animation: initial;
7+
background: initial;
8+
border: initial;
9+
column-rule: initial;
10+
font: initial;
11+
list-style: initial;
12+
outline: initial;
13+
text-decoration: initial;
14+
}
Lines changed: 98 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,98 @@
1+
a {
2+
animation: none 0s ease 0s 1 normal none running;
3+
backface-visibility: visible;
4+
background: transparent none repeat 0 0 / auto auto padding-box border-box scroll;
5+
border: medium none currentColor;
6+
border-collapse: separate;
7+
border-image: none;
8+
border-radius: 0;
9+
border-spacing: 0;
10+
bottom: auto;
11+
box-shadow: none;
12+
box-sizing: content-box;
13+
caption-side: top;
14+
clear: none;
15+
clip: auto;
16+
color: inherit;
17+
columns: auto;
18+
column-count: auto;
19+
column-fill: balance;
20+
column-gap: normal;
21+
column-rule: medium none currentColor;
22+
column-span: 1;
23+
column-width: auto;
24+
content: normal;
25+
counter-increment: none;
26+
counter-reset: none;
27+
cursor: auto;
28+
direction: ltr;
29+
display: inline;
30+
empty-cells: show;
31+
float: none;
32+
font: normal normal normal normal medium/normal inherit;
33+
height: auto;
34+
hyphens: none;
35+
left: auto;
36+
letter-spacing: normal;
37+
list-style: disc outside none;
38+
margin: 0;
39+
max-height: none;
40+
max-width: none;
41+
min-height: 0;
42+
min-width: 0;
43+
opacity: 1;
44+
orphans: 0;
45+
outline: medium none invert;
46+
overflow: visible;
47+
overflow-x: visible;
48+
overflow-y: visible;
49+
padding: 0;
50+
page-break-after: auto;
51+
page-break-before: auto;
52+
page-break-inside: auto;
53+
perspective: none;
54+
perspective-origin: 50% 50%;
55+
position: static;
56+
right: auto;
57+
tab-size: 8;
58+
table-layout: auto;
59+
text-align: inherit;
60+
text-align-last: auto;
61+
text-decoration: none solid currentColor;
62+
text-indent: 0;
63+
text-shadow: none;
64+
text-transform: none;
65+
top: auto;
66+
transform: none;
67+
transform-origin: 50% 50% 0;
68+
transform-style: flat;
69+
transition: none 0s ease 0s;
70+
unicode-bidi: normal;
71+
vertical-align: baseline;
72+
visibility: visible;
73+
white-space: normal;
74+
widows: 0;
75+
width: auto;
76+
word-spacing: normal;
77+
z-index: auto;
78+
all: initial;
79+
}
80+
81+
a {
82+
animation: none 0s ease 0s 1 normal none running;
83+
animation: initial;
84+
background: transparent none repeat 0 0 / auto auto padding-box border-box scroll;
85+
background: initial;
86+
border: medium none currentColor;
87+
border: initial;
88+
column-rule: medium none currentColor;
89+
column-rule: initial;
90+
font: normal normal normal normal medium/normal inherit;
91+
font: initial;
92+
list-style: disc outside none;
93+
list-style: initial;
94+
outline: medium none invert;
95+
outline: initial;
96+
text-decoration: none solid currentColor;
97+
text-decoration: initial;
98+
}

src/features.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ export default {
3636
filter(options) {
3737
return require("pleeease-filters")(options)
3838
},
39+
initial(options) {
40+
return require("postcss-initial")(options)
41+
},
3942
rem(options) {
4043
return require("pixrem")(options)
4144
},

0 commit comments

Comments
 (0)