stable

Clone or download

Read-only

refactor: extract minimal tlp-styles as a lib

part of request #29982 Split `tlp` in smaller packages No functional change. TLP styles should be the same as before. Why ? - Parts of TLP that were imported from elsewhere are now moved to a dedicated tlp-styles lib. It is a first step towards moving as much of the styles as possible to the lib. - @import is deprecated, replace it by @use everywhere possible. The last remaining ones are for FontAwesome. Their documentation still advises to include it with @import. We can deal with it separately. - colors are defaulted to orange and passed by each theme with `@use with()` - Prefix placeholders and mixins with `-` to mark them as private. Those placeholders are never meant to be reused outside of their stylesheet. Change-Id: I6cf7c30b3541b1e19a94fcea31d7896fcbe20e5f

Modified Files

Name
M lib/frontend/lazybox/package.json +1 −1 Go to diff View file
M lib/frontend/lazybox/pnpm-lock.yaml +7 −7 Go to diff View file
M lib/frontend/lazybox/themes/_selection.scss +2 −2 Go to diff View file
M lib/frontend/list-picker/package.json +1 −2 Go to diff View file
M lib/frontend/list-picker/pnpm-lock.yaml +3 −3 Go to diff View file
M lib/frontend/list-picker/themes/_selection.scss +2 −2 Go to diff View file
M lib/frontend/project-sidebar-internal/package.json +1 −1 Go to diff View file
M lib/frontend/project-sidebar-internal/pnpm-lock.yaml +3 −0 Go to diff View file
M lib/frontend/project-sidebar-internal/src/ProjectSidebar.vue +1 −1 Go to diff View file
M lib/frontend/tlp-badge/themes/main.scss +8 −0 Go to diff View file
R src/scripts/tlp/src/images/field-double-arrows-small.svg Go to diff View file
R src/scripts/tlp/src/images/field-double-arrows.svg Go to diff View file
R src/scripts/tlp/src/images/field-ellipsis-small.svg Go to diff View file
R src/scripts/tlp/src/images/field-ellipsis.svg Go to diff View file
R src/scripts/tlp/src/images/field-magnifier-large.svg Go to diff View file
R src/scripts/tlp/src/images/field-magnifier-small.svg Go to diff View file
R src/scripts/tlp/src/images/field-magnifier.svg Go to diff View file
A lib/frontend/tlp-styles/package.json +20 −0 Go to diff View file
A lib/frontend/tlp-styles/pnpm-lock.yaml +5 −0 Go to diff View file
R src/scripts/tlp/src/scss/components/_alerts.scss Go to diff View file
A lib/frontend/tlp-styles/themes/components/form-element.scss +54 −0 Go to diff View file
R src/scripts/tlp/src/scss/components/_forms.scss Go to diff View file
R src/scripts/tlp/src/scss/components/_typography.scss Go to diff View file
M plugins/document_generation/package.json +1 −1 Go to diff View file
M plugins/document_generation/pnpm-lock.yaml +3 −3 Go to diff View file
M plugins/document_generation/scripts/tracker-cross-report-action/src/Components/ExplanationsExport.vue +1 −1 Go to diff View file
M plugins/document_generation/scripts/tracker-cross-report-action/src/Components/MainComponent.vue +3 −3 Go to diff View file
M plugins/git/scripts/artifact-create-branch-action/package.json +1 −1 Go to diff View file
M plugins/git/scripts/artifact-create-branch-action/pnpm-lock.yaml +3 −3 Go to diff View file
M plugins/git/scripts/artifact-create-branch-action/src/components/MainComponent.vue +3 −3 Go to diff View file
M plugins/gitlab/scripts/artifact-create-branch-action/package.json +1 −1 Go to diff View file
M plugins/gitlab/scripts/artifact-create-branch-action/pnpm-lock.yaml +3 −3 Go to diff View file
M plugins/gitlab/scripts/artifact-create-branch-action/src/components/MainComponent.vue +3 −3 Go to diff View file
M src/scripts/tlp-doc/css/main.scss +87 −93 Go to diff View file
M src/scripts/tlp/package.json +1 −0 Go to diff View file
M src/scripts/tlp/pnpm-lock.yaml +3 −0 Go to diff View file
M src/scripts/tlp/src/scss/_components.scss +8 −4 Go to diff View file
M src/scripts/tlp/src/scss/components/_avatars.scss +15 −9 Go to diff View file
M src/scripts/tlp/src/scss/components/_css-var-root.scss +139 −73 Go to diff View file
M src/scripts/tlp/src/scss/components/_fonts.scss +1 −1 Go to diff View file
M src/scripts/tlp/src/scss/components/_forms-select2.scss +33 −29 Go to diff View file
M src/scripts/tlp/src/scss/components/_panes.scss +3 −3 Go to diff View file
M src/scripts/tlp/src/scss/components/_wizards.scss +6 −6 Go to diff View file
M src/scripts/tlp/src/scss/tlp-vars-blue-condensed.scss +33 −3 Go to diff View file
M src/scripts/tlp/src/scss/tlp-vars-blue.scss +33 −3 Go to diff View file
M src/scripts/tlp/src/scss/tlp-vars-green-condensed.scss +33 −3 Go to diff View file
M src/scripts/tlp/src/scss/tlp-vars-green.scss +33 −3 Go to diff View file
M src/scripts/tlp/src/scss/tlp-vars-grey-condensed.scss +33 −3 Go to diff View file
M src/scripts/tlp/src/scss/tlp-vars-grey.scss +33 −3 Go to diff View file
M src/scripts/tlp/src/scss/tlp-vars-orange-condensed.scss +33 −3 Go to diff View file
M src/scripts/tlp/src/scss/tlp-vars-orange.scss +33 −3 Go to diff View file
M src/scripts/tlp/src/scss/tlp-vars-purple-condensed.scss +33 −3 Go to diff View file
M src/scripts/tlp/src/scss/tlp-vars-purple.scss +33 −3 Go to diff View file
M src/scripts/tlp/src/scss/tlp-vars-red-condensed.scss +33 −3 Go to diff View file
M src/scripts/tlp/src/scss/tlp-vars-red.scss +33 −3 Go to diff View file
M src/scripts/tlp/src/scss/variables/_density.scss +1 −1 Go to diff View file
M src/scripts/tlp/src/scss/variables/_margins-condensed.scss +1 −1 Go to diff View file
M src/scripts/tlp/src/scss/variables/_margins.scss +2 −2 Go to diff View file
D src/scripts/tlp/src/scss/variables/_names.scss +0 −27 Go to diff View file
M src/scripts/tlp/src/scss/variables/colors/_blue-colors.scss +1 −1 Go to diff View file
M src/scripts/tlp/src/scss/variables/colors/_green-colors.scss +1 −1 Go to diff View file
M src/scripts/tlp/src/scss/variables/colors/_grey-colors.scss +1 −1 Go to diff View file
M src/scripts/tlp/src/scss/variables/colors/_orange-colors.scss +1 −1 Go to diff View file
M src/scripts/tlp/src/scss/variables/colors/_purple-colors.scss +1 −1 Go to diff View file
M src/scripts/tlp/src/scss/variables/colors/_red-colors.scss +1 −1 Go to diff View file
D src/scripts/tlp/src/scss/variables/variables-blue.scss +0 −22 Go to diff View file
D src/scripts/tlp/src/scss/variables/variables-common.scss +0 −21 Go to diff View file
D src/scripts/tlp/src/scss/variables/variables-green.scss +0 −22 Go to diff View file
D src/scripts/tlp/src/scss/variables/variables-grey.scss +0 −22 Go to diff View file
D src/scripts/tlp/src/scss/variables/variables-orange.scss +0 −22 Go to diff View file
D src/scripts/tlp/src/scss/variables/variables-purple.scss +0 −22 Go to diff View file
D src/scripts/tlp/src/scss/variables/variables-red.scss +0 −22 Go to diff View file
M src/themes/BurningParrot/css/includes/project-admin/_permissions.scss +2 −2 Go to diff View file
M src/themes/BurningParrot/package.json +1 −1 Go to diff View file
M src/themes/BurningParrot/pnpm-lock.yaml +7 −3 Go to diff View file
M src/themes/FlamingParrot/css/utils/_bootstrap-overrides.scss +2 −2 Go to diff View file
M src/themes/FlamingParrot/package.json +1 −0 Go to diff View file
M src/themes/FlamingParrot/pnpm-lock.yaml +3 −0 Go to diff View file