working on element theme

- note: gradient color doesn't take effects on texts
This commit is contained in:
Mohammed Al-yaseen
2025-04-08 18:22:08 +03:00
parent 2cec30d560
commit 264eb84407
8 changed files with 208 additions and 193 deletions

View File

@@ -30,7 +30,7 @@
width: 400px;
height: 400px;
border-radius: 50%;
background: radial-gradient(circle, rgba(24, 144, 255, 0.15) 0%, rgba(24, 144, 255, 0.05) 50%, rgba(0, 0, 0, 0) 70%);
background: var(--primary-glow);
top: -200px;
left: -150px;
filter: blur(50px);
@@ -41,7 +41,12 @@
width: 500px;
height: 500px;
border-radius: 50%;
background: radial-gradient(circle, rgba(64, 169, 255, 0.15) 0%, rgba(64, 169, 255, 0.05) 50%, rgba(0, 0, 0, 0) 70%);
background: radial-gradient(
circle,
rgba(64, 169, 255, 0.15) 0%,
rgba(64, 169, 255, 0.05) 50%,
rgba(0, 0, 0, 0) 70%
);
bottom: -250px;
right: -200px;
filter: blur(60px);
@@ -56,7 +61,7 @@
font-size: 2.5rem !important;
font-weight: 700 !important;
margin-bottom: 16px !important;
background: linear-gradient(90deg, #1890ff, #096dd9);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
@@ -92,11 +97,11 @@
width: 48px;
height: 48px;
border-radius: 50%;
background: linear-gradient(135deg, #1890ff, #096dd9);
background: var(--primary);
display: flex;
justify-content: center;
align-items: center;
box-shadow: 0 4px 8px rgba(24, 144, 255, 0.25);
box-shadow: 0 4px 8px rgba(152, 71, 232, 0.2);
}
.contactIcon {
@@ -149,7 +154,6 @@
padding: 0 32px;
border-radius: 24px;
font-weight: 500;
background: linear-gradient(90deg, #1890ff, #096dd9);
border: none;
box-shadow: 0 4px 12px rgba(24, 144, 255, 0.15);
transition: all 0.3s ease;
@@ -158,7 +162,6 @@
.submitButton:hover {
transform: translateY(-2px);
box-shadow: 0 6px 16px rgba(24, 144, 255, 0.2);
background: linear-gradient(90deg, #40a9ff, #1890ff);
}
@media (max-width: 992px) {

View File

@@ -21,11 +21,13 @@
}
.logoContainer {
/* background: var(--primary) !important; */
display: flex;
align-items: center;
}
.logoText {
color: #6e48aa !important;
margin: 0 !important;
font-weight: 700 !important;
font-size: 1.5rem !important;

View File

@@ -46,7 +46,6 @@
.continueButton {
min-width: 200px;
height: 48px;
background: linear-gradient(90deg, #1890ff, #096dd9);
border: none;
border-radius: 24px;
font-weight: 500;
@@ -54,7 +53,6 @@
}
.continueButton:hover {
background: linear-gradient(90deg, #40a9ff, #1890ff);
transform: translateY(-2px);
box-shadow: 0 6px 16px rgba(24, 144, 255, 0.2);
}

View File

@@ -23,7 +23,7 @@
font-size: 2.5rem !important;
font-weight: 700 !important;
margin-bottom: 16px !important;
background: linear-gradient(90deg, #1890ff, #096dd9);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
@@ -91,13 +91,13 @@
.viewButton {
background: #fff;
color: #1890ff;
color: #6e48aa;
border: none;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.viewButton:hover {
background: #1890ff;
background: #6e48aa;
color: #fff;
}
@@ -114,6 +114,7 @@
.techTag {
margin: 0;
color: #6e48aa;
}
.featuredBadge {
@@ -151,7 +152,7 @@
padding: 0 32px;
border-radius: 24px;
font-weight: 500;
background: linear-gradient(90deg, #1890ff, #096dd9);
border: none;
box-shadow: 0 4px 12px rgba(24, 144, 255, 0.15);
transition: all 0.3s ease;
@@ -160,7 +161,7 @@
.viewAllButton:hover {
transform: translateY(-2px);
box-shadow: 0 6px 16px rgba(24, 144, 255, 0.2);
background: linear-gradient(90deg, #40a9ff, #1890ff);
}
@media (max-width: 768px) {

View File

@@ -30,7 +30,7 @@
width: 500px;
height: 500px;
border-radius: 50%;
background: radial-gradient(circle, rgba(64, 169, 255, 0.2) 0%, rgba(24, 144, 255, 0.1) 50%, rgba(0, 0, 0, 0) 70%);
background: var(--primary-glow);
top: -150px;
right: -100px;
filter: blur(50px);
@@ -45,7 +45,7 @@
font-size: 2.5rem !important;
font-weight: 700 !important;
margin-bottom: 16px !important;
background: linear-gradient(90deg, #1890ff, #096dd9);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
@@ -81,7 +81,7 @@
.serviceIcon {
font-size: 3rem;
color: #1890ff;
color: #6e48aa;
}
.learnMoreBtn {

View File

@@ -22,7 +22,7 @@
font-size: 2.5rem !important;
font-weight: 700 !important;
margin-bottom: 16px !important;
background: linear-gradient(90deg, #1890ff, #096dd9);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
@@ -134,7 +134,7 @@
padding: 0 32px;
border-radius: 24px;
font-weight: 500;
background: linear-gradient(90deg, #1890ff, #096dd9);
color: white;
border: none;
box-shadow: 0 4px 12px rgba(24, 144, 255, 0.15);
@@ -146,7 +146,7 @@
.viewAllButton:hover {
transform: translateY(-2px);
box-shadow: 0 6px 16px rgba(24, 144, 255, 0.2);
background: linear-gradient(90deg, #40a9ff, #1890ff);
}
@media (max-width: 768px) {

View File

@@ -2,6 +2,13 @@
--background: #ffffff;
--foreground: #171717;
--primary: linear-gradient(135deg, #6e48aa 0%, #9d50bb 100%);
--secondary: linear-gradient(135deg, #00c1d4 0%, #ff5f6d 100%);
--primary-glow: radial-gradient(
circle,
rgba(152, 71, 232, 0.2) 0%,
rgba(71, 1, 90, 0.1) 50%,
rgba(0, 0, 0, 0) 70%
);
}
@media (prefers-color-scheme: dark) {

View File

@@ -3,7 +3,8 @@ import type { ThemeConfig } from "antd";
// Cosmic Gradient Palette (Bright/Futuristic)
export const gradientColors = {
primary: "linear-gradient(135deg, #6e48aa 0%, #9d50bb 100%)",
// note: gradient color doesn't take effects on texts
primary: "#6e48aa", // "linear-gradient(135deg, #6e48aa 0%, #9d50bb 100%)",
secondary: "linear-gradient(135deg, #00C1D4 0%, #FF5F6D 100%)",
darkSpace: "linear-gradient(to right, #0F0525, #2A0B45)",
};
@@ -35,6 +36,9 @@ export const themeConfig: ThemeConfig = {
colorTextHeading: gradientColors.primary,
colorLink: gradientColors.primary, // Nebula pink
},
Tag:{
colorPrimary: gradientColors.primary,
}
},
};