diff --git a/src/renderer/src/components/Dashboard/DashboardDetails.tsx b/src/renderer/src/components/Dashboard/DashboardDetails.tsx
index 1e7bf9d..2a784b4 100644
--- a/src/renderer/src/components/Dashboard/DashboardDetails.tsx
+++ b/src/renderer/src/components/Dashboard/DashboardDetails.tsx
@@ -257,7 +257,7 @@ export default function DashboardDetails({
İşlemci Kullanımı
{cpu || 0}%
-
+
@@ -266,7 +266,7 @@ export default function DashboardDetails({
{memory ? `${Math.round(memory / (1024 * 1024))} MB` : '0 MB'}
-
+
);
@@ -274,8 +274,8 @@ export default function DashboardDetails({
const isPhp = serviceType === 'php';
return (
-
-
+
+
{serviceType === 'nginx' && }
{serviceType === 'apache' && }
@@ -317,7 +317,7 @@ export default function DashboardDetails({
-
+
setActiveTab(v)} textColor="primary" indicatorColor="primary" sx={{
'.MuiTab-root': { textTransform: 'none', minHeight: 48 }
}} className="font-bold text-sm">
@@ -339,7 +339,7 @@ export default function DashboardDetails({
{t('dashboard.system_stats', 'Sistem İstatistikleri')}
-
+
@@ -391,7 +391,7 @@ export default function DashboardDetails({
-
+
{isLoadingConfig ? (
) : (
@@ -426,7 +426,7 @@ export default function DashboardDetails({
{t('common.save').toUpperCase()}
-
+
{isLoadingConfig ? (
) : (
@@ -446,10 +446,10 @@ export default function DashboardDetails({
)}
{activeTab === 'logs' && (
-
-
+
+
- Gerçek Zamanlı Servis Logları
+ Gerçek Zamanlı Servis Logları
{logs.length === 0 ? (
@@ -459,8 +459,8 @@ export default function DashboardDetails({
logs.map((log, i) => (
setSelectedServiceId(id)}
sx={{
mb: 0.5,
- border: selectedServiceId === id ? '1px solid rgba(57, 167, 255, 0.3)' : '1px solid transparent',
- '&.Mui-selected': { bgcolor: 'rgba(57, 167, 255, 0.08)' }
+ border: selectedServiceId === id ? '1px solid var(--color-primary-soft)' : '1px solid transparent',
+ '&.Mui-selected': { bgcolor: 'var(--color-primary-soft)' }
}}
className="rounded-md"
>
@@ -71,8 +71,8 @@ export default function DashboardSidebar({
width: 10,
height: 10,
borderRadius: '50%',
- bgcolor: isStarting ? 'warning.main' : (isRunning ? 'success.main' : 'error.main'),
- boxShadow: isRunning ? '0 0 8px rgba(76, 175, 80, 0.5)' : (isStarting ? '0 0 8px rgba(255, 177, 66, 0.5)' : 'none'),
+ bgcolor: isStarting ? 'var(--color-warning)' : (isRunning ? 'var(--color-success)' : 'var(--color-error)'),
+ boxShadow: isRunning ? '0 0 8px var(--color-success-soft)' : (isStarting ? '0 0 8px var(--color-warning-soft)' : 'none'),
display: 'flex',
alignItems: 'center',
justifyContent: 'center',
@@ -108,7 +108,7 @@ export default function DashboardSidebar({
-
+
Web Sunucuları
@@ -116,7 +116,7 @@ export default function DashboardSidebar({
-
+
PHP Sürümleri
@@ -131,7 +131,7 @@ export default function DashboardSidebar({
))}
-
+
Veritabanı Sürümleri
diff --git a/src/renderer/src/components/MariaDbExportWizard.tsx b/src/renderer/src/components/MariaDbExportWizard.tsx
index dc35772..8beb5a4 100644
--- a/src/renderer/src/components/MariaDbExportWizard.tsx
+++ b/src/renderer/src/components/MariaDbExportWizard.tsx
@@ -220,19 +220,19 @@ const MariaDbExportWizard: React.FC = ({ open, onClose
{!exportResult ? (
<>
- {t('mariadb.import.summary')}
+ {t('mariadb.import.summary')}
- {t('mariadb.import.server')}: {selectedVersion}
- {t('mariadb.import.db')}: {selectedDb}
- {t('mariadb.export.target')}: {savePath}
- {t('mariadb.export.compression')}: {compress ? t('mariadb.export.on') : t('mariadb.export.off')}
+ {t('mariadb.import.server')}: {selectedVersion}
+ {t('mariadb.import.db')}: {selectedDb}
+ {t('mariadb.export.target')}: {savePath}
+ {t('mariadb.export.compression')}: {compress ? t('mariadb.export.on') : t('mariadb.export.off')}
{loading && (
{logs.map((log, i) => (
-
+
{log}
))}
@@ -244,9 +244,9 @@ const MariaDbExportWizard: React.FC = ({ open, onClose
{exportResult.success ? (
<>
-
- {t('mariadb.import.success_title')}
- {exportResult.message}
+
+ {t('mariadb.import.success_title')}
+ {exportResult.message}
diff --git a/src/renderer/src/components/MariaDbImportWizard.tsx b/src/renderer/src/components/MariaDbImportWizard.tsx
index 02c7e18..839da08 100644
--- a/src/renderer/src/components/MariaDbImportWizard.tsx
+++ b/src/renderer/src/components/MariaDbImportWizard.tsx
@@ -261,19 +261,19 @@ const MariaDbImportWizard: React.FC = ({ open, onClose
{!importResult ? (
<>
- {t('mariadb.import.summary')}
+ {t('mariadb.import.summary')}
- {t('mariadb.import.file')}: {filePath.split(/[/\\]/).pop()}
- {t('mariadb.import.server')}: {selectedVersion}
- {t('mariadb.import.db')}: {dbConfig.dbName}
- {t('mariadb.import.user')}: {dbConfig.user}
+ {t('mariadb.import.file')}: {filePath.split(/[/\\]/).pop()}
+ {t('mariadb.import.server')}: {selectedVersion}
+ {t('mariadb.import.db')}: {dbConfig.dbName}
+ {t('mariadb.import.user')}: {dbConfig.user}
{loading && (
{logs.map((log, i) => (
-
+
{log}
))}
@@ -285,24 +285,24 @@ const MariaDbImportWizard: React.FC = ({ open, onClose
{importResult.success ? (
<>
-
- {t('mariadb.import.success_title')}
- {importResult.message}
-
- {t('mariadb.import.access_info')}:
- {t('mariadb.import.host')}: localhost
- {t('mariadb.import.db')}: {dbConfig.dbName}
- {t('mariadb.import.user')}: {dbConfig.user}
- {t('mariadb.import.db_pass')}: {dbConfig.pass}
+
+ {t('mariadb.import.success_title')}
+ {importResult.message}
+
+ {t('mariadb.import.access_info')}:
+ {t('mariadb.import.host')}: localhost
+ {t('mariadb.import.db')}: {dbConfig.dbName}
+ {t('mariadb.import.user')}: {dbConfig.user}
+ {t('mariadb.import.db_pass')}: {dbConfig.pass}
>
) : (
<>
-
- {t('mariadb.import.error_title')}
- {importResult.message}
-
- {logs.slice(-5).map((l, i) => {l})}
+
+ {t('mariadb.import.error_title')}
+ {importResult.message}
+
+ {logs.slice(-5).map((l, i) => {l})}
>
)}
diff --git a/src/renderer/src/components/UserGuide.tsx b/src/renderer/src/components/UserGuide.tsx
index ef1c552..6b34604 100644
--- a/src/renderer/src/components/UserGuide.tsx
+++ b/src/renderer/src/components/UserGuide.tsx
@@ -216,7 +216,7 @@ const UserGuide = () => {
sx={{
mt: level === 1 ? 0 : 4,
mb: 2,
- color: level === 1 ? 'primary.light' : '#fff',
+ color: level === 1 ? 'var(--color-primary)' : 'white',
borderBottom: level === 1 ? '1px solid var(--color-border-soft)' : 'none',
pb: level === 1 ? 1 : 0
}}
@@ -317,14 +317,14 @@ const UserGuide = () => {
}}
sx={{
'& .MuiOutlinedInput-root': {
- bgcolor: 'rgba(0,0,0,0.2)',
- borderRadius: 2,
- '& fieldset': { borderColor: 'rgba(255,255,255,0.05)' },
+ bgcolor: 'var(--color-bg-medium)',
+ borderRadius: 'var(--radius-md)',
+ '& fieldset': { borderColor: 'var(--color-border-soft)' },
}
}}
/>
-
+
{t('common.topics', 'KONULAR')}
@@ -336,9 +336,9 @@ const UserGuide = () => {
sx={{
py: 1.5,
borderLeft: '3px solid',
- borderColor: selectedTopic === topic.file ? 'primary.main' : 'transparent',
- bgcolor: selectedTopic === topic.file ? 'rgba(57, 167, 255, 0.05)' : 'transparent',
- '&:hover': { bgcolor: 'rgba(255,255,255,0.05)' }
+ borderColor: selectedTopic === topic.file ? 'var(--color-primary)' : 'transparent',
+ bgcolor: selectedTopic === topic.file ? 'var(--color-primary-soft)' : 'transparent',
+ '&:hover': { bgcolor: 'var(--color-bg-soft)' }
}}
>