Skip to content

Commit

Permalink
feat: chocolate theme
Browse files Browse the repository at this point in the history
  • Loading branch information
aradzie committed Oct 16, 2024
1 parent 7fa7a71 commit be46762
Show file tree
Hide file tree
Showing 7 changed files with 566 additions and 144 deletions.
555 changes: 555 additions & 0 deletions packages/keybr-themes/assets/bg-chocolate.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
133 changes: 0 additions & 133 deletions packages/keybr-themes/assets/bg-coffee-dark.svg

This file was deleted.

File renamed without changes
4 changes: 2 additions & 2 deletions packages/keybr-themes/lib/themes/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
@import "theme-3-gray.less";
@import "theme-4-yellow.less";
@import "theme-5-garden.less";
@import "theme-6-coffee-light.less";
@import "theme-7-coffee-dark.less";
@import "theme-6-coffee.less";
@import "theme-7-chocolate.less";
@import "theme-8-honey.less";
@import "theme-99-custom.less";
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@import "palettes.less";

html[data-color="coffee-light"] {
html[data-color="coffee"] {
@primary: #faecd7;
@secondary: #262626;
@accent: #4d4d4d;
Expand Down Expand Up @@ -31,7 +31,7 @@ html[data-color="coffee-light"] {
.use-chart-colors(@primary, 20);
.use-keyboard-colors(@primary, 20);
.use-effort-colors(@primary, #759ef0);
--background-image: url(../../assets/bg-coffee-light.svg);
--background-image: url(../../assets/bg-coffee.svg);
--Surface__box-shadow: 0 0.5rem 1rem var(--shadow-color);
--Surface__backdrop-filter: blur(10px);
}
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
@import "palettes.less";

html[data-color="coffee-dark"] {
html[data-color="chocolate"] {
@primary: #604a43;
@secondary: #cfcfcf;
@accent: #ba8f81;
@accent: #e3a390;
@error: #a34729;

--primary-d2: darken(@primary, 10);
Expand Down Expand Up @@ -31,7 +31,7 @@ html[data-color="coffee-dark"] {
.use-chart-colors(@primary, 20);
.use-keyboard-colors(@primary, 20);
.use-effort-colors(@primary, #759ef0);
--background-image: url(../../assets/bg-coffee-dark.svg);
--background-image: url(../../assets/bg-chocolate.svg);
--Surface__box-shadow: 0 0.5rem 1rem var(--shadow-color);
--Surface__backdrop-filter: blur(10px);
}
8 changes: 4 additions & 4 deletions packages/keybr-themes/lib/themes/themes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,12 @@ export const COLORS = new ThemeList([
name: "Garden",
},
{
id: "coffee-light",
name: "Coffee (Light)",
id: "coffee",
name: "Coffee",
},
{
id: "coffee-dark",
name: "Coffee (Dark)",
id: "chocolate",
name: "Chocolate",
},
{
id: "honey",
Expand Down

0 comments on commit be46762

Please sign in to comment.