Commit ca14fee6 by HoMeTown

fix: 修复bug

parent 613c282d
.beaconComponent {
animation: pulse 1s ease-in-out infinite;
background: linear-gradient(to right, #18CCFC, #6344F5, #AE48FF);
border-radius: 50%;
display: inline-block;
height: 0.8rem;
width: 0.8rem;
}
@keyframes pulse {
0% {
transform: scale(1);
}
55% {
background: linear-gradient(to right, #18CCFC, #6344F5, #AE48FF);
transform: scale(1.2);
}
}
// This file is automatically generated.
// Please do not change this file!
interface CssExports {
beaconComponent: string
pulse: string
}
declare const cssExports: CssExports
export default cssExports
import { motion } from 'framer-motion'
import { forwardRef } from 'react'
import type { BeaconRenderProps } from 'react-joyride'
import style from './BeaconComponent.module.less'
const BeaconComponent = forwardRef<HTMLButtonElement, BeaconRenderProps>((props, ref: any) => {
return (
<motion.div
className={style.beaconComponent}
ref={ref}
{...props}
>
</motion.div>
)
})
export default BeaconComponent
......@@ -14,7 +14,7 @@ export const MarkdownDetail: React.FC<MarkdownDetailProps> = ({ children }) => {
<ReactMarkdown
rehypePlugins={[rehypeRaw, rehypeSanitize]}
remarkPlugins={[remarkGfm]}
className="markdown-body flex flex-col gap-[12px] text-[#27353C] text-[15px]"
className="markdown-body !bg-[#fff] flex flex-col gap-[12px] text-[#27353C] text-[15px]"
components={{
img: ({ ...data }): JSX.Element => (
<PhotoProvider maskOpacity={0.1} bannerVisible={false}>
......
......@@ -57,7 +57,7 @@ export default function TypewriterEffect({
initial={{}}
key={`char-${index}`}
className={cn(
`dark:text-white text-black opacity-0 hidden`,
`text-black opacity-0 hidden`,
className,
word.className,
)}
......
......@@ -13,7 +13,7 @@ export const theme: NextUIPluginConfig = {
},
dark: {
colors: {
background: '#000000', // or DEFAULT
background: '#E6F6FE', // or DEFAULT
primary: {
DEFAULT: '#29B6FD',
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment