-
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.
Add default style. Colors TBD. Update theme object
- Loading branch information
Showing
6 changed files
with
57 additions
and
61 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
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,32 +1,11 @@ | ||
const FilledOptions = { | ||
primary: { | ||
default: { | ||
base: { | ||
initial: 'border', | ||
light: 'bg-white border-gray-300', | ||
dark: 'dark:bg-gray-800 dark:border-gray-700' | ||
initial: 'border bg-transparent', | ||
light: 'border-gray-4', | ||
dark: 'dark:border-gray-10', | ||
} | ||
}, | ||
secondary: { | ||
base: { | ||
initial: 'border', | ||
light: 'bg-secondary-50 border-light', | ||
dark: 'dark:bg-zinc-900 dark:border-zinc-800' | ||
} | ||
}, | ||
tertiary: { | ||
base: { | ||
initial: 'border', | ||
light: 'bg-white border-tertiary-200', | ||
dark: 'dark:bg-tertiary-text dark:border-tertiary' | ||
} | ||
}, | ||
neutral: { | ||
base: { | ||
initial: 'border', | ||
light: 'bg-neutral-50 border-neutral-700', | ||
dark: 'dark:bg-neutral-900 dark:border-neutral-800' | ||
} | ||
} | ||
}; | ||
|
||
export default FilledOptions; |
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
38 changes: 17 additions & 21 deletions
38
src/theme/components/Accordion/Drawer/DrawerFilled.theme.js
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,31 +1,27 @@ | ||
const FilledOptions = { | ||
primary: { | ||
button: { | ||
base: { | ||
light: 'bg-gray-50 border-t-gray-200', | ||
dark: 'dark:bg-gray-700/30 dark:border-t-gray-900/55', | ||
shadow: 'dark:shadow-gray-800' | ||
initial: 'flex w-full items-center justify-between p-4 group/expandable' | ||
}, | ||
style: { | ||
default: { | ||
light: 'aria-expanded:bg-gray-1', | ||
dark: 'aria-expanded:dark:bg-gray-11/90', | ||
hover: 'hover:bg-gray-1 hover:dark:bg-gray-11/90', | ||
} | ||
} | ||
}, | ||
secondary: { | ||
content: { | ||
base: { | ||
light: 'bg-white border-t-light/35', | ||
dark: 'dark:bg-zinc-800 dark:border-t-zinc-900', | ||
initial: '' | ||
}, | ||
style: { | ||
default: { | ||
light: 'bg-gray-1', | ||
dark: 'dark:bg-gray-11/90' | ||
} | ||
} | ||
}, | ||
tertiary: { | ||
base: { | ||
light: 'bg-gray-50 border-t-gray-200', | ||
dark: 'dark:bg-neutral-900 dark:border-t-neutral-950/75', | ||
shadow: 'dark:shadow-neutral-800/10' | ||
} | ||
}, | ||
neutral: { | ||
base: { | ||
light: 'bg-white border-t-neutral-200', | ||
dark: 'dark:bg-neutral-800 dark:border-t-neutral-950/75', | ||
shadow: 'dark:shadow-neutral-900/10' | ||
} | ||
} | ||
}; | ||
|
||
export default FilledOptions; |