Skip to content

Commit 3d6c752

Browse files
committed
feat: add overlay colors
1 parent 1e907a5 commit 3d6c752

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ $theme-type: (
88
"text-alt",
99
"neutral-100",
1010
"neutral-200",
11+
"overlay-light",
12+
"overlay-dark",
1113
),
1214
"font": (
1315
"family",

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ export const defaultTheme: Theme = {
1212
"text-alt": "#323646",
1313
"neutral-100": "#edf2f7",
1414
"neutral-200": "#DBDEEB",
15+
"overlay-light": "rgba(255,255,255, .2)",
16+
"overlay-dark": "rgba(0,0,0,.2)",
1517
},
1618
font: {
1719
"family": "system-ui, sans-serif",

packages/components/theme/src/types.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ export interface Theme {
77
"text-alt": string;
88
"neutral-100": string;
99
"neutral-200": string;
10+
"overlay-light": string;
11+
"overlay-dark": string;
1012
};
1113
font: {
1214
"family": string;

0 commit comments

Comments
 (0)