-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #67 from KilleenCode/form-styles-1
Add styling to settings forms
- Loading branch information
Showing
17 changed files
with
373 additions
and
91 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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 |
---|---|---|
@@ -0,0 +1,35 @@ | ||
import * as Tabs from "@radix-ui/react-tabs"; | ||
import { styled } from "../../theme"; | ||
|
||
export const TabTrigger = styled(Tabs.Trigger, { | ||
reset: "all", | ||
cursor: "pointer", | ||
background: "$mauve1", | ||
color: "white", | ||
border: "1px solid grey", | ||
fontSize: "1rem", | ||
padding: "0.8rem", | ||
borderBottom: 0, | ||
|
||
"&[aria-selected='true']": { | ||
background: "$mauve2", | ||
}, | ||
}); | ||
|
||
export const TabTriggerContainer = styled(Tabs.List, { | ||
[`${TabTrigger}:first-child`]: { | ||
borderTopLeftRadius: "8px", | ||
}, | ||
[`${TabTrigger}:last-child`]: { | ||
borderTopRightRadius: "8px", | ||
}, | ||
}); | ||
|
||
export const TabContent = styled(Tabs.Content, { | ||
background: "$mauve2", | ||
padding: "1rem", | ||
border: "1px solid grey", | ||
borderTop: 0, | ||
}); | ||
|
||
export const TabContainer = styled(Tabs.Root, {}); |
Oops, something went wrong.