-
-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
92 changed files
with
270 additions
and
266 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,8 @@ | ||
{ | ||
"name": "styles", | ||
"github": { | ||
"name": "master-style" | ||
}, | ||
"assets": [ | ||
"src/package.json", | ||
"README*", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import { ANIMATION, DASH, DELAY } from './constants/css-property-keyword'; | ||
import { MasterStyle } from '@master/style'; | ||
|
||
export class MasterAnimationDelayStyle extends MasterStyle { | ||
export class AnimationDelayStyle extends MasterStyle { | ||
static override prefixes = /^(animation-delay|\*delay):/; | ||
static override properties = [ANIMATION + DASH + DELAY]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import { ANIMATION, DASH, DIRECTION } from './constants/css-property-keyword'; | ||
import { MasterStyle } from '@master/style'; | ||
|
||
export class MasterAnimationDirectionStyle extends MasterStyle { | ||
export class AnimationDirectionStyle extends MasterStyle { | ||
static override prefixes = /^(animation-direction|\*direction):/; | ||
static override properties = [ANIMATION + DASH + DIRECTION]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import { ANIMATION, DASH, FILL, MODE } from './constants/css-property-keyword'; | ||
import { MasterStyle } from '@master/style'; | ||
|
||
export class MasterAnimationFillModeStyle extends MasterStyle { | ||
export class AnimationFillModeStyle extends MasterStyle { | ||
static override prefixes = /^(animation-fill-mode|\*fill-mode):/; | ||
static override properties = [ANIMATION + DASH + FILL + DASH + MODE]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import { ANIMATION, COUNT, DASH, ITERATION } from './constants/css-property-keyword'; | ||
import { MasterStyle } from '@master/style'; | ||
|
||
export class MasterAnimationIterationCountStyle extends MasterStyle { | ||
export class AnimationIterationCountStyle extends MasterStyle { | ||
static override prefixes = /^(animation-iteration-count|\*iteration-count):/; | ||
static override properties = [ANIMATION + DASH + ITERATION + DASH + COUNT]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import { ANIMATION, DASH, NAME } from './constants/css-property-keyword'; | ||
import { MasterStyle } from '@master/style'; | ||
|
||
export class MasterAnimationNameStyle extends MasterStyle { | ||
export class AnimationNameStyle extends MasterStyle { | ||
static override prefixes = /^(animation-name|\*name):/; | ||
static override properties = [ANIMATION + DASH + NAME]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import { ANIMATION, DASH, PLAY_STATE } from './constants/css-property-keyword'; | ||
import { MasterStyle } from '@master/style'; | ||
|
||
export class MasterAnimationPlayStateStyle extends MasterStyle { | ||
export class AnimationPlayStateStyle extends MasterStyle { | ||
static override prefixes = /^(animation-play-state|\*play-state):/; | ||
static override properties = [ANIMATION + DASH + PLAY_STATE]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import { ANIMATION, DASH, PLAY_STATE, TIMING_FUNCTION } from './constants/css-property-keyword'; | ||
import { MasterStyle } from '@master/style'; | ||
|
||
export class MasterAnimationTimingFunctionStyle extends MasterStyle { | ||
export class AnimationTimingFunctionStyle extends MasterStyle { | ||
static override prefixes = /^(animation-timing-function|\*easing):/; | ||
static override properties = [ANIMATION + DASH + TIMING_FUNCTION]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import { BACKDROP, DASH, FILTER } from './constants/css-property-keyword'; | ||
import { MasterStyle } from '@master/style'; | ||
|
||
export class MasterBackdropFilterStyle extends MasterStyle { | ||
export class BackdropFilterStyle extends MasterStyle { | ||
static override prefixes = /^(bd|backdrop-filter):/; | ||
static override properties = [BACKDROP + DASH + FILTER]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import { MasterStyle } from '@master/style'; | ||
import { ATTACHMENT, BACKGROUND, DASH } from './constants/css-property-keyword'; | ||
|
||
export class MasterBackgroundAttachmentStyle extends MasterStyle { | ||
export class BackgroundAttachmentStyle extends MasterStyle { | ||
static override prefixes = /^bg-attachment:(bg:(fixed|local|scroll))/; | ||
static override properties = [BACKGROUND + DASH + ATTACHMENT]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import { MasterStyle } from '@master/style'; | ||
import { BACKGROUND, BLEND, DASH, MODE } from './constants/css-property-keyword'; | ||
|
||
export class MasterBackgroundBlendModeStyle extends MasterStyle { | ||
export class BackgroundBlendModeStyle extends MasterStyle { | ||
static override prefixes = /^bg-blend:/; | ||
static override properties = [BACKGROUND + DASH + BLEND + DASH + MODE]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import { MasterStyle } from '@master/style'; | ||
import { BACKGROUND, COLOR, DASH } from './constants/css-property-keyword'; | ||
|
||
export class MasterBackgroundColorStyle extends MasterStyle { | ||
export class BackgroundColorStyle extends MasterStyle { | ||
static override prefixes = /^(bg-color:|bg:transparent)/; | ||
static override properties = [BACKGROUND + DASH + COLOR]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import { MasterStyle } from '@master/style'; | ||
import { BACKGROUND, DASH, IMAGE } from './constants/css-property-keyword'; | ||
|
||
export class MasterBackgroundImageStyle extends MasterStyle { | ||
export class BackgroundImageStyle extends MasterStyle { | ||
static override prefixes = /^bg-image:/; | ||
static override properties = [BACKGROUND + DASH + IMAGE]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import { MasterStyle } from '@master/style'; | ||
import { BACKGROUND, DASH, ORIGIN } from './constants/css-property-keyword'; | ||
|
||
export class MasterBackgroundOriginStyle extends MasterStyle { | ||
export class BackgroundOriginStyle extends MasterStyle { | ||
static override prefixes = /^bg-origin:/; | ||
static override properties = [BACKGROUND + DASH + ORIGIN]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import { MasterStyle } from '@master/style'; | ||
import { BACKGROUND, DASH, POSITION } from './constants/css-property-keyword'; | ||
|
||
export class MasterBackgroundPositionStyle extends MasterStyle { | ||
export class BackgroundPositionStyle extends MasterStyle { | ||
static override prefixes = /^(bg-position:|bg:(top|bottom|right|left|center))/; | ||
static override properties = [BACKGROUND + DASH + POSITION]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import { MasterStyle } from '@master/style'; | ||
import { BACKGROUND, DASH, REPEAT } from './constants/css-property-keyword'; | ||
|
||
export class MasterBackgroundRepeatStyle extends MasterStyle { | ||
export class BackgroundRepeatStyle extends MasterStyle { | ||
static override prefixes = /^(bg-repeat:|bg:(repeat|no-repeat|repeat-x|repeat-y))/; | ||
static override properties = [BACKGROUND + DASH + REPEAT]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import { MasterStyle } from '@master/style'; | ||
import { BACKGROUND, DASH, SIZE } from './constants/css-property-keyword'; | ||
|
||
export class MasterBackgroundSizeStyle extends MasterStyle { | ||
export class BackgroundSizeStyle extends MasterStyle { | ||
static override prefixes = /^(bg-size:|bg:(cover|contain))/; | ||
static override properties = [BACKGROUND + DASH + SIZE]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import { MasterStyle } from '@master/style'; | ||
import { BACKGROUND } from './constants/css-property-keyword'; | ||
|
||
export class MasterBackgroundStyle extends MasterStyle { | ||
export class BackgroundStyle extends MasterStyle { | ||
static override prefixes = /^bg:/; | ||
static override properties = [BACKGROUND]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import { MasterStyle } from '@master/style'; | ||
import { BORDER, COLOR, DASH } from './constants/css-property-keyword'; | ||
|
||
export class MasterBorderColorStyle extends MasterStyle { | ||
export class BorderColorStyle extends MasterStyle { | ||
static override prefixes = /^b-color:/; | ||
static override properties = [BORDER + DASH + COLOR]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import { MasterStyle } from '@master/style'; | ||
import { BORDER, DASH, STYLE } from './constants/css-property-keyword'; | ||
|
||
export class MasterBorderStyleStyle extends MasterStyle { | ||
export class BorderStyleStyle extends MasterStyle { | ||
static override prefixes = /^b-style:/; | ||
static override properties = [BORDER + DASH + STYLE]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import { MasterStyle } from '@master/style'; | ||
import { BORDER, DASH, WIDTH } from './constants/css-property-keyword'; | ||
|
||
export class MasterBorderWidthStyle extends MasterStyle { | ||
export class BorderWidthStyle extends MasterStyle { | ||
static override prefixes = /^b-width:/; | ||
static override properties = [BORDER + DASH + WIDTH]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import { MasterStyle } from '@master/style'; | ||
import { BORDER } from './constants/css-property-keyword'; | ||
|
||
export class MasterBorderStyle extends MasterStyle { | ||
export class BorderStyle extends MasterStyle { | ||
static override prefixes = /^b:/; | ||
static override properties = [BORDER]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import { MasterStyle } from '@master/style'; | ||
import { BOX, DASH, SHADOW } from './constants/css-property-keyword'; | ||
|
||
export class MasterBoxShadowStyle extends MasterStyle { | ||
export class BoxShadowStyle extends MasterStyle { | ||
static override prefixes = /^shadow:/; | ||
static override properties = [BOX + DASH + SHADOW]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import { CLEAR } from './constants/css-property-keyword'; | ||
import { MasterStyle } from '@master/style'; | ||
|
||
export class MasterClearStyle extends MasterStyle { | ||
export class ClearStyle extends MasterStyle { | ||
static override prefixes = /^clear:/; | ||
static override properties = [CLEAR]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import { MasterStyle } from '@master/style'; | ||
import { CURSOR } from './constants/css-property-keyword'; | ||
|
||
export class MasterCursorStyle extends MasterStyle { | ||
export class CursorStyle extends MasterStyle { | ||
static override prefixes = /^cursor:/; | ||
static override properties = [CURSOR]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import { FILL } from './constants/css-property-keyword'; | ||
import { MasterStyle } from '@master/style'; | ||
|
||
export class MasterFillStyle extends MasterStyle { | ||
export class FillStyle extends MasterStyle { | ||
static override prefixes = /^fill:/; | ||
static override properties = [FILL]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import { FILTER } from './constants/css-property-keyword'; | ||
import { MasterStyle } from '@master/style'; | ||
|
||
export class MasterFilterStyle extends MasterStyle { | ||
export class FilterStyle extends MasterStyle { | ||
static override prefixes = /^filter:/; | ||
static override properties = [FILTER]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import { FLOAT } from './constants/css-property-keyword'; | ||
import { MasterStyle } from '@master/style'; | ||
|
||
export class MasterFloatStyle extends MasterStyle { | ||
export class FloatStyle extends MasterStyle { | ||
static override prefixes = /^float:/; | ||
static override properties = [FLOAT]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import { DASH, FONT, SIZE } from './constants/css-property-keyword'; | ||
import { MasterStyle } from '@master/style'; | ||
|
||
export class MasterFontSizeStyle extends MasterStyle { | ||
export class FontSizeStyle extends MasterStyle { | ||
static override prefixes = /^(f-size:|f:[0-9])/; | ||
static override properties = [FONT + DASH + SIZE]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import { DASH, FONT, STYLE } from './constants/css-property-keyword'; | ||
import { MasterStyle } from '@master/style'; | ||
|
||
export class MasterFontStyleStyle extends MasterStyle { | ||
export class FontStyleStyle extends MasterStyle { | ||
static override prefixes = /^(f-style:|f:italic)/; | ||
static override properties = [FONT + DASH + STYLE]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import { DASH, FONT, NUMERIC, VARIANT } from './constants/css-property-keyword'; | ||
import { MasterStyle } from '@master/style'; | ||
|
||
export class MasterFontVariantNumericStyle extends MasterStyle { | ||
export class FontVariantNumericStyle extends MasterStyle { | ||
static override prefixes = /^(f-variant-numeric:|f:(ordinal|slashed-zero|lining-nums|oldstyle-nums|proportional-nums|tabular-nums|diagonal-fractions|stached-fractions))/; | ||
static override properties = [FONT + DASH + VARIANT + DASH + NUMERIC]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.