Skip to content

Commit

Permalink
Adds new Cafe Theme and new font for ThemeDropdown
Browse files Browse the repository at this point in the history
  • Loading branch information
Omanshb committed Oct 16, 2023
1 parent e4a96f1 commit 88de59f
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions client/src/Context/ThemeContext.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ export enum Theme {
Dark = "Dark",
Black = "Black",
Bubblegum = "Bubblegum",
Cafe = "Cafe",
}

export type ThemeContextType = {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
.ThemeDropdown {
height: 52px;
select {
font-family:Verdana, Geneva, Tahoma, sans-serif;
height: 100%;
padding: 4px 20px;
border: 2px solid var(--borderColor);
Expand Down
1 change: 1 addition & 0 deletions client/src/components/ThemeDropdown/ThemeDropdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ const ThemeDropdown: FC<ThemeDropdownProps> = () => {
<option value={Theme.Dark}>{Theme.Dark}</option>
<option value={Theme.Black}>{Theme.Black}</option>
<option value={Theme.Bubblegum}>{Theme.Bubblegum}</option>
<option value={Theme.Cafe}>{Theme.Cafe}</option>
</select>
</div>
);
Expand Down
8 changes: 8 additions & 0 deletions client/src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -62,3 +62,11 @@ code {
--svgFilter: invert(47%) sepia(31%) saturate(720%) hue-rotate(138deg)
brightness(88%) contrast(91%);
}
.CafeCoffeeTheme {
--background: #ffceb4;
--foreground: #6e463f;
--borderColor: #4a372d;
--hover: #d1afa2;
--svgFilter: sepia(60%) saturate(120%) hue-rotate(18deg)
brightness(95%) contrast(85%);
}

0 comments on commit 88de59f

Please sign in to comment.