Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
2e49db3
Add types for shadow tokens
acstll Jul 6, 2025
6d3721d
Add shadow tokens definitions
acstll Jul 6, 2025
4a8326a
Draft shadow tokens docs
acstll Jul 6, 2025
9ad7a1e
Add shadow tokens for Amsterdam
acstll Jul 6, 2025
a045131
Add "flat" shadow token fallback for Borealis
acstll Jul 6, 2025
a138edd
Fix typo in comment
acstll Jul 6, 2025
25747d6
Lint
acstll Jul 6, 2025
17b7b22
Refactor shadow mixins to use new shadow tokens
acstll Jul 6, 2025
6d4215c
Update docs (new demo)
acstll Jul 6, 2025
600b9b7
Add shadow tokens in JSON (Borealis)
acstll Jul 6, 2025
3e7b9d7
[eui-theme-common] Fix options type for euiShadowXLarge
acstll Jul 17, 2025
fd7aec9
[eui-theme-common] Fix euiShadowMedium mixin when property=filter
acstll Jul 18, 2025
25ed168
Update SCSS mixins with new values
acstll Jul 18, 2025
c3b2896
Ensue shadow tokens are safe to override
acstll Jul 19, 2025
34ecc8f
Lint
acstll Jul 19, 2025
1eb9aa6
Update visual regression tests
acstll Jul 19, 2025
ae1680c
Extract formatMultipleBoxShadow util function in common package
acstll Jul 21, 2025
68d9534
[eui-theme-common] Lint
acstll Jul 21, 2025
fd589c2
Add @todo
acstll Jul 21, 2025
e297b1f
Lint for real
acstll Jul 21, 2025
f0e2a91
[Shadows] Do not expose values in theme
acstll Jul 28, 2025
e9f599a
Lint
acstll Jul 28, 2025
d7918ee
[Shadows] Remove filter drop-shadow optimization
acstll Jul 29, 2025
efd703e
Remove floating borders for panel and panel-like
acstll Jul 29, 2025
90b9842
Lint
acstll Jul 29, 2025
81f23ca
Revert "[Shadows] Remove filter drop-shadow optimization"
acstll Jul 29, 2025
c448850
[Shadows] Fix inset not supported in filter drop-shadow
acstll Jul 29, 2025
815dab9
[Docs] Pass while still testing
acstll Jul 29, 2025
a5ff152
Keep floating border for tooltip and popover
acstll Jul 29, 2025
43d17f5
TODO Comment
acstll Jul 29, 2025
ff07815
[Shadows] Undo using inset for dark mode floating border, layer 1
acstll Jul 29, 2025
02c413b
[Shadows] Fix leftover in variables files _sigh_
acstll Jul 29, 2025
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
18 changes: 18 additions & 0 deletions packages/eui-theme-borealis/src/eui_theme_borealis_dark.json
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,24 @@
},
"euiBreakpointKeys": "'xs', 's', 'm', 'l', 'xl'",
"euiShadowColor": "#000000",
"euiShadows": {
"xs": "0px 0px 0px 1px hsl(216.67deg 29.51% 23.92%), 0px 1px 4px 0px hsl(0deg 0% 0% / 0.4), 0px 2px 8px 0px hsl(0deg 0% 0% / 0.24)",
"s": "0px 0px 0px 1px hsl(216.67deg 29.51% 23.92%), 0px 2px 7px 0px hsl(0deg 0% 0% / 0.46), 0px 4px 11px 0px hsl(0deg 0% 0% / 0.26)",
"m": "0px 0px 0px 1px hsl(216.67deg 29.51% 23.92%), 0px 3px 10px 0px hsl(0deg 0% 0% / 0.52), 0px 6px 14px 0px hsl(0deg 0% 0% / 0.28)",
"l": "0px 0px 0px 1px hsl(216.67deg 29.51% 23.92%), 0px 4px 13px 0px hsl(0deg 0% 0% / 0.58), 0px 8px 17px 0px hsl(0deg 0% 0% / 0.3)",
"xl": "0px 0px 0px 1px hsl(216.67deg 29.51% 23.92%), 0px 5px 16px 0px hsl(0deg 0% 0% / 0.64), 0px 10px 20px 0px hsl(0deg 0% 0% / 0.32)",
"xlHover": "0px 0px 0px 1px hsl(216.67deg 29.51% 23.92%), 0px 6px 19px 0px hsl(0deg 0% 0% / 0.7), 0px 12px 23px 0px hsl(0deg 0% 0% / 0.34)",
"flat": "0px 0px 0px 1px hsl(216.67deg 29.51% 23.92%), 0px 1px 4px 0px hsl(0deg 0% 0% / 0.4), 0px 2px 8px 0px hsl(0deg 0% 0% / 0.24)"
},
"euiShadowsUp": {
"xs": "0px 0px 0px 1px hsl(216.67deg 29.51% 23.92%), 0px -1px 4px 0px hsl(0deg 0% 0% / 0.4), 0px -2px 8px 0px hsl(0deg 0% 0% / 0.24)",
"s": "0px 0px 0px 1px hsl(216.67deg 29.51% 23.92%), 0px -2px 7px 0px hsl(0deg 0% 0% / 0.46), 0px -4px 11px 0px hsl(0deg 0% 0% / 0.26)",
"m": "0px 0px 0px 1px hsl(216.67deg 29.51% 23.92%), 0px -3px 10px 0px hsl(0deg 0% 0% / 0.52), 0px -6px 14px 0px hsl(0deg 0% 0% / 0.28)",
"l": "0px 0px 0px 1px hsl(216.67deg 29.51% 23.92%), 0px -4px 13px 0px hsl(0deg 0% 0% / 0.58), 0px -8px 17px 0px hsl(0deg 0% 0% / 0.3)",
"xl": "0px 0px 0px 1px hsl(216.67deg 29.51% 23.92%), 0px -5px 16px 0px hsl(0deg 0% 0% / 0.64), 0px -10px 20px 0px hsl(0deg 0% 0% / 0.32)",
"xlHover": "0px 0px 0px 1px hsl(216.67deg 29.51% 23.92%), 0px -6px 19px 0px hsl(0deg 0% 0% / 0.7), 0px -12px 23px 0px hsl(0deg 0% 0% / 0.34)",
"flat": "0px 0px 0px 1px hsl(216.67deg 29.51% 23.92%), 0px -1px 4px 0px hsl(0deg 0% 0% / 0.4), 0px -2px 8px 0px hsl(0deg 0% 0% / 0.24)"
},
"euiSize": "16px",
"euiSizeXS": "4px",
"euiSizeS": "8px",
Expand Down
18 changes: 18 additions & 0 deletions packages/eui-theme-borealis/src/eui_theme_borealis_dark.json.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,24 @@ declare module '@elastic/eui-theme-borealis/lib/eui_theme_borealis_dark.json' {
};
euiBreakpointKeys: string;
euiShadowColor: string;
euiShadows: {
xs: string;
s: string;
m: string;
l: string;
xl: string;
xlHover: string;
flat: string;
},
euiShadowsUp: {
xs: string;
s: string;
m: string;
l: string;
xl: string;
xlHover: string;
flat: string;
},
euiSize: string;
euiSizeXS: string;
euiSizeS: string;
Expand Down
18 changes: 18 additions & 0 deletions packages/eui-theme-borealis/src/eui_theme_borealis_light.json
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,24 @@
},
"euiBreakpointKeys": "'xs', 's', 'm', 'l', 'xl'",
"euiShadowColor": "#000000",
"euiShadows": {
"xs": "0px 0px 2px 0px hsl(216.67deg 29.51% 23.92% / 0.16), 0px 1px 4px 0px hsl(216.67deg 29.51% 23.92% / 0.06), 0px 2px 8px 0px hsl(216.67deg 29.51% 23.92% / 0.04)",
"s": "0px 0px 2px 0px hsl(216.67deg 29.51% 23.92% / 0.16), 0px 2px 7px 0px hsl(216.67deg 29.51% 23.92% / 0.08), 0px 4px 11px 0px hsl(216.67deg 29.51% 23.92% / 0.05)",
"m": "0px 0px 2px 0px hsl(216.67deg 29.51% 23.92% / 0.16), 0px 3px 10px 0px hsl(216.67deg 29.51% 23.92% / 0.1), 0px 6px 14px 0px hsl(216.67deg 29.51% 23.92% / 0.06)",
"l": "0px 0px 2px 0px hsl(216.67deg 29.51% 23.92% / 0.16), 0px 4px 13px 0px hsl(216.67deg 29.51% 23.92% / 0.12), 0px 8px 17px 0px hsl(216.67deg 29.51% 23.92% / 0.07)",
"xl": "0px 0px 2px 0px hsl(216.67deg 29.51% 23.92% / 0.16), 0px 5px 16px 0px hsl(216.67deg 29.51% 23.92% / 0.14), 0px 10px 20px 0px hsl(216.67deg 29.51% 23.92% / 0.08)",
"xlHover": "0px 0px 2px 0px hsl(216.67deg 29.51% 23.92% / 0.16), 0px 6px 19px 0px hsl(216.67deg 29.51% 23.92% / 0.16), 0px 12px 23px 0px hsl(216.67deg 29.51% 23.92% / 0.09)",
"flat": "0px 0px 2px 0px hsl(216.67deg 29.51% 23.92% / 0.16), 0px 1px 4px 0px hsl(216.67deg 29.51% 23.92% / 0.06), 0px 2px 8px 0px hsl(216.67deg 29.51% 23.92% / 0.04)"
},
"euiShadowsUp": {
"xs": "0px 0px 2px 0px hsl(216.67deg 29.51% 23.92% / 0.16), 0px -1px 4px 0px hsl(216.67deg 29.51% 23.92% / 0.06), 0px -2px 8px 0px hsl(216.67deg 29.51% 23.92% / 0.04)",
"s": "0px 0px 2px 0px hsl(216.67deg 29.51% 23.92% / 0.16), 0px -2px 7px 0px hsl(216.67deg 29.51% 23.92% / 0.08), 0px -4px 11px 0px hsl(216.67deg 29.51% 23.92% / 0.05)",
"m": "0px 0px 2px 0px hsl(216.67deg 29.51% 23.92% / 0.16), 0px -3px 10px 0px hsl(216.67deg 29.51% 23.92% / 0.1), 0px -6px 14px 0px hsl(216.67deg 29.51% 23.92% / 0.06)",
"l": "0px 0px 2px 0px hsl(216.67deg 29.51% 23.92% / 0.16), 0px -4px 13px 0px hsl(216.67deg 29.51% 23.92% / 0.12), 0px -8px 17px 0px hsl(216.67deg 29.51% 23.92% / 0.07)",
"xl": "0px 0px 2px 0px hsl(216.67deg 29.51% 23.92% / 0.16), 0px -5px 16px 0px hsl(216.67deg 29.51% 23.92% / 0.14), 0px -10px 20px 0px hsl(216.67deg 29.51% 23.92% / 0.08)",
"xlHover": "0px 0px 2px 0px hsl(216.67deg 29.51% 23.92% / 0.16), 0px -6px 19px 0px hsl(216.67deg 29.51% 23.92% / 0.16), 0px -12px 23px 0px hsl(216.67deg 29.51% 23.92% / 0.09)",
"flat": "0px 0px 2px 0px hsl(216.67deg 29.51% 23.92% / 0.16), 0px -1px 4px 0px hsl(216.67deg 29.51% 23.92% / 0.06), 0px -2px 8px 0px hsl(216.67deg 29.51% 23.92% / 0.04)"
},
"euiSize": "16px",
"euiSizeXS": "4px",
"euiSizeS": "8px",
Expand Down
18 changes: 18 additions & 0 deletions packages/eui-theme-borealis/src/eui_theme_borealis_light.json.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,24 @@ declare module '@elastic/eui-theme-borealis/lib/eui_theme_borealis_light.json' {
};
euiBreakpointKeys: string;
euiShadowColor: string;
euiShadows: {
xs: string;
s: string;
m: string;
l: string;
xl: string;
xlHover: string;
flat: string;
},
euiShadowsUp: {
xs: string;
s: string;
m: string;
l: string;
xl: string;
xlHover: string;
flat: string;
},
euiSize: string;
euiSizeXS: string;
euiSizeS: string;
Expand Down
2 changes: 2 additions & 0 deletions packages/eui-theme-borealis/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import { base, size } from './variables/_size';
import { border } from './variables/_borders';
import { levels } from './variables/_levels';
import { font } from './variables/_typography';
import { shadows } from './variables/_shadows';
import { focus } from './variables/_states';
import { components } from './variables/_components';
import { overrides } from './variables/_overrides';
Expand All @@ -35,6 +36,7 @@ export const euiThemeBorealis: EuiThemeShape = {
animation,
breakpoint,
levels,
shadows,
focus,
components,
flags: {
Expand Down
Loading