Skip to content

Commit ff43a5f

Browse files
committed
Adds leading 0s to match rounded values to config
1 parent 2b3afef commit ff43a5f

File tree

1 file changed

+40
-40
lines changed

1 file changed

+40
-40
lines changed

source/docs/border-radius.blade.md

Lines changed: 40 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -18,22 +18,22 @@ features:
1818
],
1919
[
2020
'.rounded-sm',
21-
'border-radius: .125rem;',
21+
'border-radius: 0.125rem;',
2222
"Apply a small border radius to all corners of an element.",
2323
],
2424
[
2525
'.rounded',
26-
'border-radius: .25rem;',
26+
'border-radius: 0.25rem;',
2727
"Apply the default border radius to all corners of an element.",
2828
],
2929
[
3030
'.rounded-md',
31-
'border-radius: .375rem;',
31+
'border-radius: 0.375rem;',
3232
"Apply a medium border radius to all corners of an element.",
3333
],
3434
[
3535
'.rounded-lg',
36-
'border-radius: .5rem;',
36+
'border-radius: 0.5rem;',
3737
"Apply a large border radius to all corners of an element.",
3838
],
3939
[
@@ -63,82 +63,82 @@ features:
6363
],
6464
[
6565
'.rounded-t-sm',
66-
"border-top-left-radius: .125rem;\nborder-top-right-radius: .125rem;",
66+
"border-top-left-radius: 0.125rem;\nborder-top-right-radius: 0.125rem;",
6767
"Apply a small border radius to the top corners of an element.",
6868
],
6969
[
7070
'.rounded-r-sm',
71-
"border-top-right-radius: .125rem;\nborder-bottom-right-radius: .125rem;",
71+
"border-top-right-radius: 0.125rem;\nborder-bottom-right-radius: 0.125rem;",
7272
"Apply a small border radius to the right corners of an element.",
7373
],
7474
[
7575
'.rounded-b-sm',
76-
"border-bottom-right-radius: .125rem;\nborder-bottom-left-radius: .125rem;",
76+
"border-bottom-right-radius: 0.125rem;\nborder-bottom-left-radius: 0.125rem;",
7777
"Apply a small border radius to the bottom corners of an element.",
7878
],
7979
[
8080
'.rounded-l-sm',
81-
"border-top-left-radius: .125rem;\nborder-bottom-left-radius: .125rem;",
81+
"border-top-left-radius: 0.125rem;\nborder-bottom-left-radius: 0.125rem;",
8282
"Apply a small border radius to the left corners of an element.",
8383
],
8484
[
8585
'.rounded-t',
86-
"border-top-left-radius: .25rem;\nborder-top-right-radius: .25rem;",
86+
"border-top-left-radius: 0.25rem;\nborder-top-right-radius: 0.25rem;",
8787
"Apply the default border radius to the top corners of an element.",
8888
],
8989
[
9090
'.rounded-r',
91-
"border-top-right-radius: .25rem;\nborder-bottom-right-radius: .25rem;",
91+
"border-top-right-radius: 0.25rem;\nborder-bottom-right-radius: 0.25rem;",
9292
"Apply the default border radius to the right corners of an element.",
9393
],
9494
[
9595
'.rounded-b',
96-
"border-bottom-right-radius: .25rem;\nborder-bottom-left-radius: .25rem;",
96+
"border-bottom-right-radius: 0.25rem;\nborder-bottom-left-radius: 0.25rem;",
9797
"Apply the default border radius to the bottom corners of an element.",
9898
],
9999
[
100100
'.rounded-l',
101-
"border-top-left-radius: .25rem;\nborder-bottom-left-radius: .25rem;",
101+
"border-top-left-radius: 0.25rem;\nborder-bottom-left-radius: 0.25rem;",
102102
"Apply the default border radius to the left corners of an element.",
103103
],
104104
[
105105
'.rounded-t-md',
106-
"border-top-left-radius: .375rem;\nborder-top-right-radius: .375rem;",
106+
"border-top-left-radius: 0.375rem;\nborder-top-right-radius: 0.375rem;",
107107
"Apply a medium border radius to the top corners of an element.",
108108
],
109109
[
110110
'.rounded-r-md',
111-
"border-top-right-radius: .375rem;\nborder-bottom-right-radius: .375rem;",
111+
"border-top-right-radius: 0.375rem;\nborder-bottom-right-radius: 0.375rem;",
112112
"Apply a medium border radius to the right corners of an element.",
113113
],
114114
[
115115
'.rounded-b-md',
116-
"border-bottom-right-radius: .375rem;\nborder-bottom-left-radius: .375rem;",
116+
"border-bottom-right-radius: 0.375rem;\nborder-bottom-left-radius: 0.375rem;",
117117
"Apply a medium border radius to the bottom corners of an element.",
118118
],
119119
[
120120
'.rounded-l-md',
121-
"border-top-left-radius: .375rem;\nborder-bottom-left-radius: .375rem;",
121+
"border-top-left-radius: 0.375rem;\nborder-bottom-left-radius: 0.375rem;",
122122
"Apply a medium border radius to the left corners of an element.",
123123
],
124124
[
125125
'.rounded-t-lg',
126-
"border-top-left-radius: .5rem;\nborder-top-right-radius: .5rem;",
126+
"border-top-left-radius: 0.5rem;\nborder-top-right-radius: 0.5rem;",
127127
"Apply a large border radius to the top corners of an element.",
128128
],
129129
[
130130
'.rounded-r-lg',
131-
"border-top-right-radius: .5rem;\nborder-bottom-right-radius: .5rem;",
131+
"border-top-right-radius: 0.5rem;\nborder-bottom-right-radius: 0.5rem;",
132132
"Apply a large border radius to the right corners of an element.",
133133
],
134134
[
135135
'.rounded-b-lg',
136-
"border-bottom-right-radius: .5rem;\nborder-bottom-left-radius: .5rem;",
136+
"border-bottom-right-radius: 0.5rem;\nborder-bottom-left-radius: 0.5rem;",
137137
"Apply a large border radius to the bottom corners of an element.",
138138
],
139139
[
140140
'.rounded-l-lg',
141-
"border-top-left-radius: .5rem;\nborder-bottom-left-radius: .5rem;",
141+
"border-top-left-radius: 0.5rem;\nborder-bottom-left-radius: 0.5rem;",
142142
"Apply a large border radius to the left corners of an element.",
143143
],
144144
[
@@ -183,82 +183,82 @@ features:
183183
],
184184
[
185185
'.rounded-tl-sm',
186-
'border-top-left-radius: .125rem;',
186+
'border-top-left-radius: 0.125rem;',
187187
"Apply a small border radius to the top left corner of an element.",
188188
],
189189
[
190190
'.rounded-tr-sm',
191-
'border-top-right-radius: .125rem;',
191+
'border-top-right-radius: 0.125rem;',
192192
"Apply a small border radius to the top right corner of an element.",
193193
],
194194
[
195195
'.rounded-br-sm',
196-
'border-bottom-right-radius: .125rem;',
196+
'border-bottom-right-radius: 0.125rem;',
197197
"Apply a small border radius to the bottom right corner of an element.",
198198
],
199199
[
200200
'.rounded-bl-sm',
201-
'border-bottom-left-radius: .125rem;',
201+
'border-bottom-left-radius: 0.125rem;',
202202
"Apply a small border radius to the bottom left corner of an element.",
203203
],
204204
[
205205
'.rounded-tl',
206-
'border-top-left-radius: .25rem;',
206+
'border-top-left-radius: 0.25rem;',
207207
"Apply the default border radius to the top left corner of an element.",
208208
],
209209
[
210210
'.rounded-tr',
211-
'border-top-right-radius: .25rem;',
211+
'border-top-right-radius: 0.25rem;',
212212
"Apply the default border radius to the top right corner of an element.",
213213
],
214214
[
215215
'.rounded-br',
216-
'border-bottom-right-radius: .25rem;',
216+
'border-bottom-right-radius: 0.25rem;',
217217
"Apply the default border radius to the bottom right corner of an element.",
218218
],
219219
[
220220
'.rounded-bl',
221-
'border-bottom-left-radius: .25rem;',
221+
'border-bottom-left-radius: 0.25rem;',
222222
"Apply the default border radius to the bottom left corner of an element.",
223223
],
224224
[
225225
'.rounded-tl-md',
226-
'border-top-left-radius: .375rem;',
226+
'border-top-left-radius: 0.375rem;',
227227
"Apply a medium border radius to the top left corner of an element.",
228228
],
229229
[
230230
'.rounded-tr-md',
231-
'border-top-right-radius: .375rem;',
231+
'border-top-right-radius: 0.375rem;',
232232
"Apply a medium border radius to the top right corner of an element.",
233233
],
234234
[
235235
'.rounded-br-md',
236-
'border-bottom-right-radius: .375rem;',
236+
'border-bottom-right-radius: 0.375rem;',
237237
"Apply a medium border radius to the bottom right corner of an element.",
238238
],
239239
[
240240
'.rounded-bl-md',
241-
'border-bottom-left-radius: .375rem;',
241+
'border-bottom-left-radius: 0.375rem;',
242242
"Apply a medium border radius to the bottom left corner of an element.",
243243
],
244244
[
245245
'.rounded-tl-lg',
246-
'border-top-left-radius: .5rem;',
246+
'border-top-left-radius: 0.5rem;',
247247
"Apply a large border radius to the top left corner of an element.",
248248
],
249249
[
250250
'.rounded-tr-lg',
251-
'border-top-right-radius: .5rem;',
251+
'border-top-right-radius: 0.5rem;',
252252
"Apply a large border radius to the top right corner of an element.",
253253
],
254254
[
255255
'.rounded-br-lg',
256-
'border-bottom-right-radius: .5rem;',
256+
'border-bottom-right-radius: 0.5rem;',
257257
"Apply a large border radius to the bottom right corner of an element.",
258258
],
259259
[
260260
'.rounded-bl-lg',
261-
'border-bottom-left-radius: .5rem;',
261+
'border-bottom-left-radius: 0.5rem;',
262262
"Apply a large border radius to the bottom left corner of an element.",
263263
],
264264
[
@@ -409,11 +409,11 @@ By default Tailwind provides five border radius size utilities. You can change,
409409

410410
@component('_partials.customized-config', ['key' => 'theme.borderRadius'])
411411
'none': '0',
412-
- 'sm': '.125rem',
413-
- default: '.25rem',
412+
- 'sm': '0.125rem',
413+
- default: '0.25rem',
414414
+ default: '4px',
415-
- 'md': '.375rem',
416-
- 'lg': '.5rem',
415+
- 'md': '0.375rem',
416+
- 'lg': '0.5rem',
417417
- 'full': '9999px',
418418
+ 'large': '12px',
419419
@endcomponent

0 commit comments

Comments
 (0)