mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
Clean style creations ADF (#7385)
This commit is contained in:
@@ -1,6 +0,0 @@
|
||||
{
|
||||
"ecmHost": "http://{hostname}:{port}/ecm",
|
||||
"bpmHost": "http://{hostname}:{port}/bpm",
|
||||
"baseShareUrl": null,
|
||||
"logLevel" : "silent"
|
||||
}
|
@@ -1,18 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
ROOT=./lib/coverage
|
||||
HTTP="/"
|
||||
OUTPUT="./lib/coverage/index.html"
|
||||
RULE=".*\.\(html\)"
|
||||
|
||||
echo "<h1>Coverage ADF Reports</h1>" > $OUTPUT
|
||||
echo "<ul>" >> $OUTPUT
|
||||
i=0
|
||||
for filepath in `find "$ROOT" -maxdepth 1 -mindepth 1 -type d| sort`; do
|
||||
path=`basename "$filepath"`
|
||||
for i in `find "$filepath" -regex "$RULE" -maxdepth 1 -mindepth 1 -type f| sort`; do
|
||||
file=`basename "$i"`
|
||||
echo " <li><a href=\"/$path/$file\">$path</a></li>" >> $OUTPUT
|
||||
done
|
||||
done
|
||||
echo "</ul>" >> $OUTPUT
|
@@ -1,6 +0,0 @@
|
||||
{
|
||||
"port": 4344,
|
||||
"server": {
|
||||
"baseDir": "./lib/coverage/"
|
||||
}
|
||||
}
|
@@ -1,38 +0,0 @@
|
||||
const MiniCssExtractPlugin = require('mini-css-extract-plugin');
|
||||
const path = require("path");
|
||||
const OptimizeCSSAssetsPlugin = require('optimize-css-assets-webpack-plugin');
|
||||
|
||||
module.exports = {
|
||||
|
||||
mode: 'production',
|
||||
|
||||
optimization: {
|
||||
minimizer: [new OptimizeCSSAssetsPlugin({})],
|
||||
},
|
||||
|
||||
entry: {
|
||||
'adf-blue-orange': './lib/core/styles/prebuilt/adf-blue-orange.scss',
|
||||
'adf-blue-purple': './lib/core/styles/prebuilt/adf-blue-purple.scss',
|
||||
'adf-cyan-orange': './lib/core/styles/prebuilt/adf-cyan-orange.scss',
|
||||
'adf-cyan-purple': './lib/core/styles/prebuilt/adf-cyan-purple.scss',
|
||||
'adf-green-purple': './lib/core/styles/prebuilt/adf-green-purple.scss',
|
||||
'adf-green-orange': './lib/core/styles/prebuilt/adf-green-orange.scss',
|
||||
'adf-pink-bluegrey': './lib/core/styles/prebuilt/adf-pink-bluegrey.scss',
|
||||
'adf-indigo-pink': './lib/core/styles/prebuilt/adf-indigo-pink.scss',
|
||||
'adf-purple-green': './lib/core/styles/prebuilt/adf-purple-green.scss'
|
||||
},
|
||||
|
||||
output: {
|
||||
path: path.resolve(__dirname, '../dist/core/prebuilt-themes/'),
|
||||
filename: '[name].js',
|
||||
publicPath: '/dist'
|
||||
},
|
||||
|
||||
module: {
|
||||
rules: [{
|
||||
test: /\.scss$/,
|
||||
use: [MiniCssExtractPlugin.loader, "css-loader", "sass-loader"]
|
||||
}]
|
||||
},
|
||||
plugins: [new MiniCssExtractPlugin()]
|
||||
};
|
@@ -1,10 +0,0 @@
|
||||
{
|
||||
"bundlerOptions": {
|
||||
"entryFile": "./lib/content-services/src/lib/styles/_index.scss",
|
||||
"rootDir": ".",
|
||||
"project": "../../",
|
||||
"outFile": "./lib/dist/content-services/_theming.scss",
|
||||
"ignoreImports": ["~@angular/.*"],
|
||||
"logLevel": "info"
|
||||
}
|
||||
}
|
@@ -6,6 +6,10 @@
|
||||
@import './material.theme';
|
||||
@import '~@mat-datetimepicker/core/datetimepicker/datetimepicker-theme.scss';
|
||||
|
||||
@mixin alfresco-material-theme($theme) {
|
||||
@include adf-core-theme($theme);
|
||||
}
|
||||
|
||||
@mixin adf-core-theme($theme) {
|
||||
$foreground: map-get($theme, foreground);
|
||||
$background: map-get($theme, background);
|
||||
|
@@ -1,5 +1 @@
|
||||
@import '../../../core/styles/index';
|
||||
|
||||
@mixin alfresco-material-theme($theme) {
|
||||
@include adf-core-theme($theme);
|
||||
}
|
||||
|
@@ -6,7 +6,12 @@
|
||||
$primary: mat-palette($alfresco-ecm-blue);
|
||||
$accent: mat-palette($alfresco-accent-orange);
|
||||
$warn: mat-palette($alfresco-warn);
|
||||
$theme: mat-light-theme($primary, $accent, $warn);
|
||||
$theme: mat-light-theme((
|
||||
color: (
|
||||
primary: $primary,
|
||||
accent: $accent,
|
||||
)
|
||||
));
|
||||
|
||||
@include angular-material-theme($theme);
|
||||
@include alfresco-material-theme($theme);
|
||||
|
@@ -3,10 +3,15 @@
|
||||
|
||||
@include mat-core($alfresco-typography);
|
||||
|
||||
$primary: mat-palette($alfresco-ecm-blue);
|
||||
$primary: mat-palette($mat-pink, 700, 500, 900);
|
||||
$accent: mat-palette($alfresco-accent-purple);
|
||||
$warn: mat-palette($alfresco-warn);
|
||||
$theme: mat-light-theme($primary, $accent, $warn);
|
||||
$theme: mat-light-theme((
|
||||
color: (
|
||||
primary: $primary,
|
||||
accent: $accent,
|
||||
)
|
||||
));
|
||||
|
||||
@include angular-material-theme($theme);
|
||||
@include alfresco-material-theme($theme);
|
||||
|
@@ -6,7 +6,12 @@
|
||||
$primary: mat-palette($alfresco-ecm-cyan);
|
||||
$accent: mat-palette($alfresco-accent-orange);
|
||||
$warn: mat-palette($alfresco-warn);
|
||||
$theme: mat-light-theme($primary, $accent, $warn);
|
||||
$theme: mat-light-theme((
|
||||
color: (
|
||||
primary: $primary,
|
||||
accent: $accent,
|
||||
)
|
||||
));
|
||||
|
||||
@include angular-material-theme($theme);
|
||||
@include alfresco-material-theme($theme);
|
||||
|
@@ -6,7 +6,12 @@
|
||||
$primary: mat-palette($alfresco-ecm-cyan);
|
||||
$accent: mat-palette($alfresco-accent-purple);
|
||||
$warn: mat-palette($alfresco-warn);
|
||||
$theme: mat-light-theme($primary, $accent, $warn);
|
||||
$theme: mat-light-theme((
|
||||
color: (
|
||||
primary: $primary,
|
||||
accent: $accent,
|
||||
)
|
||||
));
|
||||
|
||||
@include angular-material-theme($theme);
|
||||
@include alfresco-material-theme($theme);
|
||||
|
@@ -6,7 +6,12 @@
|
||||
$primary: mat-palette($alfresco-bpm-green);
|
||||
$accent: mat-palette($alfresco-accent-orange);
|
||||
$warn: mat-palette($alfresco-warn);
|
||||
$theme: mat-light-theme($primary, $accent, $warn);
|
||||
$theme: mat-light-theme((
|
||||
color: (
|
||||
primary: $primary,
|
||||
accent: $accent,
|
||||
)
|
||||
));
|
||||
|
||||
@include angular-material-theme($theme);
|
||||
@include alfresco-material-theme($theme);
|
||||
|
@@ -6,7 +6,12 @@
|
||||
$primary: mat-palette($alfresco-bpm-green);
|
||||
$accent: mat-palette($alfresco-accent-purple);
|
||||
$warn: mat-palette($alfresco-warn);
|
||||
$theme: mat-light-theme($primary, $accent, $warn);
|
||||
$theme: mat-light-theme((
|
||||
color: (
|
||||
primary: $primary,
|
||||
accent: $accent,
|
||||
)
|
||||
));
|
||||
|
||||
@include angular-material-theme($theme);
|
||||
@include alfresco-material-theme($theme);
|
||||
|
@@ -5,7 +5,13 @@
|
||||
|
||||
$primary: mat-palette($mat-indigo);
|
||||
$accent: mat-palette($mat-pink, A200, A100, A400);
|
||||
$theme: mat-light-theme($primary, $accent);
|
||||
$warn: mat-palette($alfresco-warn);
|
||||
$theme: mat-light-theme((
|
||||
color: (
|
||||
primary: $primary,
|
||||
accent: $accent,
|
||||
)
|
||||
));
|
||||
|
||||
@include angular-material-theme($theme);
|
||||
@include alfresco-material-theme($theme);
|
||||
|
@@ -5,7 +5,13 @@
|
||||
|
||||
$primary: mat-palette($mat-pink, 700, 500, 900);
|
||||
$accent: mat-palette($mat-blue-grey, A200, A100, A400);
|
||||
$theme: mat-dark-theme($primary, $accent);
|
||||
$warn: mat-palette($alfresco-warn);
|
||||
$theme: mat-dark-theme((
|
||||
color: (
|
||||
primary: $primary,
|
||||
accent: $accent,
|
||||
)
|
||||
));
|
||||
|
||||
@include angular-material-theme($theme);
|
||||
@include alfresco-material-theme($theme);
|
||||
|
@@ -5,7 +5,13 @@
|
||||
|
||||
$primary: mat-palette($mat-purple, 700, 500, 800);
|
||||
$accent: mat-palette($mat-green, A200, A100, A400);
|
||||
$theme: mat-dark-theme($primary, $accent);
|
||||
$warn: mat-palette($alfresco-warn);
|
||||
$theme: mat-dark-theme((
|
||||
color: (
|
||||
primary: $primary,
|
||||
accent: $accent,
|
||||
)
|
||||
));
|
||||
|
||||
@include angular-material-theme($theme);
|
||||
@include alfresco-material-theme($theme);
|
||||
|
@@ -1,10 +0,0 @@
|
||||
{
|
||||
"bundlerOptions": {
|
||||
"entryFile": "./lib/insights/src/lib/styles/_index.scss",
|
||||
"rootDir": ".",
|
||||
"project": "../../",
|
||||
"outFile": "./lib/dist/insights/_theming.scss",
|
||||
"ignoreImports": ["~@angular/.*"],
|
||||
"logLevel": "info"
|
||||
}
|
||||
}
|
@@ -1,10 +0,0 @@
|
||||
{
|
||||
"bundlerOptions": {
|
||||
"entryFile": "./lib/process-services-cloud/src/lib/styles/_index.scss",
|
||||
"rootDir": ".",
|
||||
"project": "../../",
|
||||
"outFile": "./lib/dist/process-services-cloud/_theming.scss",
|
||||
"ignoreImports": ["~@angular/.*"],
|
||||
"logLevel": "info"
|
||||
}
|
||||
}
|
@@ -1,10 +0,0 @@
|
||||
{
|
||||
"bundlerOptions": {
|
||||
"entryFile": "./lib/process-services/src/lib/styles/_index.scss",
|
||||
"rootDir": ".",
|
||||
"project": "../../",
|
||||
"outFile": "./lib/dist/process-services/_theming.scss",
|
||||
"ignoreImports": ["~@angular/.*"],
|
||||
"logLevel": "info"
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user