Skip to content

Commit

Permalink
Merge branch 'alpha' of github.com:master-style/styles into alpha
Browse files Browse the repository at this point in the history
  • Loading branch information
BenSeage committed Dec 30, 2021
2 parents aa16f12 + 0cc5de9 commit 393a7e4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/border-spacing.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import { Style } from '@master/style';
import { BORDER, DASH, SPACING } from './constants/css-property-keyword';

export class BorderSpacingStyle extends Style {
static override matches = /^b-spacing:./;
static override key = BORDER + DASH + SPACING;
}
2 changes: 2 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ import { OutlineStyleStyle } from './outline-style';
import { OutlineWidthStyle } from './outline-width';
import { OutlineStyle } from './outline';
import { BorderCollapseStyle } from './border-collapse';
import { BorderSpacingStyle } from './border-spacing';
import { TableLayoutStyle } from './table-layout';
import { AccentColorStyle } from './accent-color';
import { AppearanceStyle } from './appearance';
Expand Down Expand Up @@ -246,6 +247,7 @@ StyleSheet.Styles.push(
BorderStyleStyle,
BorderWidthStyle,
BorderCollapseStyle,
BorderSpacingStyle,
BorderStyle,
// background
BackgroundAttachmentStyle,
Expand Down

0 comments on commit 393a7e4

Please sign in to comment.