feat(ui): light mode and new theming system (#1468)
This commit is contained in:
@@ -30,21 +30,21 @@
|
||||
}
|
||||
|
||||
.loading-text {
|
||||
color: #9ca3af;
|
||||
color: var(--color-text-secondary);
|
||||
}
|
||||
|
||||
.empty-state {
|
||||
position: relative;
|
||||
padding: 3rem !important;
|
||||
text-align: center;
|
||||
color: #9ca3af;
|
||||
color: var(--color-text-secondary);
|
||||
|
||||
.empty-state-title {
|
||||
font-size: 1.25rem;
|
||||
font-weight: 600;
|
||||
margin-top: 1rem;
|
||||
margin-bottom: 0.5rem;
|
||||
color: #e5e7eb;
|
||||
color: var(--color-text);
|
||||
}
|
||||
|
||||
.empty-state-subtitle {
|
||||
@@ -52,7 +52,7 @@
|
||||
margin: 0.5rem auto 0;
|
||||
line-height: 1.6;
|
||||
font-size: 0.875rem;
|
||||
color: #9ca3af;
|
||||
color: var(--color-text-secondary);
|
||||
}
|
||||
|
||||
.empty-state-decoration {
|
||||
@@ -103,7 +103,7 @@
|
||||
|
||||
&:hover {
|
||||
transform: translateY(-2px);
|
||||
border-color: color-mix(in srgb, var(--primary-color), transparent 50%);
|
||||
border-color: color-mix(in srgb, var(--color-primary), transparent 50%);
|
||||
|
||||
.note-bottom-glow {
|
||||
opacity: 1;
|
||||
@@ -117,8 +117,8 @@
|
||||
|
||||
.note-header {
|
||||
flex-shrink: 0;
|
||||
background: linear-gradient(135deg, rgb(40 40 40 / 80%), rgb(30 30 30 / 80%));
|
||||
border-bottom: 1px solid rgb(255 255 255 / 10%);
|
||||
background: var(--color-page);
|
||||
border-bottom: 1px solid var(--color-border);
|
||||
position: relative;
|
||||
|
||||
.note-header-inner {
|
||||
@@ -139,9 +139,7 @@
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
background: linear-gradient(135deg, #f8fafc, #e2e8f0);
|
||||
background-clip: text;
|
||||
-webkit-text-fill-color: transparent;
|
||||
color: var(--color-text);
|
||||
font-weight: 500;
|
||||
font-size: 1.125rem;
|
||||
margin: 0;
|
||||
@@ -163,7 +161,7 @@
|
||||
opacity: 0.8;
|
||||
|
||||
i {
|
||||
color: #3b82f6;
|
||||
color: var(--color-blue-500);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -174,7 +172,7 @@
|
||||
|
||||
.note-meta-text {
|
||||
font-size: 0.875rem;
|
||||
color: #9ca3af;
|
||||
color: var(--color-text-secondary);
|
||||
}
|
||||
|
||||
.note-actions {
|
||||
@@ -212,7 +210,7 @@
|
||||
left: 0;
|
||||
right: 0;
|
||||
height: 30px;
|
||||
background: linear-gradient(transparent, rgb(20 20 20 / 90%));
|
||||
background: linear-gradient(transparent, var(--color-card));
|
||||
pointer-events: none;
|
||||
}
|
||||
}
|
||||
@@ -226,7 +224,7 @@
|
||||
background: linear-gradient(
|
||||
90deg,
|
||||
transparent,
|
||||
color-mix(in srgb, var(--primary-color), transparent 60%),
|
||||
color-mix(in srgb, var(--color-primary), transparent 60%),
|
||||
transparent
|
||||
);
|
||||
border-radius: 50%;
|
||||
@@ -246,7 +244,7 @@
|
||||
padding-right: 8px;
|
||||
box-sizing: border-box;
|
||||
line-height: 1.6;
|
||||
color: #e2e8f0;
|
||||
color: var(--color-text);
|
||||
|
||||
@media (width <= 768px) {
|
||||
max-height: 140px;
|
||||
@@ -270,6 +268,7 @@
|
||||
font-size: 0.875rem;
|
||||
font-weight: 500;
|
||||
margin-bottom: 0.5rem;
|
||||
color: var(--color-text);
|
||||
}
|
||||
|
||||
.field-input {
|
||||
|
||||
Reference in New Issue
Block a user