Skip to content

Commit

Permalink
chore: made banner text white:
Browse files Browse the repository at this point in the history
|
  • Loading branch information
jeafreezy committed Nov 19, 2024
1 parent e336db4 commit 87e3495
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
4 changes: 2 additions & 2 deletions frontend/src/components/ui/banner/banner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const Banner = () => {

const banner = useMemo(
() => (
<div className="w-full p-4 bg-primary flex items-center justify-between px-4 text-white">
<div className="w-full px-4 py-2 bg-primary flex items-center justify-between">
<Markdown
remarkPlugins={[remarkGfm]}
className={
Expand All @@ -38,7 +38,7 @@ const Banner = () => {
>
{data?.[0]?.message}
</Markdown>
<button onClick={handleCloseBanner} className="font-bold">
<button onClick={handleCloseBanner} className="font-bold text-white">
</button>
</div>
Expand Down
12 changes: 9 additions & 3 deletions frontend/src/styles/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,13 @@ sl-alert.success::part(base) {

/* Toast stack placement style ends */

/* Icon styles begins */
/* Tailwind styles begins */

.prose * {
color: var(--hot-fair-color-white) !important;
margin: 0px !important
}

@layer components {
.icon {
@apply inline-block h-4 w-4;
Expand All @@ -138,8 +144,8 @@ sl-alert.success::part(base) {
}

.banner-markdown{
@apply flex flex-wrap gap-x-2 items-center justify-center w-full prose
@apply w-full text-nowrap prose
}
}

/* Icon styles ends */
/* Tailwind styles ends */

0 comments on commit 87e3495

Please sign in to comment.