Skip to content

Commit

Permalink
Update tailwind config
Browse files Browse the repository at this point in the history
  • Loading branch information
jlpereira committed Apr 17, 2023
1 parent e90165d commit 16f4a26
Showing 1 changed file with 12 additions and 14 deletions.
26 changes: 12 additions & 14 deletions tailwind.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,19 @@ function withOpacity(variableName) {

module.exports = {
content: [
"./index.html",
"./vite.config.js",
"./src/**/*.{vue,js,ts,jsx,tsx,md}",
"./pages/*.{vue,md}",
"./config/*.yml",
'./index.html',
'./vite.config.js',
'./src/**/*.{vue,js,ts,jsx,tsx,md}',
'./pages/**/*.{vue,md}',
'./config/*.yml'
],

darkMode: 'class',

theme: {
extend: {
fontFamily: {
main: ['Roboto','sans-serif']
main: ['Roboto', 'sans-serif']
},
colors: {
base: {
Expand All @@ -31,7 +31,7 @@ module.exports = {
foreground: withOpacity('--color-base-foreground'),
lighter: withOpacity('--color-base-lighter'),
muted: withOpacity('--color-base-muted'),
soft: withOpacity('--color-base-soft'),
soft: withOpacity('--color-base-soft')
},

map: {
Expand All @@ -54,22 +54,20 @@ module.exports = {
typography: ({ theme }) => ({
DEFAULT: {
css: {
'--tw-prose-links': theme('colors.secondary.color'),
},
'--tw-prose-links': theme('colors.secondary.color')
}
},
invert: {
css: {
'--tw-prose-links': theme('colors.secondary.color'),
'--tw-prose-links': theme('colors.secondary.color')
}
}
}),

screens: {
'print': { 'raw': 'print' }
print: { raw: 'print' }
}
}
},
plugins: [
require('@tailwindcss/typography')
],
plugins: [require('@tailwindcss/typography')]
}

0 comments on commit 16f4a26

Please sign in to comment.