Skip to content

Import less file from app/design to custom module #40077

@martingg88

Description

@martingg88

Preconditions and environment

I do have the custom module and its structure is below.

app/code/vendor/module/view/frontend/web/css/example.less.

in the example.less, how can i import additional global less file from app/design folder there?

Steps to reproduce

a

Expected result

b

Actual result

c

Additional information

No response

Release note

No response

Triage and priority

  • Severity: S0 - Affects critical data or functionality and leaves users without workaround.
  • Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
  • Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
  • Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
  • Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.

Metadata

Metadata

Assignees

Labels

Issue: needs updateAdditional information is require, waiting for responseReported on 2.4.xIndicates original Magento version for the Issue report.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions