配置/tailwind.config.js // const defaultTheme = require('tailwindcss/defaultTheme')// module.exports = {// content: [// './app/helpers/**/*.rb',// './app/javascript/**/*.js',// './app/views/**/*'// ],// theme: {// extend: {// fontFamily: {// sans: ['Inter var'...
font-family: 'Archivo Black'; font-weight: 400; src: url('~assets/fonts/ArchivoBlack-Regular.ttf') format('truetype'); } } What is Expected? That the font is loaded correctly What is actually happening? When running npm run dev , I get this error: in ./assets/css/tailwind.css frien...
@mixingoogle-font($family){@importurl("http://fonts.googleapis.com/css?family=#{$family}");}@includegoogle-font("Droid Sans"); Import and Modules permalinkImport and Modules Compatibility: Dart Sass since1.23.0 LibSass ✗ Ruby Sass
create aindex.scssfile containing@import url("https://fonts.googleapis.com/css?family=Open+Sans"); importindex.scssfromApp.js Links Repro url:https://github.com/simoneb/cra-3.4.0-sass-repro CircleCI build showing the build error:https://app.circleci.com/jobs/github/simoneb/cra-3.4.0-sa...
@mixin google-font($family) { @import url("http://fonts.googleapis.com/css?family=#{$family}"); } @include google-font("Droid Sans"); Sass Syntax @mixin google-font($family) @import url("http://fonts.googleapis.com/css?family=#{$family}") @include google-font("Droid Sans") ...