-
-
Notifications
You must be signed in to change notification settings - Fork 0
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
1 parent
e86c0bc
commit b801555
Showing
6 changed files
with
82 additions
and
130 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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
declare module 'brandeur-plugin-debug' { | ||
import { Style } from 'brandeur' | ||
|
||
type Config = { | ||
enabled?: boolean | ||
position?: 1 | 2 | 3 | 4 | ||
color?: string | ||
debugWith?: 'border' | 'background' | ||
borderSize?: number | ||
showText?: boolean | ||
styles?: Style | ||
} | ||
export default function debug( | ||
autoActive?: boolean, | ||
config?: Config | ||
): (style: Style) => 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,10 +1,7 @@ | ||
declare module 'brandeur-plugin-enforce-longhand' { | ||
import { Style } from 'brandeur' | ||
|
||
type Config = { | ||
borderMode: 'none' | 'directional' | 'longhand' | ||
} | ||
export default function enforceLonghand( | ||
config?: Config | ||
borderMode?: 'none' | 'directional' | 'longhand' | ||
): (style: Style) => 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,11 +1,11 @@ | ||
declare module 'brandeur-plugin-sort-property' { | ||
import { Style } from 'brandeur' | ||
|
||
type Config = { | ||
type PropertyPriority = { | ||
[Property in keyof Style]: number | ||
} | ||
|
||
export default function enforceLonghand( | ||
config?: Config | ||
propertyPriority?: PropertyPriority | ||
): (style: Style) => 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
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