diff --git a/README.md b/README.md index c6deaa792..ec33fd912 100644 --- a/README.md +++ b/README.md @@ -50,7 +50,7 @@ Each PrimeVue theme has its own font family so it is suggested to apply it to yo ``` body { - font-family: (--font-family); + font-family: var(--font-family); } ``` diff --git a/doc/installation/StylesDoc.vue b/doc/installation/StylesDoc.vue index 3a1fc8692..882bd91ad 100644 --- a/doc/installation/StylesDoc.vue +++ b/doc/installation/StylesDoc.vue @@ -20,7 +20,7 @@ import "primevue/resources/primevue.min.css";` }, code2: { basic: `body { - font-family: (--font-family); + font-family: var(--font-family); } ` } };