Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion packages/core/src/themes/pentaho.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,12 +125,18 @@ const inputColors = {
bg: ld("#FFFFFF", "#020617"),
};

const shadows = {
container: theme.colors.shadow,
elevated: `0 16px 16px 0 ${theme.alpha(slate[900], 0.1)}, 0 10px 10px 0 ${theme.alpha(slate[900], 0.08)}, 0 6px 6px 0 ${theme.alpha(slate[900], 0.06)}, 0 3px 3px 0 ${theme.alpha(slate[900], 0.04)}, 0 1px 1px 0 ${theme.alpha(slate[900], 0.02)}`,
modal: `0 32px 32px 0 ${theme.alpha(slate[900], 0.1)}, 0 20px 20px 0 ${theme.alpha(slate[900], 0.08)}, 0 12px 12px 0 ${theme.alpha(slate[900], 0.06)}, 0 5px 5px 0 ${theme.alpha(slate[900], 0.04)}, 0 1px 1px 0 ${theme.alpha(slate[900], 0.02)}`,
};

const popperStyles = {
margin: theme.spacing("xxs", 0),
backgroundColor: theme.colors.bgContainer,
border: `1px solid ${theme.colors.borderSubtle}`,
borderRadius: theme.radii.large,
boxShadow: `0px 0px 6px 0px rgba(65, 65, 65, 0.08)`,
boxShadow: shadows.container,
};

export const pentaho = mergeTheme(pentahoBase, {
Expand Down Expand Up @@ -672,6 +678,7 @@ export const pentaho = mergeTheme(pentahoBase, {
classes: {
paper: {
borderRadius: theme.radii.large,
boxShadow: shadows.modal,
},
statusBar: {
border: "none",
Expand Down Expand Up @@ -851,6 +858,7 @@ export const pentaho = mergeTheme(pentahoBase, {
classes: {
root: {
outlineColor: theme.colors.borderSubtle,
boxShadow: theme.colors.shadow,
Comment thread
plagoa marked this conversation as resolved.
"--rb": theme.radii.large,
// default non-semantic card
"&[data-color=sema0]": {
Expand Down Expand Up @@ -1058,6 +1066,7 @@ export const pentaho = mergeTheme(pentahoBase, {
classes: {
tooltip: {
padding: theme.spacing("xs", "sm"),
boxShadow: shadows.elevated,
},
},
} satisfies CSSClasses<HvTooltipProps>,
Expand Down Expand Up @@ -1230,6 +1239,7 @@ export const pentaho = mergeTheme(pentahoBase, {
root: {
width: 525,
minHeight: "unset",
boxShadow: theme.colors.shadow,
},
messageText: {
paddingLeft: 0,
Expand Down
4 changes: 2 additions & 2 deletions packages/styles/src/themes/pentaho.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ const pentaho = makeTheme((theme) => ({
warning_20: amber[100],
positive_20: green[100],
neutral_20: sky[100],
shadow: `0px 2px 4px -1px ${theme.alpha(slate[700], 0.08)}`,
shad1: theme.alpha(slate[700], 0.08),
shadow: `0 4px 4px 0 ${theme.alpha(slate[900], 0.02)}, 0 3px 3px 0 ${theme.alpha(slate[900], 0.04)}, 0 1px 1px 0 ${theme.alpha(slate[900], 0.06)}, 0 1px 1px 0 ${theme.alpha(slate[900], 0.08)}, 0 0 0 0 ${theme.alpha(slate[900], 0.1)}`,
shad1: theme.alpha(slate[900], 0.08),

primary: [blue[600], blue[500]],
primaryStrong: [blue[700], blue[600]],
Expand Down
Loading