diff --git a/assets/css/tailwind.css b/assets/css/tailwind.css new file mode 100644 index 00000000..6e6c50fe --- /dev/null +++ b/assets/css/tailwind.css @@ -0,0 +1,11 @@ +@tailwind base; +@tailwind components; +@tailwind utilities; + +@layer base { + @font-face { + font-family: Roboto Condensed; + font-weight: 300 400 500 700; + src: url('../assets/fonts/RobotoCondensed-VariableFont_wght.ttf') format('truetype'); + } +} diff --git a/run.local b/run.local index 3051f0d1..edc8da00 100755 --- a/run.local +++ b/run.local @@ -73,6 +73,7 @@ function npm:build:css { tailwindcss \ --config tailwind.config.ts \ + --input css/tailwind.css \ --output ../source/build/tailwind.css "${args[@]}" } diff --git a/source/_layouts/base.html.twig b/source/_layouts/base.html.twig index f9493fcd..ba08a042 100644 --- a/source/_layouts/base.html.twig +++ b/source/_layouts/base.html.twig @@ -4,8 +4,6 @@ - - diff --git a/source/assets/fonts/RobotoCondensed-Italic-VariableFont_wght.ttf b/source/assets/fonts/RobotoCondensed-Italic-VariableFont_wght.ttf new file mode 100644 index 00000000..52748d6b Binary files /dev/null and b/source/assets/fonts/RobotoCondensed-Italic-VariableFont_wght.ttf differ diff --git a/source/assets/fonts/RobotoCondensed-VariableFont_wght.ttf b/source/assets/fonts/RobotoCondensed-VariableFont_wght.ttf new file mode 100644 index 00000000..a5f645b6 Binary files /dev/null and b/source/assets/fonts/RobotoCondensed-VariableFont_wght.ttf differ