Skip to content

ServerKit is a lightweight, modern server control panel for managing web applications, databases, and services on your VPS or dedicated server. Built with Python/Flask backend and React frontend.

Refactor font size variables in downloads styles

Juan Denis688e2cc5fd12
diff --git a/frontend/dist/index.html b/frontend/dist/index.html
index 6d44a1eb..0bc76acb 100644
--- a/frontend/dist/index.html
+++ b/frontend/dist/index.html
@@ -6,8 +6,8 @@
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>React Dashboard Template</title>
- <script type="module" crossorigin src="/assets/index-Damd6cMY.js"></script>
- <link rel="stylesheet" crossorigin href="/assets/index-BnOaCt6L.css">
+ <script type="module" crossorigin src="/assets/index-cbhRQN_F.js"></script>
+ <link rel="stylesheet" crossorigin href="/assets/index-DpxaBFGR.css">
</head>
<body>
diff --git a/frontend/src/styles/pages/_downloads.less b/frontend/src/styles/pages/_downloads.less
index cf0f2ad1..1b6f4536 100644
--- a/frontend/src/styles/pages/_downloads.less
+++ b/frontend/src/styles/pages/_downloads.less
@@ -16,7 +16,7 @@
.page-subtitle {
color: @text-secondary;
- font-size: @text-base;
+ font-size: @font-size-base;
max-width: 600px;
}
}
@@ -88,14 +88,14 @@
gap: @space-1;
.version-label {
- font-size: @text-sm;
+ font-size: @font-size-sm;
opacity: 0.8;
text-transform: uppercase;
letter-spacing: 0.5px;
}
.version-number {
- font-size: @text-3xl;
+ font-size: @font-size-3xl;
font-weight: 700;
}
}
@@ -107,14 +107,14 @@
gap: @space-2;
span {
- font-size: @text-sm;
+ font-size: @font-size-sm;
opacity: 0.9;
}
.release-notes-link {
color: @white;
text-decoration: underline;
- font-size: @text-sm;
+ font-size: @font-size-sm;
opacity: 0.9;
transition: opacity 0.2s;
@@ -130,7 +130,7 @@
margin-bottom: @space-10;
h2 {
- font-size: @text-xl;
+ font-size: @font-size-xl;
font-weight: 600;
margin-bottom: @space-2;
}
@@ -144,7 +144,7 @@
padding: @space-1 @space-2;
border-radius: @radius-sm;
font-family: @font-mono;
- font-size: @text-sm;
+ font-size: @font-size-sm;
}
}
}
@@ -193,13 +193,13 @@
.platform-info {
h3 {
- font-size: @text-lg;
+ font-size: @font-size-lg;
font-weight: 600;
margin: 0;
}
.platform-arch {
- font-size: @text-sm;
+ font-size: @font-size-sm;
color: @text-secondary;
}
}
@@ -247,7 +247,7 @@
}
h3 {
- font-size: @text-base;
+ font-size: @font-size-base;
font-weight: 600;
margin: 0;
}
@@ -266,7 +266,7 @@
code {
font-family: @font-mono;
- font-size: @text-sm;
+ font-size: @font-size-sm;
color: @text-primary;
white-space: pre-wrap;
word-break: break-all;
@@ -302,7 +302,7 @@
padding: @space-3 @space-4;
background: @warning-bg;
color: @warning;
- font-size: @text-sm;
+ font-size: @font-size-sm;
margin: 0;
border-top: 1px solid @warning-border;
}
@@ -333,14 +333,14 @@
align-items: center;
justify-content: center;
font-weight: 600;
- font-size: @text-sm;
+ font-size: @font-size-sm;
}
.step-content {
flex: 1;
h4 {
- font-size: @text-base;
+ font-size: @font-size-base;
font-weight: 600;
margin: 0 0 @space-2;
}
@@ -348,7 +348,7 @@
p {
color: @text-secondary;
margin: 0 0 @space-2;
- font-size: @text-sm;
+ font-size: @font-size-sm;
&:last-child {
margin-bottom: 0;
@@ -359,7 +359,7 @@
padding: @space-1 @space-2;
border-radius: @radius-sm;
font-family: @font-mono;
- font-size: @text-xs;
+ font-size: @font-size-xs;
color: @text-primary;
}
}
@@ -373,7 +373,7 @@
code {
font-family: @font-mono;
- font-size: @text-sm;
+ font-size: @font-size-sm;
color: @text-primary;
background: transparent;
padding: 0;
@@ -382,7 +382,7 @@
.step-note {
color: @text-tertiary;
- font-size: @text-xs;
+ font-size: @font-size-xs;
font-style: italic;
}
}
@@ -401,7 +401,7 @@
code {
font-family: @font-mono;
- font-size: @text-sm;
+ font-size: @font-size-sm;
color: @text-primary;
}
}