feat: UI add base theme black color to replace (#204)
* chore: add black color to stitches theme * chore: add list-nfa to index * Update ui/src/components/nfa-card/nfa-card.styles.ts Co-authored-by: Felipe Mendes <zo.fmendes@gmail.com> --------- Co-authored-by: Felipe Mendes <zo.fmendes@gmail.com>
This commit is contained in:
parent
a4542d7442
commit
70d1e28cf2
|
|
@ -44,10 +44,7 @@ export const ColorPicker: React.FC<ColorPickerProps> = ({
|
||||||
{/* TODO crate color picker component */}
|
{/* TODO crate color picker component */}
|
||||||
<Button
|
<Button
|
||||||
leftIcon={
|
leftIcon={
|
||||||
<Icon
|
<Icon name="square" css={{ color: `${logoColor || '$black'}` }} />
|
||||||
name="square"
|
|
||||||
css={{ color: `${logoColor || '#000000'}` }}
|
|
||||||
/>
|
|
||||||
}
|
}
|
||||||
rightIcon={
|
rightIcon={
|
||||||
<Icon name="chevron-down" css={{ fontSize: '0.625rem' }} />
|
<Icon name="chevron-down" css={{ fontSize: '0.625rem' }} />
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@ export abstract class NavBarStyles {
|
||||||
right: 0,
|
right: 0,
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
backgroundColor: 'black',
|
backgroundColor: '$black',
|
||||||
zIndex: '$sticky',
|
zIndex: '$sticky',
|
||||||
height: '$22',
|
height: '$22',
|
||||||
});
|
});
|
||||||
|
|
|
||||||
|
|
@ -34,7 +34,7 @@ export const NFACardStyles = {
|
||||||
padding: '$3 $4',
|
padding: '$3 $4',
|
||||||
gap: '$2',
|
gap: '$2',
|
||||||
borderTop: '1px solid $slate6',
|
borderTop: '1px solid $slate6',
|
||||||
backgroundColor: 'black', // TODO: are we going to add black as theme color?
|
backgroundColor: '$black',
|
||||||
}),
|
}),
|
||||||
Badge: styled('span', {
|
Badge: styled('span', {
|
||||||
height: 'fit-content',
|
height: 'fit-content',
|
||||||
|
|
|
||||||
|
|
@ -59,6 +59,7 @@ export const createDripStitches = <
|
||||||
},
|
},
|
||||||
theme: {
|
theme: {
|
||||||
colors: {
|
colors: {
|
||||||
|
black: '#000000',
|
||||||
...darkColors, // TODO: replace with light colors once it's done the light mode
|
...darkColors, // TODO: replace with light colors once it's done the light mode
|
||||||
...(theme?.colors || {}),
|
...(theme?.colors || {}),
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
import { Explore as ES } from './explore.styles';
|
import { Explore as ES } from './explore.styles';
|
||||||
import { Header } from './header';
|
import { Header } from './header';
|
||||||
import { ListNfas } from './list-nfas/list-nfas';
|
import { ListNfas } from './list-nfas';
|
||||||
|
|
||||||
export const Explore: React.FC = () => {
|
export const Explore: React.FC = () => {
|
||||||
return (
|
return (
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
export * from './list-nfas';
|
||||||
Loading…
Reference in New Issue