@@ -17,9 +17,9 @@ The `TimelineItem` component is used to display items on a vertical timeline, co
1717 </div >
1818
1919 <div class =" TimelineItem-body" >
20- <a href =" #" class =" text-bold link-gray-dark mr-1" >Monalisa</a > created one
21- <a href =" #" class =" text-bold link-gray-dark " >hot potato</a >
22- <a href =" #" class =" link-gray " >Just now</a >
20+ <a href =" #" class =" text-bold Link--primary mr-1" >Monalisa</a > created one
21+ <a href =" #" class =" text-bold Link--primary " >hot potato</a >
22+ <a href =" #" class =" Link--secondary " >Just now</a >
2323 </div >
2424</div >
2525```
@@ -49,7 +49,7 @@ To have color variants, use the [color utilities](/utilities/colors) on the badg
4949``` html live
5050<!-- Colorful TimelineItem Badge -->
5151<div class =" TimelineItem" >
52- <div class =" TimelineItem-badge bg-red text-white" >
52+ <div class =" TimelineItem-badge color- bg-danger-inverse color- text-white" >
5353 <svg width =" 16" height =" 16" viewBox =" 0 0 16 16" fill =" currentColor" class =" octicon" >
5454 <path fill-rule =" evenodd" clip-rule =" evenodd" d =" M1.5 8a6.5 6.5 0 1113 0 6.5 6.5 0 01-13 0zM8 0a8 8 0 100 16A8 8 0 008 0zM5 8a1 1 0 100-2 1 1 0 000 2zm7-1a1 1 0 11-2 0 1 1 0 012 0zM5.32 9.636a.75.75 0 011.038.175l.007.009a1.82 1.82 0 00.35.31c.264.178.683.37 1.285.37.602 0 1.02-.192 1.285-.371a1.82 1.82 0 00.35-.31l.007-.008a.75.75 0 011.222.87l-.614-.431c.614.43.614.431.613.431v.001l-.001.002-.002.003-.005.007-.014.019a1.989 1.989 0 01-.184.213 3.32 3.32 0 01-.53.445A3.766 3.766 0 018 12c-.946 0-1.652-.308-2.126-.63a3.323 3.323 0 01-.673-.604 1.975 1.975 0 01-.042-.053l-.014-.02-.005-.006-.002-.003v-.002h-.001l.613-.432-.614.43a.75.75 0 01.183-1.044z" ></path >
5555 </svg >
@@ -59,7 +59,7 @@ To have color variants, use the [color utilities](/utilities/colors) on the badg
5959 </div >
6060</div >
6161<div class =" TimelineItem" >
62- <div class =" TimelineItem-badge bg-green text-white" >
62+ <div class =" TimelineItem-badge color- bg-success-inverse color- text-white" >
6363 <svg width =" 16" height =" 16" viewBox =" 0 0 16 16" fill =" currentColor" class =" octicon" >
6464 <path fill-rule =" evenodd" clip-rule =" evenodd" d =" M1.5 8a6.5 6.5 0 1113 0 6.5 6.5 0 01-13 0zM8 0a8 8 0 100 16A8 8 0 008 0zM5 8a1 1 0 100-2 1 1 0 000 2zm7-1a1 1 0 11-2 0 1 1 0 012 0zM5.32 9.636a.75.75 0 011.038.175l.007.009a1.82 1.82 0 00.35.31c.264.178.683.37 1.285.37.602 0 1.02-.192 1.285-.371a1.82 1.82 0 00.35-.31l.007-.008a.75.75 0 011.222.87l-.614-.431c.614.43.614.431.613.431v.001l-.001.002-.002.003-.005.007-.014.019a1.989 1.989 0 01-.184.213 3.32 3.32 0 01-.53.445A3.766 3.766 0 018 12c-.946 0-1.652-.308-2.126-.63a3.323 3.323 0 01-.673-.604 1.975 1.975 0 01-.042-.053l-.014-.02-.005-.006-.002-.003v-.002h-.001l.613-.432-.614.43a.75.75 0 01.183-1.044z" ></path >
6565 </svg >
@@ -68,18 +68,19 @@ To have color variants, use the [color utilities](/utilities/colors) on the badg
6868 Green background when opened or passed events occur
6969 </div >
7070</div >
71- <div class =" TimelineItem" >
72- <div class =" TimelineItem-badge bg-purple text-white" >
71+ <!-- TODO: Replace bg-purple in V2
72+ <div class="TimelineItem">
73+ <div class="TimelineItem-badge bg-purple color-text-white">
7374 <svg width="16" height="16" viewBox="0 0 16 16" fill="currentColor" class="octicon">
7475 <path fill-rule="evenodd" clip-rule="evenodd" d="M1.5 8a6.5 6.5 0 1113 0 6.5 6.5 0 01-13 0zM8 0a8 8 0 100 16A8 8 0 008 0zM5 8a1 1 0 100-2 1 1 0 000 2zm7-1a1 1 0 11-2 0 1 1 0 012 0zM5.32 9.636a.75.75 0 011.038.175l.007.009a1.82 1.82 0 00.35.31c.264.178.683.37 1.285.37.602 0 1.02-.192 1.285-.371a1.82 1.82 0 00.35-.31l.007-.008a.75.75 0 011.222.87l-.614-.431c.614.43.614.431.613.431v.001l-.001.002-.002.003-.005.007-.014.019a1.989 1.989 0 01-.184.213 3.32 3.32 0 01-.53.445A3.766 3.766 0 018 12c-.946 0-1.652-.308-2.126-.63a3.323 3.323 0 01-.673-.604 1.975 1.975 0 01-.042-.053l-.014-.02-.005-.006-.002-.003v-.002h-.001l.613-.432-.614.43a.75.75 0 01.183-1.044z"></path>
7576 </svg>
7677 </div>
7778 <div class="TimelineItem-body">
7879 Purple background used when pull requests are merged
7980 </div>
80- </div >
81+ </div> -->
8182<div class =" TimelineItem" >
82- <div class =" TimelineItem-badge bg-blue text-white" >
83+ <div class =" TimelineItem-badge color- bg-info-inverse color- text-white" >
8384 <svg width =" 16" height =" 16" viewBox =" 0 0 16 16" fill =" currentColor" class =" octicon" >
8485 <path fill-rule =" evenodd" clip-rule =" evenodd" d =" M1.5 8a6.5 6.5 0 1113 0 6.5 6.5 0 01-13 0zM8 0a8 8 0 100 16A8 8 0 008 0zM5 8a1 1 0 100-2 1 1 0 000 2zm7-1a1 1 0 11-2 0 1 1 0 012 0zM5.32 9.636a.75.75 0 011.038.175l.007.009a1.82 1.82 0 00.35.31c.264.178.683.37 1.285.37.602 0 1.02-.192 1.285-.371a1.82 1.82 0 00.35-.31l.007-.008a.75.75 0 011.222.87l-.614-.431c.614.43.614.431.613.431v.001l-.001.002-.002.003-.005.007-.014.019a1.989 1.989 0 01-.184.213 3.32 3.32 0 01-.53.445A3.766 3.766 0 018 12c-.946 0-1.652-.308-2.126-.63a3.323 3.323 0 01-.673-.604 1.975 1.975 0 01-.042-.053l-.014-.02-.005-.006-.002-.003v-.002h-.001l.613-.432-.614.43a.75.75 0 01.183-1.044z" ></path >
8586 </svg >
@@ -135,9 +136,9 @@ Sometimes you want to give ownership to an event by displaying an [Avatar]() of
135136 </div >
136137
137138 <div class =" TimelineItem-body" >
138- <a href =" #" class =" text-bold link-gray-dark mr-1" >Monalisa</a > created one
139- <a href =" #" class =" text-bold link-gray-dark " >hot potato</a >
140- <a href =" #" class =" link-gray " >Just now</a >
139+ <a href =" #" class =" text-bold Link--primary mr-1" >Monalisa</a > created one
140+ <a href =" #" class =" text-bold Link--primary " >hot potato</a >
141+ <a href =" #" class =" Link--secondary " >Just now</a >
141142 </div >
142143 </div >
143144</div >
@@ -149,7 +150,7 @@ To create a visual break in the timeline, use `TimelineItem-break`. This adds a
149150
150151``` html live
151152<div class =" TimelineItem" >
152- <div class =" TimelineItem-badge bg-red text-white" >
153+ <div class =" TimelineItem-badge color- bg-danger-inverse color- text-white" >
153154 <svg width =" 16" height =" 16" viewBox =" 0 0 16 16" fill =" currentColor" class =" octicon" >
154155 <path fill-rule =" evenodd" clip-rule =" evenodd" d =" M1.5 8a6.5 6.5 0 1113 0 6.5 6.5 0 01-13 0zM8 0a8 8 0 100 16A8 8 0 008 0zM5 8a1 1 0 100-2 1 1 0 000 2zm7-1a1 1 0 11-2 0 1 1 0 012 0zM5.32 9.636a.75.75 0 011.038.175l.007.009a1.82 1.82 0 00.35.31c.264.178.683.37 1.285.37.602 0 1.02-.192 1.285-.371a1.82 1.82 0 00.35-.31l.007-.008a.75.75 0 011.222.87l-.614-.431c.614.43.614.431.613.431v.001l-.001.002-.002.003-.005.007-.014.019a1.989 1.989 0 01-.184.213 3.32 3.32 0 01-.53.445A3.766 3.766 0 018 12c-.946 0-1.652-.308-2.126-.63a3.323 3.323 0 01-.673-.604 1.975 1.975 0 01-.042-.053l-.014-.02-.005-.006-.002-.003v-.002h-.001l.613-.432-.614.43a.75.75 0 01.183-1.044z" ></path >
155156 </svg >
@@ -160,7 +161,7 @@ To create a visual break in the timeline, use `TimelineItem-break`. This adds a
160161</div >
161162<div class =" TimelineItem-break ml-0" ></div >
162163<div class =" TimelineItem" >
163- <div class =" TimelineItem-badge bg-green text-white" >
164+ <div class =" TimelineItem-badge color- bg-success-inverse color- text-white" >
164165 <svg width =" 16" height =" 16" viewBox =" 0 0 16 16" fill =" currentColor" class =" octicon" >
165166 <path fill-rule =" evenodd" clip-rule =" evenodd" d =" M1.5 8a6.5 6.5 0 1113 0 6.5 6.5 0 01-13 0zM8 0a8 8 0 100 16A8 8 0 008 0zM5 8a1 1 0 100-2 1 1 0 000 2zm7-1a1 1 0 11-2 0 1 1 0 012 0zM5.32 9.636a.75.75 0 011.038.175l.007.009a1.82 1.82 0 00.35.31c.264.178.683.37 1.285.37.602 0 1.02-.192 1.285-.371a1.82 1.82 0 00.35-.31l.007-.008a.75.75 0 011.222.87l-.614-.431c.614.43.614.431.613.431v.001l-.001.002-.002.003-.005.007-.014.019a1.989 1.989 0 01-.184.213 3.32 3.32 0 01-.53.445A3.766 3.766 0 018 12c-.946 0-1.652-.308-2.126-.63a3.323 3.323 0 01-.673-.604 1.975 1.975 0 01-.042-.053l-.014-.02-.005-.006-.002-.003v-.002h-.001l.613-.432-.614.43a.75.75 0 01.183-1.044z" ></path >
166167 </svg >
@@ -181,9 +182,9 @@ To create a visual break in the timeline, use `TimelineItem-break`. This adds a
181182 </a >
182183
183184 <div class =" TimelineItem-body" >
184- <a href =" #" class =" text-bold link-gray-dark mr-1" >Monalisa</a > created one
185- <a href =" #" class =" text-bold link-gray-dark " >hot potato</a >
186- <a href =" #1" class =" link-gray " >Just now</a >
185+ <a href =" #" class =" text-bold Link--primary mr-1" >Monalisa</a > created one
186+ <a href =" #" class =" text-bold Link--primary " >hot potato</a >
187+ <a href =" #1" class =" Link--secondary " >Just now</a >
187188 </div >
188189</div >
189190```
0 commit comments