Skip to content

Commit

Permalink
fix: FontWeight
Browse files Browse the repository at this point in the history
  • Loading branch information
1aron committed Dec 19, 2021
1 parent 3ffe78e commit c9cecbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/font-weight.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { DASH, FONT, FONT_PREFIX, F_PREFIX, WEIGHT } from './constants/css-prope
import { Style } from '@master/style';

export class FontWeightStyle extends Style {
static override prefixes = /^f-weight:|f(ont):(thin|extralight|light|regular|medium|semibold|bold|extrabold|heavy)/;
static override prefixes = /^f-weight:|f(ont)?:(thin|extralight|light|regular|medium|semibold|bold|extrabold|heavy)/;
static override key = FONT + DASH + WEIGHT;
static override unit = '';
static override values = {
Expand Down

0 comments on commit c9cecbe

Please sign in to comment.