griffel icon indicating copy to clipboard operation
griffel copied to clipboard

core: support removing property from existing set of styles

Open micahgodbolt opened this issue 1 year ago • 0 comments

If a component is already setting the font-family, there is no way to completely remove the font-family property. The only option is to set the font-family to a new, valid value. There is currently no way to completely remove the font-family property.

current behavior

.a { font-family: 'arial'}
add griffel override
.b { font-family: 'inherit' }

desired behavior

.a { font-family: 'arial'}
add griffel override
// no font family declaration

micahgodbolt avatar Sep 20 '23 16:09 micahgodbolt