mirror of
https://github.com/nextcloud/server.git
synced 2026-03-03 05:51:07 -05:00
Compile theming
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
This commit is contained in:
parent
3c6253f965
commit
cb73fe26b8
11 changed files with 13 additions and 18 deletions
3
.github/workflows/node.yml
vendored
3
.github/workflows/node.yml
vendored
|
|
@ -42,6 +42,9 @@ jobs:
|
|||
npm ci
|
||||
npm run build --if-present
|
||||
|
||||
- name: Build icons css
|
||||
run: npm run sass:icons
|
||||
|
||||
- name: Check webpack build changes
|
||||
run: |
|
||||
bash -c "[[ ! \"`git status --porcelain `\" ]] || exit 1"
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@
|
|||
* @param string $color The color
|
||||
* @return string The color without #
|
||||
*/
|
||||
@function remove-hash-from-color($color) {
|
||||
@function remove-hash-from-color($color) {
|
||||
$color: unquote($color);
|
||||
$index: str-index(inspect($color), '#');
|
||||
@if $index {
|
||||
|
|
@ -42,9 +42,6 @@
|
|||
@if $color == #000 {
|
||||
@return "dark";
|
||||
}
|
||||
@if $color == #000 {
|
||||
@return 'dark';
|
||||
}
|
||||
@if $color == #fff {
|
||||
@return 'white';
|
||||
}
|
||||
|
|
|
|||
|
|
@ -293,7 +293,6 @@ Object.keys(iconsColor).forEach(icon => {
|
|||
variables[`--icon-${icon}-${color}`] = Buffer.from(coloredSvg, 'utf-8').toString('base64')
|
||||
})
|
||||
|
||||
|
||||
// ICONS VARIABLES LIST
|
||||
css += ':root {'
|
||||
Object.keys(variables).forEach(variable => {
|
||||
|
|
|
|||
4
dist/core-common.js
vendored
4
dist/core-common.js
vendored
File diff suppressed because one or more lines are too long
2
dist/core-common.js.map
vendored
2
dist/core-common.js.map
vendored
File diff suppressed because one or more lines are too long
4
dist/core-main.js
vendored
4
dist/core-main.js
vendored
File diff suppressed because one or more lines are too long
2
dist/core-main.js.map
vendored
2
dist/core-main.js.map
vendored
File diff suppressed because one or more lines are too long
4
dist/theming-theming-settings.js
vendored
4
dist/theming-theming-settings.js
vendored
File diff suppressed because one or more lines are too long
2
dist/theming-theming-settings.js.map
vendored
2
dist/theming-theming-settings.js.map
vendored
File diff suppressed because one or more lines are too long
|
|
@ -961,7 +961,6 @@ return array(
|
|||
'OC\\Core\\Controller\\RecommendedAppsController' => $baseDir . '/core/Controller/RecommendedAppsController.php',
|
||||
'OC\\Core\\Controller\\SearchController' => $baseDir . '/core/Controller/SearchController.php',
|
||||
'OC\\Core\\Controller\\SetupController' => $baseDir . '/core/Controller/SetupController.php',
|
||||
'OC\\Core\\Controller\\SvgController' => $baseDir . '/core/Controller/SvgController.php',
|
||||
'OC\\Core\\Controller\\TwoFactorChallengeController' => $baseDir . '/core/Controller/TwoFactorChallengeController.php',
|
||||
'OC\\Core\\Controller\\UnifiedSearchController' => $baseDir . '/core/Controller/UnifiedSearchController.php',
|
||||
'OC\\Core\\Controller\\UserController' => $baseDir . '/core/Controller/UserController.php',
|
||||
|
|
@ -1522,7 +1521,6 @@ return array(
|
|||
'OC\\TemplateLayout' => $baseDir . '/lib/private/TemplateLayout.php',
|
||||
'OC\\Template\\Base' => $baseDir . '/lib/private/Template/Base.php',
|
||||
'OC\\Template\\CSSResourceLocator' => $baseDir . '/lib/private/Template/CSSResourceLocator.php',
|
||||
'OC\\Template\\IconsCacher' => $baseDir . '/lib/private/Template/IconsCacher.php',
|
||||
'OC\\Template\\JSCombiner' => $baseDir . '/lib/private/Template/JSCombiner.php',
|
||||
'OC\\Template\\JSConfigHelper' => $baseDir . '/lib/private/Template/JSConfigHelper.php',
|
||||
'OC\\Template\\JSResourceLocator' => $baseDir . '/lib/private/Template/JSResourceLocator.php',
|
||||
|
|
|
|||
|
|
@ -990,7 +990,6 @@ class ComposerStaticInit53792487c5a8370acc0b06b1a864ff4c
|
|||
'OC\\Core\\Controller\\RecommendedAppsController' => __DIR__ . '/../../..' . '/core/Controller/RecommendedAppsController.php',
|
||||
'OC\\Core\\Controller\\SearchController' => __DIR__ . '/../../..' . '/core/Controller/SearchController.php',
|
||||
'OC\\Core\\Controller\\SetupController' => __DIR__ . '/../../..' . '/core/Controller/SetupController.php',
|
||||
'OC\\Core\\Controller\\SvgController' => __DIR__ . '/../../..' . '/core/Controller/SvgController.php',
|
||||
'OC\\Core\\Controller\\TwoFactorChallengeController' => __DIR__ . '/../../..' . '/core/Controller/TwoFactorChallengeController.php',
|
||||
'OC\\Core\\Controller\\UnifiedSearchController' => __DIR__ . '/../../..' . '/core/Controller/UnifiedSearchController.php',
|
||||
'OC\\Core\\Controller\\UserController' => __DIR__ . '/../../..' . '/core/Controller/UserController.php',
|
||||
|
|
@ -1551,7 +1550,6 @@ class ComposerStaticInit53792487c5a8370acc0b06b1a864ff4c
|
|||
'OC\\TemplateLayout' => __DIR__ . '/../../..' . '/lib/private/TemplateLayout.php',
|
||||
'OC\\Template\\Base' => __DIR__ . '/../../..' . '/lib/private/Template/Base.php',
|
||||
'OC\\Template\\CSSResourceLocator' => __DIR__ . '/../../..' . '/lib/private/Template/CSSResourceLocator.php',
|
||||
'OC\\Template\\IconsCacher' => __DIR__ . '/../../..' . '/lib/private/Template/IconsCacher.php',
|
||||
'OC\\Template\\JSCombiner' => __DIR__ . '/../../..' . '/lib/private/Template/JSCombiner.php',
|
||||
'OC\\Template\\JSConfigHelper' => __DIR__ . '/../../..' . '/lib/private/Template/JSConfigHelper.php',
|
||||
'OC\\Template\\JSResourceLocator' => __DIR__ . '/../../..' . '/lib/private/Template/JSResourceLocator.php',
|
||||
|
|
|
|||
Loading…
Reference in a new issue