mini-dlpu-v3/miniprogram/app.scss
2022-01-04 13:57:47 +08:00

37 lines
915 B
SCSS

$theme-color-blue: #3EA3D8;
$theme-color-red: #FF9393;
$theme-color-light-layout: #F8F8F8;
$theme-color-light-background: #f4f0f1;
$theme-color-light-title: rgba(0, 0, 0, .65);
$theme-color-light-text: rgba(0, 0, 0, .55);
$theme-color-dark-layout: #1f1f1f;
$theme-color-dark-background: #181615;
$theme-color-dark-title: rgba(255, 255, 255, .65);
$theme-color-dark-text: rgba(255, 255, 255, .55);
$black-filter: brightness(0) opacity(.65);
$white-filter: brightness(100) opacity(.65);
$blue-filter: opacity(.65);
view.container {
width: 88%;
padding: 0 6%;
}
page {
background-color: $theme-color-light-background;
color: $theme-color-light-text;
font-weight: 500;
font-size: .9em;
font-family: Hiragino Sans GB, MicroSoft YaHei;
}
@media (prefers-color-scheme: dark){
page {
background-color: $theme-color-dark-background;
color: $theme-color-dark-text;
}
}