Removed unused variable, and renamed $fontSize

This commit is contained in:
Cagatay Civici 2022-09-20 23:23:46 +03:00
parent f42488b60d
commit ccccbaa0be
3 changed files with 4 additions and 8 deletions

View File

@ -6,12 +6,9 @@ import { PrimeNGConfig } from 'primeng/api';
})
export class AppComponent {
menuMode = 'static';
constructor(private primengConfig: PrimeNGConfig) { }
ngOnInit() {
this.primengConfig.ripple = true;
document.documentElement.style.fontSize = '14px';
}
}

View File

@ -4,7 +4,7 @@
html {
height: 100%;
font-size: $fontSize;
font-size: $scale;
}
body {
@ -25,5 +25,4 @@ a {
.layout-wrapper {
min-height: 100vh;
overflow-x: hidden;
}

View File

@ -1,4 +1,4 @@
/* General */
$fontSize:10px;
$borderRadius:12px;
$transitionDuration:.2s;
$scale:14px; /* main font size */
$borderRadius:12px; /* border radius of layout element e.g. card, sidebar */
$transitionDuration:.2s; /* transition duration of layout elements e.g. sidebar, overlay menus */