File tree Expand file tree Collapse file tree 8 files changed +22
-25
lines changed
Expand file tree Collapse file tree 8 files changed +22
-25
lines changed Original file line number Diff line number Diff line change 1- @tailwind base;
2- @tailwind components;
3- @tailwind utilities;
1+ @import "tailwindcss" ;
2+
3+ @plugin '@tailwindcss/typography' ;
4+
5+ @layer base {
6+ * ,
7+ ::after ,
8+ ::before ,
9+ ::backdrop ,
10+ ::file-selector-button {
11+ border-color : var (--color-gray-200 , currentColor);
12+ }
13+ }
414
515@layer base {
616 body {
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ const DropdownSearch: React.FC<DropdownSearchProps> = ({
4545 < div className = "relative flex items-center" >
4646 < input
4747 ref = { inputRef }
48- className = "bg-gray-100 hover:bg-gray-300 dark:bg-gray-800 dark:hover:bg-gray-600 font-semibold text-sm py-1 px-2 rounded w-full"
48+ className = "bg-gray-100 hover:bg-gray-300 dark:bg-gray-800 dark:hover:bg-gray-600 font-semibold text-sm py-1 px-2 rounded-sm w-full"
4949 type = "text"
5050 placeholder = { placeholder }
5151 value = { searchQuery }
@@ -78,7 +78,7 @@ const DropdownSearch: React.FC<DropdownSearchProps> = ({
7878 >
7979 < div
8080 className = {
81- "bg-white dark:bg-black shadow-lg dark:shadow-none dark:border-gray-600 dark:border rounded text-sm " +
81+ "bg-white dark:bg-black shadow-lg dark:shadow-none dark:border-gray-600 dark:border rounded-sm text-sm " +
8282 ( searchQuery ? "" : "invisible" )
8383 }
8484 style = { { width } }
Original file line number Diff line number Diff line change @@ -431,7 +431,7 @@ const GPUCovidLineChart: React.FC<GPUCovidLineChartProps> = ({
431431 < Chip label = { selectedCountries [ 0 ] } />
432432 { showCustomizedControls && (
433433 < button
434- className = "bg-gray-200 hover:bg-gray-300 active:bg-opacity-60 dark:bg-gray-700 dark:hover:bg-gray-600 dark:active:bg-opacity-60 font-semibold text-sm py-1 px-2 w-44 rounded"
434+ className = "bg-gray-200 hover:bg-gray-300 active:bg-opacity-60 dark:bg-gray-700 dark:hover:bg-gray-600 dark:active:bg-opacity-60 font-semibold text-sm py-1 px-2 w-44 rounded-sm "
435435 onClick = { handleToggleCovidDates }
436436 >
437437 Toggle COVID-19 Dates
@@ -506,7 +506,7 @@ const GPUCovidLineChart: React.FC<GPUCovidLineChartProps> = ({
506506 { ...popperAttributes . popper }
507507 >
508508 { hoveredDate && (
509- < div className = "bg-white dark:bg-black rounded shadow-lg dark:shadow-none dark:border-gray-600 dark:border p-3 space-y-2" >
509+ < div className = "bg-white dark:bg-black rounded-sm shadow-lg dark:shadow-none dark:border-gray-600 dark:border p-3 space-y-2" >
510510 < div className = "text-sm font-semibold" >
511511 { dayjs ( hoveredDate ) . format ( "MMM YYYY" ) }
512512 </ div >
Original file line number Diff line number Diff line change @@ -263,7 +263,7 @@ const GPUPerformanceShareScatterPlot: React.FC<
263263 onChange = { handleDateChange }
264264 />
265265 < button
266- className = "bg-gray-200 hover:bg-gray-300 active:bg-opacity-60 dark:bg-gray-700 dark:hover:bg-gray-600 dark:active:bg-opacity-60 font-semibold text-base py-1 px-2 w-20 rounded"
266+ className = "bg-gray-200 hover:bg-gray-300 active:bg-opacity-60 dark:bg-gray-700 dark:hover:bg-gray-600 dark:active:bg-opacity-60 font-semibold text-base py-1 px-2 w-20 rounded-sm "
267267 onClick = { handleStartStop }
268268 >
269269 { playing ? "Pause" : "Resume" }
@@ -312,7 +312,7 @@ const GPUPerformanceShareScatterPlot: React.FC<
312312 { ...popperAttributes . popper }
313313 >
314314 { popperReferenceElement && (
315- < div className = "bg-white dark:bg-black rounded shadow-lg dark:shadow-none dark:border-gray-600 dark:border p-2" >
315+ < div className = "bg-white dark:bg-black rounded-sm shadow-lg dark:shadow-none dark:border-gray-600 dark:border p-2" >
316316 < div className = "text-sm font-semibold" >
317317 { ( popperReferenceElement as any ) . __data__ . name }
318318 </ div >
Original file line number Diff line number Diff line change @@ -333,7 +333,7 @@ const GPUShareCryptoPieChart: React.FC<GPUShareCryptoPieChartProps> = ({
333333 { ...popperAttributes . popper }
334334 >
335335 { popperReferenceElement && (
336- < div className = "bg-white dark:bg-black rounded shadow-lg dark:shadow-none dark:border-gray-600 dark:border p-2" >
336+ < div className = "bg-white dark:bg-black rounded-sm shadow-lg dark:shadow-none dark:border-gray-600 dark:border p-2" >
337337 < div className = "text-sm font-semibold" >
338338 { ( popperReferenceElement as any ) . __data__ . data . name }
339339 </ div >
Original file line number Diff line number Diff line change @@ -277,7 +277,7 @@ const GPUShareTreeMap: React.FC<GPUShareTreeMapProps> = ({
277277 { ...popperAttributes . popper }
278278 >
279279 { popperReferenceElement && (
280- < div className = "bg-white dark:bg-black text-black dark:text-white rounded shadow-lg dark:shadow-none dark:border-gray-600 dark:border p-2" >
280+ < div className = "bg-white dark:bg-black text-black dark:text-white rounded-sm shadow-lg dark:shadow-none dark:border-gray-600 dark:border p-2" >
281281 < div className = "text-sm font-semibold" >
282282 { ( popperReferenceElement as any ) . __data__ . data . name }
283283 </ div >
Original file line number Diff line number Diff line change 11module . exports = {
22 plugins : {
3- tailwindcss : { } ,
4- autoprefixer : { } ,
3+ '@tailwindcss/postcss' : { } ,
54 } ,
65} ;
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments