VBV-86: Update base font styles

This commit is contained in:
Daniel Egger 2022-07-28 17:20:07 +02:00 committed by Christian Cueni
parent 7970cf6174
commit 10d7632bfe
3 changed files with 8 additions and 5 deletions

View File

@ -22,7 +22,9 @@ const state = reactive({
dropdownSelected: {id: 8}, dropdownSelected: {id: 8},
}) })
// TODO: die CSS-Klasse für die Farben wird hier in der StyleGuideView.vue generiert.
// deshalb muss man diese CSS-Klassen in tailwind.config.js "safelist"en, wenn diese sonst
// noch nirgendwo verwendet werden.
const colors = ['blue', 'sky', 'orange', 'green', 'red', 'gray',]; const colors = ['blue', 'sky', 'orange', 'green', 'red', 'gray',];
const colorValues = [100, 200, 300, 400, 500, 600, 700, 800, 900,]; const colorValues = [100, 200, 300, 400, 500, 600, 700, 800, 900,];

View File

@ -4,6 +4,7 @@ module.exports = {
content: [ content: [
'./index.html', './index.html',
'./src/**/*.{vue,js,ts,jsx,tsx}', './src/**/*.{vue,js,ts,jsx,tsx}',
// TODO: wenn man den server-pfad auch angibt wird Tailwind langsamer?! (Startzeit erhöht sich stark...)
// '../server/vbv_lernwelt/**/*.{html,js,py}', // '../server/vbv_lernwelt/**/*.{html,js,py}',
], ],
theme: { theme: {

View File

@ -24,19 +24,19 @@ svg {
} }
h2 { h2 {
@apply text-3xl xl:text-4xl font-bold @apply text-2xl md:text-3xl xl:text-4xl font-bold
} }
.heading-2 { .heading-2 {
@apply text-3xl xl:text-4xl font-bold @apply text-2xl md:text-3xl xl:text-4xl font-bold
} }
h3 { h3 {
@apply text-2xl font-bold @apply text-xl xl:text-2xl font-bold
} }
.heading-3 { .heading-3 {
@apply text-3xl xl:text-4xl font-bold @apply text-xl xl:text-2xl font-bold
} }
.link { .link {