Skip to content

Commit

Permalink
Update colour scale
Browse files Browse the repository at this point in the history
  • Loading branch information
taz-chiles committed Jun 14, 2024
1 parent 3c9a652 commit 85b0f32
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions _config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ const site = lume({
location: new URL("https://open-innovations.github.io/lcc-culture-dashboard/"),
});



// Need to explicitly include it for Lume 2
site.use(nunjucks());

Expand All @@ -37,6 +39,14 @@ site.loadData([".hexjson"], jsonLoader);
import oiVizConfig from "./oi-viz-config.ts";
site.use(oiViz(oiVizConfig));

site.use(oiViz({
assetPath: '/assets/oi',
componentNamespace: 'oi.viz',
"scales": {
"lightcyan": 'rgb(255,255,255) 0%, hsl(173, 100%, 50%) 100%',
}
}));

site.use(base_path());
site.use(metas({
defaultPageData: {
Expand Down
2 changes: 1 addition & 1 deletion src/leeds-2023-legacy/index.njk
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ title: LEEDS 2023 Legacy Dashboard
config: {
hexjson: hex.wards_leeds,
data: viz.leeds_2023.volunteers_by_ward,
scale: 'Cividis',
scale: 'rgb(128, 211, 211) 0%, rgb(0, 69, 99) 100%',
matchKey: 'ward_code',
value: 'confirmed',
label: '{{ n | slice(0,3) }}',
Expand Down

0 comments on commit 85b0f32

Please sign in to comment.