Skip to content
This repository was archived by the owner on Feb 5, 2025. It is now read-only.
This repository was archived by the owner on Feb 5, 2025. It is now read-only.

Customize style #1171

Description

@Jean-PhilippeGouin

Hi,

I try to override the style of patternfly using the following tutorial.

However when i try to import the less file of patternfly

@import "patternfly/dist/less/patternfly";

I have the following error :

ERROR in ./src/assets/less/mystyle.less (./node_modules/raw-loader!./node_modules/postcss-loader/lib??embedded!./node_modules/less-loader/dist/cjs.js??ref--15-3!./src/assets/less/mystyle.less)
Module build failed:

// Bootstrap
@import "bootstrap/less/bootstrap.less";
^
'bootstrap/less/bootstrap.less' wasn't found. Tried - C:\Users\jpgouin\Desktop\Projet\RetD\Patternfly\santo-pf-app\node_modules\patternfly\dist\less\bootstrap\less\bootstrap.less,npm://bootstrap\less\bootstrap.less,bootstrap\less\bootstrap.less
      in C:\Users\jpgouin\Desktop\Projet\RetD\Patternfly\santo-pf-app\node_modules\patternfly\dist\less\patternfly.less (line 6, column 0) 

By looking into the code , i can see that the file is located into dependencies/boostrap.less into the dist of patternfly and not bootstrap/less/.

Did i miss something ?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions