Skip to content

Commit bf10777

Browse files
authored
Merge pull request #119 from maykinmedia/feature/114-admin-override
💄 [#114] updated admin ui
2 parents d0fb64a + ec7e5aa commit bf10777

15 files changed

+2585
-2196
lines changed

.babelrc

+7-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
{
22
"presets": [
3-
"@babel/preset-env",
4-
]
3+
"@babel/preset-env"
4+
],
5+
"env": {
6+
"test": {
7+
"plugins": [ "istanbul" ]
8+
}
9+
}
510
}

karma.conf.js

-12
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,6 @@ const webpackConfig = require('./webpack.config.js');
44
// Prevent testing infrastructure from crashing (MIGHT REQUIRE --production --sourcemap NOT TO BE SET!
55
webpackConfig.output.library = undefined;
66

7-
// Add istanbul-instrumenter to webpack configuration
8-
webpackConfig.module.rules.push({
9-
test: /\.js$/,
10-
include: __dirname + '/' + paths.jsSrcDir,
11-
loader: 'istanbul-instrumenter-loader',
12-
enforce: 'post',
13-
14-
options: {
15-
esModules: true
16-
}
17-
});
18-
197

208
// The preprocessor config
219
const preprocessors = {};

package-lock.json

+1,755-1,979
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+6-2
Original file line numberDiff line numberDiff line change
@@ -21,18 +21,22 @@
2121
"license": "UNLICENSED",
2222
"homepage": "https://maykinmedia.nl",
2323
"dependencies": {
24-
"microscope-sass": "latest"
24+
"microscope-sass": "^2.0.0"
25+
},
26+
"nyc": {
27+
"sourceMap": false,
28+
"instrument": false
2529
},
2630
"devDependencies": {
2731
"@babel/core": "latest",
2832
"@babel/polyfill": "latest",
2933
"@babel/preset-env": "latest",
3034
"autoprefixer": "latest",
3135
"babel-loader": "latest",
36+
"babel-plugin-istanbul": "^6.1.1",
3237
"chai": "latest",
3338
"css-loader": "latest",
3439
"cssnano": "latest",
35-
"istanbul-instrumenter-loader": "latest",
3640
"karma": "^6.3.14",
3741
"karma-chrome-launcher": "latest",
3842
"karma-coverage": "latest",

src/openklant/scss/_vars.scss

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
/* Colors */
2+
$color_primary: #04a5bb;
3+
$color_primary_dark: #017092;
4+
$color_primary_light: #c3eaef;
5+
6+
$color_secondary: #f3f3f3;
7+
$color_secondary_dark: #ddd;
8+
$color_secondary_light: #fff;
9+
10+
$color_link: #017092;
11+
$color_link_hover: #051f31;
12+
13+
$color_darkest: #000;
14+
$color_dark: #333;
15+
$color_dark_light: #888;
16+
$color_lightest: #fff;
17+
18+
$color-error: #ba2121; // default django admin color
19+
20+
$color-tooltip-background: #fffeaa;
21+
$color-tooltip-border: #f7f071;
22+
$color-tooltip-text: #000;
23+
$django-hijack-yellow: #ffe761;
24+
25+
/* Dimensions */
26+
$input-field-size: 40em; // original: 20em;

0 commit comments

Comments
 (0)