mirror of
				https://github.com/go-gitea/gitea
				synced 2025-10-31 19:38:23 +00:00 
			
		
		
		
	Migrate font-family to tailwind (#30118)
Enable us to use tailwind's [`font-family`](https://tailwindcss.com/docs/font-family) classes as well as remove `gt-mono` in favor of `tw-font-mono`. I also merged the "compensation" to one selector, previously this was two different values 0.9em and 0.95em. I did not declare a `serif` font because I don't think there will ever be a use case for those. Command ran: ```sh perl -p -i -e 's#gt-mono#tw-font-mono#g' web_src/js/**/* templates/**/*
This commit is contained in:
		| @@ -68,6 +68,10 @@ export default { | ||||
|       '3xl': '24px', | ||||
|       'full': 'var(--border-radius-circle)', // 50% | ||||
|     }, | ||||
|     fontFamily: { | ||||
|       sans: 'var(--fonts-regular)', | ||||
|       mono: 'var(--fonts-monospace)', | ||||
|     }, | ||||
|     fontWeight: { | ||||
|       light: 'var(--font-weight-light)', | ||||
|       normal: 'var(--font-weight-normal)', | ||||
|   | ||||
		Reference in New Issue
	
	Block a user