mirror of
https://github.com/BetterSEQTA/BetterSEQTA-Plus.git
synced 2026-06-06 03:34:40 +00:00
add dark mode tab coloring
This commit is contained in:
@@ -68,7 +68,7 @@ const TabbedContainer: React.FC<TabbedContainerProps> = ({ tabs }) => {
|
|||||||
<div ref={containerRef} className="top-0 z-10 text-[0.875rem] pb-0.5 mx-4">
|
<div ref={containerRef} className="top-0 z-10 text-[0.875rem] pb-0.5 mx-4">
|
||||||
<div className="relative flex">
|
<div className="relative flex">
|
||||||
<motion.div
|
<motion.div
|
||||||
className="absolute top-0 left-0 z-0 h-full bg-[#DDDDDD] rounded-full opacity-40"
|
className="absolute top-0 left-0 z-0 h-full bg-[#DDDDDD] dark:bg-[#38373D] rounded-full opacity-40"
|
||||||
style={{ width: `${tabWidth}px` }}
|
style={{ width: `${tabWidth}px` }}
|
||||||
initial={false}
|
initial={false}
|
||||||
animate={{ x: calcXPos(hoveredTab) }}
|
animate={{ x: calcXPos(hoveredTab) }}
|
||||||
|
|||||||
Reference in New Issue
Block a user