Skip to content

Commit

Permalink
[Visual Refresh] Borealis visualization palettes (elastic#201015)
Browse files Browse the repository at this point in the history
Adds support for toggling between the old Amsterdam themed visualizations palettes and the new Borealis themed palettes.
  • Loading branch information
nickofthyme authored Dec 11, 2024
1 parent 7b9dd35 commit 9312248
Show file tree
Hide file tree
Showing 179 changed files with 2,623 additions and 1,114 deletions.
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -421,6 +421,7 @@ packages/kbn-openapi-common @elastic/security-detection-rule-management
packages/kbn-openapi-generator @elastic/security-detection-rule-management
packages/kbn-optimizer @elastic/kibana-operations
packages/kbn-optimizer-webpack-helpers @elastic/kibana-operations
packages/kbn-palettes @elastic/kibana-visualizations
packages/kbn-panel-loader @elastic/kibana-presentation
packages/kbn-peggy @elastic/kibana-operations
packages/kbn-peggy-loader @elastic/kibana-operations
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -718,6 +718,7 @@
"@kbn/osquery-plugin": "link:x-pack/plugins/osquery",
"@kbn/paertial-results-example-plugin": "link:examples/partial_results_example",
"@kbn/painless-lab-plugin": "link:x-pack/plugins/painless_lab",
"@kbn/palettes": "link:packages/kbn-palettes",
"@kbn/panel-loader": "link:packages/kbn-panel-loader",
"@kbn/plugin-check": "link:packages/kbn-plugin-check",
"@kbn/portable-dashboards-example": "link:examples/portable_dashboards_example",
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions packages/kbn-coloring/src/palettes/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,9 @@ export interface CustomPaletteParams {
progression?: 'fixed';
rangeMin?: number;
rangeMax?: number;
/** lower color stops */
stops?: ColorStop[];
/** upper color stops */
colorStops?: ColorStop[];
steps?: number;
maxSteps?: number | undefined;
Expand Down
Loading

0 comments on commit 9312248

Please sign in to comment.