Skip to content

dxpr/dxpr_theme

Folders and files

NameName
Last commit message
Last commit date

Latest commit

fbefb50 · Jan 15, 2025
Dec 11, 2024
Oct 29, 2024
Jan 14, 2025
Mar 5, 2024
Dec 11, 2024
Jan 15, 2025
Apr 7, 2023
Apr 2, 2023
Jun 26, 2023
Jan 14, 2025
Dec 11, 2024
Jan 14, 2025
Oct 29, 2024
Oct 29, 2024
Dec 11, 2024
Mar 18, 2021
Aug 4, 2022
Aug 19, 2024
Apr 10, 2020
Dec 11, 2024
Sep 5, 2024
Sep 5, 2024
Mar 29, 2023
Aug 3, 2022
Jan 9, 2025
Sep 5, 2024
Jan 14, 2025
Apr 2, 2023
Apr 2, 2023
Apr 2, 2023
Mar 5, 2024
Oct 29, 2024
May 19, 2020
Jan 14, 2025
Jan 15, 2025
Aug 19, 2024
Jan 14, 2025
Nov 18, 2024
May 19, 2020
May 19, 2020
Jan 9, 2025
Dec 11, 2024
Dec 29, 2021
Nov 18, 2024
May 19, 2020
Jan 14, 2025
Dec 11, 2024

Repository files navigation

DXPR Theme

For user documentation and support please check: https://app.dxpr.com/hc/documentation

For development documentation and support please check: https://app.dxpr.com/hc/documentation/internal

Contributing Guidelines

Before you write any code for this project please also check https://github.com/dxpr/dxpr_maven/blob/main/CONTRIBUTING.md

[WARNING2] Save theme settings form after updating theme CSS

Because DXPR Theme integrates with the color module, changes to its CSS may not immediately take effect. When the theme is configured with custom colors in the theme settings form the color module will save a copy of the recolored theme CSS files inside the Drupal files folder. When updating the theme CSS files in the theme folder these changes might not take effect because the browser is loading the copies of the theme's CSS files from the files folder. To fix this you have to save the theme settings form so that the color module will create new copies of the theme's CSS files that include your latest changes.

Continuous Integration / Automation

References

Development Setup

You need to install docker and docker-compose to your workstation. You can keep using whatever to run your webserver, we just use docker to run our scripts.

How to watch and build files

DEV_WATCH=true docker compose up dev

How to run eslint check

docker compose up dev eslint

How to run eslint check with html report

REPORT_ENABLED=true docker compose up dev eslint

After it finishes, open out/eslint-report.html file to see report in details.

How to run eslint auto fix

docker compose up dev eslint-auto-fix

How to run Drupal lint check

docker compose up drupal-lint

How to run Drupal lint auto fix

docker compose up drupal-lint-auto-fix

### How to run drupal-check

```bash
docker compose up drupal-check
# or
docker compose run --rm drupal-check

Stylelint check for SCSS files

$ docker compose run --rm stylelint

Stylelint check for SCSS files with HTML report.

$ REPORT_ENABLED=true docker compose run --rm stylelint

Stylelint auto fix for SCSS files

$ docker compose run --rm stylelint-auto-fix

Using our Demo sites for local development

You can use one of three demo sites to save time in settings up a Drupal site with DXPR and using its features: dxpr_basic_demo, dxpr_qa_demo, and dxpr_logistics_demo. The Logistics Demo is the best showcase of DXPR Theme because it makes use of more of its theme settings.

Instructions setting up the Lightning DXPR site

https://github.com/dxpr/lightning_dxpr_project

Video demo of settings up the Lightning DXPR site with QA demo

https://www.youtube.com/watch?v=AYEIkdiWuC4

Video demo of your local site over from QA to Logistics demo

https://www.youtube.com/watch?v=_NnUTFC39n4