Skip to content

Commit 9c1d3c7

Browse files
committed
feat: add dark and light variations of primary color
1 parent dc6c231 commit 9c1d3c7

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

packages/components/theme/src/styles/_theme-type.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22

33
$theme-type: (
44
"color": (
5+
"highlight-primary-light",
56
"highlight-primary",
7+
"highlight-primary-dark",
68
"neutral-0",
79
"neutral-100",
810
"neutral-200",

packages/components/theme/src/themes/default.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ import type { Theme } from "../types";
66

77
export const defaultTheme: Theme = {
88
color: {
9-
"highlight-primary": "#59BCC8",
9+
"highlight-primary-light": "hsl(185deg 50% 85%)",
10+
"highlight-primary": "hsl(185deg 50% 55%)",
11+
"highlight-primary-dark": "hsl(185deg 50% 35%)",
1012
"neutral-0": "#fff",
1113
"neutral-100": "#edf2f7",
1214
"neutral-200": "#DBDEEB",

packages/components/theme/src/types.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
// Keep in sync with /Users/alopes/Desktop/dev-abel/react-ck/packages/components/theme/src/styles/_theme-type.scss
22
export interface Theme {
33
color: {
4+
"highlight-primary-light": string;
45
"highlight-primary": string;
6+
"highlight-primary-dark": string;
57
"neutral-0": string;
68
"neutral-100": string;
79
"neutral-200": string;

0 commit comments

Comments
 (0)