Template - Rails 7 view component Projet d'origine: Veracyte Stack: - Rails 7 - Ruby 3.1 - ViewComponent configuré comme on veut - Tailwind
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
rails_view_component/config/tailwind.config.js

23 lines
541 B

const defaultTheme = require("tailwindcss/defaultTheme");
module.exports = {
content: [
"./public/*.html",
"./app/helpers/**/*.rb",
"./app/javascript/**/*.js",
"./app/views/**/*.{erb,haml,html,slim}",
"./app/components/**/*.{erb,haml,html,slim}",
],
theme: {
extend: {
fontFamily: {
sans: ["Inter var", ...defaultTheme.fontFamily.sans],
},
},
},
plugins: [
require("@tailwindcss/forms"),
require("@tailwindcss/aspect-ratio"),
require("@tailwindcss/typography"),
],
};