diff options
feat: upgrade tailwind
Diffstat (limited to 'src/app.css')
| -rw-r--r-- | src/app.css | 32 | 
1 files changed, 29 insertions, 3 deletions
| diff --git a/src/app.css b/src/app.css index e920bfb..0199fc9 100644 --- a/src/app.css +++ b/src/app.css @@ -7,6 +7,32 @@    You should have received a copy of the GNU Affero General Public License along with this program.  If not, see <http://www.gnu.org/licenses/>.  */ -@tailwind base; -@tailwind components; -@tailwind utilities; +@import 'tailwindcss'; + +@theme { +  --font-bios: +    'Ac437 IBM EGA 8x14', 'Hack', 'Courier New', 'Courier', 'monospace'; +  --font-grub: +    'Px437 DOS/V re. JPN12', 'Ac437 IBM EGA 8x14', 'Hack', 'Courier New', +    'Courier', 'monospace'; +  --font-mono: +    'PxPlus IBM EGA 8x14', 'Hack', 'Courier New', 'Courier', 'monospace'; +} + +/* +  The default border color has changed to `currentColor` in Tailwind CSS v4, +  so we've added these compatibility styles to make sure everything still +  looks the same as it did with Tailwind CSS v3. + +  If we ever want to remove these styles, we need to add an explicit border +  color utility to any element that depends on these defaults. +*/ +@layer base { +  *, +  ::after, +  ::before, +  ::backdrop, +  ::file-selector-button { +    border-color: var(--color-gray-200, currentColor); +  } +} |