feat: add line height & font size settings for plaintext editor (#1700)

This commit is contained in:
Aman Harwara
2022-09-30 00:50:33 +05:30
committed by GitHub
parent fc86cebc75
commit 3c699eaa4a
12 changed files with 178 additions and 31 deletions

View File

@@ -83,6 +83,7 @@ module.exports = {
},
fontSize: {
'menu-item': '0.813rem',
editor: 'var(--sn-stylekit-font-size-editor)',
},
screens: {
'xsm-only': { min: '320px', max: '639px' },
@@ -146,6 +147,12 @@ module.exports = {
'border-accessory-tint-4',
'border-accessory-tint-5',
'border-accessory-tint-6',
'leading-none',
'leading-tight',
'leading-snug',
'leading-normal',
'leading-relaxed',
'leading-loose',
],
plugins: [
plugin(function ({ addVariant }) {