Skip to content

Commit fc61ed5

Browse files
fix(snippets): 🐛 fix no negative margins and readme typo (#44)
closes #43
1 parent d494e71 commit fc61ed5

File tree

3 files changed

+250
-170
lines changed

3 files changed

+250
-170
lines changed

README.md

+12-4
Original file line numberDiff line numberDiff line change
@@ -95,19 +95,27 @@ You can enable tab completion (recommended) by opening
9595

9696
### [Tailwind](https://tailwindcss.com/)
9797

98-
#### [Layout Snippets](https://github.com/navin-moorthy/vscode-css-snippets/blob/master/docs/tailwind/layout.md)
98+
#### Layout Snippets
99+
100+
**[List of all Layout Snippets →](https://github.com/navin-moorthy/vscode-css-snippets/blob/master/docs/tailwind/layout.md)**
99101

100102
![Layout Snippets Showcase](https://github.com/navin-moorthy/vscode-css-snippets/raw/master/media/tailwind-layout.gif)
101103

102-
#### [FlexBox Snippets](https://github.com/navin-moorthy/vscode-css-snippets/blob/master/docs/tailwind/flex.md)
104+
#### FlexBox Snippets
105+
106+
**[List of all FlexBox Snippets →](https://github.com/navin-moorthy/vscode-css-snippets/blob/master/docs/tailwind/flex.md)**
103107

104108
![FlexBox Snippets Showcase](https://github.com/navin-moorthy/vscode-css-snippets/raw/master/media/tailwind-flex.gif)
105109

106-
#### [Grid Snippets](https://github.com/navin-moorthy/vscode-css-snippets/blob/master/docs/tailwind/grid.md)
110+
#### Grid Snippets
111+
112+
**[List of all Grid Snippets →](https://github.com/navin-moorthy/vscode-css-snippets/blob/master/docs/tailwind/grid.md)**
107113

108114
![Grid Snippets Showcase](https://github.com/navin-moorthy/vscode-css-snippets/raw/master/media/tailwind-grid.gif)
109115

110-
#### [Spacing Snippets](https://github.com/navin-moorthy/vscode-css-snippets/blob/master/docs/tailwind/spacing.md)
116+
#### Spacing Snippets
117+
118+
**[List of all Spacing Snippets →](https://github.com/navin-moorthy/vscode-css-snippets/blob/master/docs/tailwind/spacing.md)**
111119

112120
![Spacing Snippets Showcase](https://github.com/navin-moorthy/vscode-css-snippets/raw/master/media/tailwind-spacing.gif)
113121

snippets/tailwind/spacing/margin.json

+18-18
Original file line numberDiff line numberDiff line change
@@ -102,92 +102,92 @@
102102

103103
"-m-1": {
104104
"prefix": "-m-1",
105-
"body": ["margin: 0.25rem;", ""],
105+
"body": ["margin: -0.25rem;", ""],
106106
"description": "-m-1"
107107
},
108108
"-m-2": {
109109
"prefix": "-m-2",
110-
"body": ["margin: 0.5rem;", ""],
110+
"body": ["margin: -0.5rem;", ""],
111111
"description": "-m-2"
112112
},
113113
"-m-3": {
114114
"prefix": "-m-3",
115-
"body": ["margin: 0.75rem;", ""],
115+
"body": ["margin: -0.75rem;", ""],
116116
"description": "-m-3"
117117
},
118118
"-m-4": {
119119
"prefix": "-m-4",
120-
"body": ["margin: 1rem;", ""],
120+
"body": ["margin: -1rem;", ""],
121121
"description": "-m-4"
122122
},
123123
"-m-5": {
124124
"prefix": "-m-5",
125-
"body": ["margin: 1.25rem;", ""],
125+
"body": ["margin: -1.25rem;", ""],
126126
"description": "-m-5"
127127
},
128128
"-m-6": {
129129
"prefix": "-m-6",
130-
"body": ["margin: 1.5rem;", ""],
130+
"body": ["margin: -1.5rem;", ""],
131131
"description": "-m-6"
132132
},
133133
"-m-8": {
134134
"prefix": "-m-8",
135-
"body": ["margin: 2rem;", ""],
135+
"body": ["margin: -2rem;", ""],
136136
"description": "-m-8"
137137
},
138138
"-m-10": {
139139
"prefix": "-m-10",
140-
"body": ["margin: 2.5rem;", ""],
140+
"body": ["margin: -2.5rem;", ""],
141141
"description": "-m-10"
142142
},
143143
"-m-12": {
144144
"prefix": "-m-12",
145-
"body": ["margin: 3rem;", ""],
145+
"body": ["margin: -3rem;", ""],
146146
"description": "-m-12"
147147
},
148148
"-m-16": {
149149
"prefix": "-m-16",
150-
"body": ["margin: 4rem;", ""],
150+
"body": ["margin: -4rem;", ""],
151151
"description": "-m-16"
152152
},
153153
"-m-20": {
154154
"prefix": "-m-20",
155-
"body": ["margin: 5rem;", ""],
155+
"body": ["margin: -5rem;", ""],
156156
"description": "-m-20"
157157
},
158158
"-m-24": {
159159
"prefix": "-m-24",
160-
"body": ["margin: 6rem;", ""],
160+
"body": ["margin: -6rem;", ""],
161161
"description": "-m-24"
162162
},
163163
"-m-32": {
164164
"prefix": "-m-32",
165-
"body": ["margin: 8rem;", ""],
165+
"body": ["margin: -8rem;", ""],
166166
"description": "-m-32"
167167
},
168168
"-m-40": {
169169
"prefix": "-m-40",
170-
"body": ["margin: 10rem;", ""],
170+
"body": ["margin: -10rem;", ""],
171171
"description": "-m-40"
172172
},
173173
"-m-48": {
174174
"prefix": "-m-48",
175-
"body": ["margin: 12rem;", ""],
175+
"body": ["margin: -12rem;", ""],
176176
"description": "-m-48"
177177
},
178178
"-m-56": {
179179
"prefix": "-m-56",
180-
"body": ["margin: 14rem;", ""],
180+
"body": ["margin: -14rem;", ""],
181181
"description": "-m-56"
182182
},
183183
"-m-64": {
184184
"prefix": "-m-64",
185-
"body": ["margin: 16rem;", ""],
185+
"body": ["margin: -16rem;", ""],
186186
"description": "-m-64"
187187
},
188188
"-m-px": {
189189
"prefix": "-m-px",
190-
"body": ["margin: 1px;", ""],
190+
"body": ["margin: -1px;", ""],
191191
"description": "-m-px"
192192
},
193193

0 commit comments

Comments
 (0)