-
Notifications
You must be signed in to change notification settings - Fork 255
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(ui): Descriptor Variance Authority (#4343)
Co-authored-by: Alex Carpenter <[email protected]>
- Loading branch information
1 parent
3b50b67
commit 5c6391b
Showing
9 changed files
with
413 additions
and
77 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,2 @@ | ||
--- | ||
--- |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,17 @@ | ||
import { visualStyle as alertVisualStyle } from '~/primitives/alert'; | ||
import { visualStyle as buttonVisualStyle } from '~/primitives/button'; | ||
import { visualStyle as cardVisualStyle } from '~/primitives/card'; | ||
import { visualStyle as separatorVisualStyle } from '~/primitives/separator'; | ||
import { visualStyle as spinnerVisualStyle } from '~/primitives/spinner'; | ||
|
||
import { buildTheme, mergeTheme } from './buildTheme'; | ||
import { layoutTheme } from './layout'; | ||
|
||
const visualTheme = buildTheme({ ...alertVisualStyle, ...cardVisualStyle, ...separatorVisualStyle }); | ||
const visualTheme = buildTheme({ | ||
...alertVisualStyle, | ||
...buttonVisualStyle, | ||
...cardVisualStyle, | ||
...separatorVisualStyle, | ||
...spinnerVisualStyle, | ||
}); | ||
export const fullTheme = mergeTheme(layoutTheme, visualTheme); |
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,15 @@ | ||
import { layoutStyle as alertLayoutStyle } from '~/primitives/alert'; | ||
import { layoutStyle as buttonStyle } from '~/primitives/button'; | ||
import { layoutStyle as cardLayoutStyle } from '~/primitives/card'; | ||
import { layoutStyle as separatorStyle } from '~/primitives/separator'; | ||
import { layoutStyle as layoutSpinnerStyle } from '~/primitives/spinner'; | ||
|
||
import { buildTheme } from './buildTheme'; | ||
|
||
export const layoutTheme = buildTheme({ ...alertLayoutStyle, ...cardLayoutStyle, ...separatorStyle }); | ||
export const layoutTheme = buildTheme({ | ||
...alertLayoutStyle, | ||
...buttonStyle, | ||
...cardLayoutStyle, | ||
...separatorStyle, | ||
...layoutSpinnerStyle, | ||
}); |
Oops, something went wrong.