Skip to content
This repository was archived by the owner on Nov 6, 2024. It is now read-only.

Commit f349f54

Browse files
author
Callin Mullaney
committed
feat: init integration with emulsify-core
1 parent c5fe5f6 commit f349f54

39 files changed

+119
-62385
lines changed

.eslintignore

Lines changed: 0 additions & 2 deletions
This file was deleted.

.eslintrc.yml

Lines changed: 0 additions & 27 deletions
This file was deleted.

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
16.13
1+
20

.prettierignore

Lines changed: 0 additions & 5 deletions
This file was deleted.

.storybook/_drupal.js

Lines changed: 0 additions & 27 deletions
This file was deleted.

.storybook/emulsifyTheme.js

Lines changed: 0 additions & 12 deletions
This file was deleted.

.storybook/main.js

Lines changed: 0 additions & 12 deletions
This file was deleted.

.storybook/manager.js

Lines changed: 0 additions & 7 deletions
This file was deleted.

.storybook/preview.js

Lines changed: 0 additions & 22 deletions
This file was deleted.

.storybook/setupTwig.js

Lines changed: 0 additions & 26 deletions
This file was deleted.

.storybook/setupTwig.test.js

Lines changed: 0 additions & 32 deletions
This file was deleted.

.storybook/webpack.config.js

Lines changed: 0 additions & 50 deletions
This file was deleted.

.stylelintignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

.stylelintrc

Lines changed: 0 additions & 33 deletions
This file was deleted.
File renamed without changes.
File renamed without changes.
File renamed without changes.

commitlint.config.js

Lines changed: 0 additions & 1 deletion
This file was deleted.
File renamed without changes.

config/emulsify-core/.prettierignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
dist
2+
.out
3+
.coverage
4+
*.min.js
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"extends": [
3+
"../../node_modules/emulsify-core/.eslintrc.json"
4+
],
5+
"globals": {
6+
"Drupal": true,
7+
"drupalSettings": true,
8+
"drupalTranslations": true,
9+
"domready": true,
10+
"jQuery": true,
11+
"_": true,
12+
"matchMedia": true,
13+
"Backbone": true,
14+
"Modernizr": true,
15+
"CKEDITOR": true
16+
}
17+
}
File renamed without changes.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
// Import additional stylesheets just for storybook.
2+
import '../../../dist/css/cl-style.css';
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
// Documentation on theming Storybook: https://storybook.js.org/docs/configurations/theming/
2+
import { create } from '@storybook/theming';
3+
4+
export default create({
5+
base: 'dark',
6+
7+
// UI
8+
appBg: '#0000ff',
9+
appContentBg: '#eee',
10+
appBorderColor: '#ff0000',
11+
appBorderRadius: 4,
12+
13+
// Typography
14+
fontBase: '"Mona Sans", sans-serif',
15+
fontCode: 'monospace',
16+
17+
// Text colors
18+
textColor: 'white',
19+
textInverseColor: 'rgba(255,255,255,0.9)',
20+
textMutedColor: '#E6F5FC',
21+
22+
// Toolbar default and active colors
23+
barTextColor: '#0000ff',
24+
barSelectedColor: '#eeff00',
25+
barBg: '#eeff00',
26+
27+
// Form colors
28+
inputBg: 'red',
29+
inputBorder: 'silver',
30+
inputTextColor: '#dddddd',
31+
inputBorderRadius: 4,
32+
// Branding
33+
brandTitle: 'Emulsify',
34+
brandUrl: 'https://emulsify.info',
35+
brandImage:
36+
'https://raw.githubusercontent.com/fourkitchens/emulsify-core/main/assets/images/emulsify-logo-sb.svg?token=GHSAT0AAAAAACIEXLVC5R3KBCX6HGKGTBBSZNYFWMA',
37+
});
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"extends": [
3+
"../../node_modules/emulsify-core/config/.stylelintrc.json"
4+
]
5+
}
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
module.exports = (api) => {
2+
api.cache(true);
3+
4+
const presets = [
5+
[
6+
'@babel/preset-env',
7+
{
8+
useBuiltIns: 'entry',
9+
corejs: 3,
10+
},
11+
],
12+
['minify', { builtIns: false }],
13+
];
14+
15+
const comments = false;
16+
17+
return { presets, comments };
18+
};

0 commit comments

Comments
 (0)