Skip to content

Commit

Permalink
Merge pull request #1741 from lumi-tip/development-lumi-8096
Browse files Browse the repository at this point in the history
remove effect in darkmode
  • Loading branch information
tommygonzaleza authored Dec 16, 2024
2 parents 52ad012 + 7c3ac79 commit e1f860d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/pages/technology/[slug].jsx
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ export const getStaticProps = async ({ params, locale, locales }) => {
function LessonByTechnology({ assetData, technologyData, techsBySortPriority, count, coursesForTech, workShopsForTech, marketingInfo, isSortPriorityOne, featuredCourseSlug }) {
const { t, lang } = useTranslation('technologies');
const { isAuthenticated } = useAuth();
const { fontColor } = useStyle();
const { fontColor, colorMode } = useStyle();
const [isDragging, setIsDragging] = useState(false);
const [isAtEnd, setIsAtEnd] = useState(false);
const [isAtStart, setIsAtStart] = useState(true);
Expand Down Expand Up @@ -314,7 +314,7 @@ function LessonByTechnology({ assetData, technologyData, techsBySortPriority, co
bottom="0"
width="100px"
pointerEvents="none"
background="linear-gradient(to right, white, rgba(255, 255, 255, 0))"
background={`linear-gradient(to right, ${colorMode}, rgba(255, 255, 255, 0))`}
zIndex="2"
/>
)}
Expand Down Expand Up @@ -381,7 +381,7 @@ function LessonByTechnology({ assetData, technologyData, techsBySortPriority, co
bottom="0"
width="100px"
pointerEvents="none"
background="linear-gradient(to left, white, rgba(255, 255, 255, 0))"
background={`linear-gradient(to left, ${colorMode}, rgba(255, 255, 255, 0))`}
zIndex="2"
/>
)}
Expand Down

0 comments on commit e1f860d

Please sign in to comment.