fix(desktop): update styling for UpdateNotice component
- Changed class names for the UpdateNotice component to improve consistency in styling across mobile and desktop versions. - Updated background and border classes to align with the new design system. Signed-off-by: Innei <tukon479@gmail.com>
This commit is contained in:
parent
a94c3be42a
commit
4a6f6cf94e
|
|
@ -27,7 +27,7 @@ export const UpdateNotice = () => {
|
||||||
return (
|
return (
|
||||||
<m.div
|
<m.div
|
||||||
className={
|
className={
|
||||||
"border-theme-border bg-theme-modal-background bottom-safe-offset-3 group absolute inset-x-3 cursor-pointer overflow-hidden rounded-lg border py-3 text-center text-sm shadow backdrop-blur"
|
"border-border bg-fill bottom-safe-offset-3 backdrop-blur-background group absolute inset-x-3 cursor-pointer overflow-hidden rounded-lg border py-3 text-center text-sm shadow"
|
||||||
}
|
}
|
||||||
onClick={handleClick}
|
onClick={handleClick}
|
||||||
initial={{ y: 50, opacity: 0 }}
|
initial={{ y: 50, opacity: 0 }}
|
||||||
|
|
|
||||||
|
|
@ -70,7 +70,7 @@ export const UpdateNotice = () => {
|
||||||
<m.div
|
<m.div
|
||||||
onMouseMove={handleMouseMove}
|
onMouseMove={handleMouseMove}
|
||||||
className={cn(
|
className={cn(
|
||||||
"bg-theme-modal-background group absolute inset-x-3 bottom-3 cursor-pointer overflow-hidden rounded-lg py-3 text-center text-sm shadow backdrop-blur",
|
"bg-fill backdrop-blur-background group absolute inset-x-3 bottom-3 cursor-pointer overflow-hidden rounded-lg py-3 text-center text-sm shadow",
|
||||||
playerIsShow && "bottom-28",
|
playerIsShow && "bottom-28",
|
||||||
)}
|
)}
|
||||||
onClick={handleClick}
|
onClick={handleClick}
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,11 @@
|
||||||
|
{
|
||||||
|
"name": "xcode build server",
|
||||||
|
"version": "0.2",
|
||||||
|
"bspVersion": "2.0",
|
||||||
|
"languages": ["c", "cpp", "objective-c", "objective-cpp", "swift"],
|
||||||
|
"argv": ["/opt/homebrew/bin/xcode-build-server"],
|
||||||
|
"workspace": "/Users/innei/git/work/rss3/follow/apps/mobile/ios/Folo.xcworkspace",
|
||||||
|
"build_root": "/Users/innei/Library/Developer/Xcode/DerivedData/Folo-dtqltpwzjnyxzeeeuvortyjqrpno",
|
||||||
|
"scheme": "Folo",
|
||||||
|
"kind": "xcode"
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue