update ui color
This commit is contained in:
@@ -23,7 +23,7 @@
|
|||||||
-webkit-font-smoothing: antialiased;
|
-webkit-font-smoothing: antialiased;
|
||||||
-moz-osx-font-smoothing: grayscale;
|
-moz-osx-font-smoothing: grayscale;
|
||||||
background:
|
background:
|
||||||
radial-gradient(circle at 20% -10%, #eef2ff 0%, transparent 35%),
|
radial-gradient(circle at 20% -10%, #fff1f2 0%, transparent 35%),
|
||||||
radial-gradient(circle at 90% 0%, #f5f5f5 0%, transparent 28%),
|
radial-gradient(circle at 90% 0%, #f5f5f5 0%, transparent 28%),
|
||||||
#fff;
|
#fff;
|
||||||
color: #1a1a1a;
|
color: #1a1a1a;
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ export default function Home() {
|
|||||||
<div className="p-[60px] w-full min-h-[calc(100vh-3.5rem)] flex flex-col">
|
<div className="p-[60px] w-full min-h-[calc(100vh-3.5rem)] flex flex-col">
|
||||||
|
|
||||||
{/* 欢迎横幅 */}
|
{/* 欢迎横幅 */}
|
||||||
<div className="mb-8 flex items-center justify-between overflow-hidden relative rounded-2xl border border-magenta/15 bg-gradient-to-br from-magenta/[0.06] via-white to-white shadow-[0_4px_16px_rgba(99,102,241,0.06)] p-6">
|
<div className="mb-8 flex items-center justify-between overflow-hidden relative rounded-2xl border border-magenta/15 bg-gradient-to-br from-magenta/[0.06] via-white to-white shadow-[0_4px_16px_rgba(244,63,94,0.06)] p-6">
|
||||||
<div className="absolute top-0 left-0 right-0 h-0.5 bg-gradient-to-r from-magenta via-magenta/60 to-transparent"></div>
|
<div className="absolute top-0 left-0 right-0 h-0.5 bg-gradient-to-r from-magenta via-magenta/60 to-transparent"></div>
|
||||||
<div className="pt-1">
|
<div className="pt-1">
|
||||||
<h2 className="text-2xl font-extrabold text-txt mb-1.5">欢迎回来,SAFe OS 团队 👋</h2>
|
<h2 className="text-2xl font-extrabold text-txt mb-1.5">欢迎回来,SAFe OS 团队 👋</h2>
|
||||||
@@ -163,7 +163,7 @@ export default function Home() {
|
|||||||
|
|
||||||
{/* 悬浮 AI 问答按钮 */}
|
{/* 悬浮 AI 问答按钮 */}
|
||||||
<button
|
<button
|
||||||
className="fixed bottom-8 right-8 w-14 h-14 bg-magenta text-white rounded-2xl shadow-[0_8px_24px_rgba(99,102,241,0.35)] hover:shadow-[0_12px_32px_rgba(99,102,241,0.45)] hover:-translate-y-1 active:translate-y-0 transition-all duration-200 flex items-center justify-center text-xl z-50"
|
className="fixed bottom-8 right-8 w-14 h-14 bg-magenta text-white rounded-2xl shadow-[0_8px_24px_rgba(244,63,94,0.35)] hover:shadow-[0_12px_32px_rgba(244,63,94,0.45)] hover:-translate-y-1 active:translate-y-0 transition-all duration-200 flex items-center justify-center text-xl z-50"
|
||||||
title="AI 助手"
|
title="AI 助手"
|
||||||
>
|
>
|
||||||
<i className="fa-solid fa-robot"></i>
|
<i className="fa-solid fa-robot"></i>
|
||||||
|
|||||||
@@ -5,11 +5,11 @@ export default {
|
|||||||
extend: {
|
extend: {
|
||||||
colors: {
|
colors: {
|
||||||
magenta: {
|
magenta: {
|
||||||
DEFAULT: "#6366F1",
|
DEFAULT: "#F43F5E",
|
||||||
50: "#EEF2FF",
|
50: "#FFF1F2",
|
||||||
100: "#E0E7FF",
|
100: "#FFE4E6",
|
||||||
600: "#6366F1",
|
600: "#F43F5E",
|
||||||
700: "#4F46E5",
|
700: "#BE123C",
|
||||||
},
|
},
|
||||||
surface: {
|
surface: {
|
||||||
DEFAULT: "#FFFFFF",
|
DEFAULT: "#FFFFFF",
|
||||||
|
|||||||
Reference in New Issue
Block a user