Files
MosisDesigner/assets/ui/theme.rcss
2026-01-15 23:52:09 +01:00

248 lines
3.4 KiB
Plaintext

/* ==============================================
Theme: Material Dark for Virtual Smartphone
============================================== */
/* Base body styling */
body {
font-family: LatoLatin;
background-color: #121212;
color: #FFFFFF;
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
/* ============== Typography ============== */
.text-h1 {
font-size: 96px;
font-weight: 300;
}
.text-h2 {
font-size: 60px;
font-weight: 300;
}
.text-h3 {
font-size: 48px;
font-weight: 400;
}
.text-h4 {
font-size: 34px;
font-weight: 400;
}
.text-h5 {
font-size: 24px;
font-weight: 400;
}
.text-h6 {
font-size: 20px;
font-weight: 500;
}
.text-body1 {
font-size: 16px;
font-weight: 400;
}
.text-body2 {
font-size: 14px;
font-weight: 400;
}
.text-caption {
font-size: 12px;
font-weight: 400;
}
.text-overline {
font-size: 10px;
font-weight: 500;
text-transform: uppercase;
letter-spacing: 1.5px;
}
/* ============== Text Colors ============== */
.text-primary {
color: #FFFFFF;
}
.text-secondary {
color: #B3B3B3;
}
.text-disabled {
color: #666666;
}
.text-accent {
color: #BB86FC;
}
.text-accent-secondary {
color: #03DAC6;
}
.text-error {
color: #CF6679;
}
/* ============== Background Colors ============== */
.bg-primary {
background-color: #121212;
}
.bg-surface {
background-color: #1E1E1E;
}
.bg-surface-variant {
background-color: #2D2D2D;
}
.bg-accent {
background-color: #BB86FC;
}
.bg-accent-secondary {
background-color: #03DAC6;
}
.bg-error {
background-color: #CF6679;
}
/* ============== Spacing Utilities ============== */
.p-0 { padding: 0; }
.p-1 { padding: 4px; }
.p-2 { padding: 8px; }
.p-3 { padding: 12px; }
.p-4 { padding: 16px; }
.p-5 { padding: 24px; }
.p-6 { padding: 32px; }
.p-8 { padding: 48px; }
.m-0 { margin: 0; }
.m-1 { margin: 4px; }
.m-2 { margin: 8px; }
.m-3 { margin: 12px; }
.m-4 { margin: 16px; }
.m-5 { margin: 24px; }
.m-6 { margin: 32px; }
.m-8 { margin: 48px; }
.mt-1 { margin-top: 4px; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }
.mb-1 { margin-bottom: 4px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 16px; }
/* ============== Layout Utilities ============== */
.flex {
display: flex;
}
.flex-row {
display: flex;
flex-direction: row;
}
.flex-col {
display: flex;
flex-direction: column;
}
.flex-center {
display: flex;
justify-content: center;
align-items: center;
}
.flex-between {
display: flex;
justify-content: space-between;
}
.flex-around {
display: flex;
justify-content: space-around;
}
.flex-1 {
flex: 1;
}
.w-full {
width: 100%;
}
.h-full {
height: 100%;
}
.text-center {
text-align: center;
}
.text-left {
text-align: left;
}
.text-right {
text-align: right;
}
/* ============== Border Utilities ============== */
.rounded {
border-radius: 4px;
}
.rounded-lg {
border-radius: 8px;
}
.rounded-xl {
border-radius: 16px;
}
.rounded-full {
border-radius: 50%;
}
.border {
border: 1px solid #333333;
}
.border-bottom {
border-bottom: 1px solid #333333;
}
/* ============== Screen Structure ============== */
.screen {
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
background-color: #121212;
}
.screen-content {
flex: 1;
overflow: auto;
}