Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IYY:297: Create new "Coral" Theme #441

Open
wants to merge 9 commits into
base: develop
Choose a base branch
from
9 changes: 6 additions & 3 deletions .storybook/preview.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ import '../lib/link-treatment/link-treatment.scss';
export const decorators = [
(StoryFn, context) => {
useEffect(() => Drupal.attachBehaviors(), [context]);
return `<div data-global-theme="${context.globals.globalTheme}">${StoryFn(context)}</div>`;
return `<div data-global-theme="${context.globals.globalTheme}">${StoryFn(
context,
)}</div>`;
},
];

Expand All @@ -42,12 +44,13 @@ export const globalTypes = {
{ value: 'two', title: 'New Haven Green' },
{ value: 'three', title: 'Shoreline Summer' },
{ value: 'four', title: 'Onha' },
{ value: 'five', title: 'Coral' },
],
showName: true,
title: 'Site: Global Theme (lever)',
},
}
}
},
};

export const tags = ['autodocs', 'autodocs'];
export const parameters = {
Expand Down
14 changes: 7 additions & 7 deletions package-lock.json

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

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"babel-loader": "^8.2.3",
"concurrently": "^8.2.0",
"exports-loader": "^1.1.1",
"husky": "^9.0.11",
"husky": "^9.1.7",
"js-yaml-loader": "^1.2.2",
"lint-staged": "^15.2.7",
"postcss": "^8.4.29",
Expand All @@ -73,8 +73,8 @@
"highlight.js": "^11.9.0",
"imagemin-webpack-plugin": "^2.4.2",
"jquery": "^3.7.1",
"micromodal": "^0.4.10",
"linkpurpose": "github:itmaybejj/linkpurpose",
"micromodal": "^0.4.10",
"mini-css-extract-plugin": "^1.6.2",
"node-sass-glob-importer": "^5.3.2",
"normalize.css": "^8.0.1",
Expand Down
Loading