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

richworkspace css changes #2

Open
wants to merge 7 commits into
base: nmcstable/25.0.6
Choose a base branch
from

Conversation

TSI-mahendramane
Copy link

RichWorkspace CSS changes

@TSI-mahendramane TSI-mahendramane added the custom MagentaCLOUD customisation label Jun 8, 2023
@tsdicloud
Copy link
Member

What is theupstream change the backport refers to?

@tsdicloud
Copy link
Member

Please remove function.scss as this is an forbidden obfuscation

@tsdicloud
Copy link
Member

It is not allowed to check in webpacks

@tsdicloud
Copy link
Member

scss generated icons are not allowed to be checked in

@tsdicloud
Copy link
Member

Hardcoded inclusion of addition stylesheets is not allowed (like in Editor.vue).
(->theming?)

@tsdicloud
Copy link
Member

No hardcoded icons!
Must use npm run --if-present sass:icons

@tsdicloud
Copy link
Member

We have to use the standard variables from nextmcloud/server/core/css/variables.scss
as we must stay within the standard.

E.g.:
** WRONG **
var(--color-background-magenta)

** RIGHT (if we need to redefine at all!) **
var(--color-main-background)

If Nextcloud uses hardcoded value, we can raise upstream PR as Nextcloud wants to be portable with their themes system.

@TSI-mahendramane
Copy link
Author

It is not allowed to check in webpacks
As discussed with platform team all bunddle files need to push along with changes

@TSI-mahendramane TSI-mahendramane changed the title [backport] richworkspace css changes richworkspace css changes Jun 13, 2023
@TSI-mahendramane
Copy link
Author

var(--color-background-magenta)

No hardcoded icons! Must use npm run --if-present sass:icons

This command is not useful as we are using custom icons here

@tsdicloud
Copy link
Member

Can you please learn how Nextcloud theming and generation of icons from source images works for SCSS theming?
If I write you a review, comment, there is deep reasoning behind it.

@TSI-mahendramane
Copy link
Author

Please remove function.scss as this is an forbidden obfuscation

Removed , as suggested

@TSI-mahendramane
Copy link
Author

Hardcoded inclusion of addition stylesheets is not allowed (like in Editor.vue). (->theming?)

Removed additional hard coded stylesheet,as suggested

@TSI-mahendramane
Copy link
Author

Please remove function.scss as this is an forbidden obfuscation

Removed function.scss , as suggested

@TSI-mahendramane
Copy link
Author

Hardcoded inclusion of addition stylesheets is not allowed (like in Editor.vue). (->theming?)

Removed hardcoded additional stylesheet from vue component, as suggested

@TSI-mahendramane
Copy link
Author

No hardcoded icons! Must use npm run --if-present sass:icons

removed hard coded icons, as suggested

@TSI-mahendramane
Copy link
Author

It is not allowed to check in webpacks

Resolved

@TSI-mahendramane
Copy link
Author

scss generated icons are not allowed to be checked in

Working on it , will generate new PR for that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
custom MagentaCLOUD customisation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants