Open Closed

LeptonX Themes source code #10713


User avatar
0
ydruck@greenwavecommissions.com created

Hello Team, I am trying to override the LeptonX Theme Layouts and need the source code for this but unable to pull it, nor was able to find it in any documention or resouces

  • Template: microservice
  • Template Type: Classic
  • Created ABP Studio Version: 3.0.3
  • Current ABP Studio Version: 3.0.4
  • Multi-Tenancy: Yes
  • UI Framework: mvc
  • Theme: leptonx
  • Theme Style: system
  • Theme Menu Placement: top
  • Database Provider: ef
  • Database Management System: sqlserver
  • Mobile Framework: none
  • Public Website: No
  • Social Login: Yes
  • Include Tests: Yes
  • Dynamic Localization: Yes
  • Kubernetes Configuration: Yes
  • Grafana Dashboard: No
  • Use Local References: No
  • Aspire: Yes
  • Optional Modules:
    • GDPR
    • FileManagement
    • TextTemplateManagement
    • AuditLogging
    • Chat
    • OpenIddictAdmin
  • Selected Languages: English
  • Default Language: English
  • Create Command: abp new Spi.GreenWave365 -t microservice --ui-framework mvc --database-provider ef --database-management-system sqlserver --theme leptonx --skip-migration --skip-migrator --without-cms-kit --aspire --dont-run-install-libs --dont-run-bundling -no-language-management -chat -file-management
  • Exception message and full stack trace:PS C:\Projects\GreenWave365ABP\Spi.Greenwave365> abp get-source Volo.Abp.LeptonXTheme [12:27:14 INF] Downloading source code of Volo.Ababp get-source Volo.Abp.LeptonXTheme [12:27:14 INF] Output folder: C:\Projects\GreenWave365ABP\Spi.Greenwave365 [12:27:15 ERR] Downloading source code failed for: Volo.Abp.LeptonXTheme Volo.Abp.Studio.AbpStudioException: Exception of type 'Volo.Abp.Studio.AbpStudioException' was thrown. at async Task Volo.Abp.Studio.Modules.Installing.SourceCodeDownloader.DownloadSourceCodeAsync(string moduleName, string targetFolder, string version, bool includeNightly) at async Task Volo.Abp.Studio.Cli.Commands.StudioGetSourceCommand.ExecuteAsync(CommandLineArgs commandLineArgs) at async Task Volo.Abp.Studio.Cli.StudioCliService.RunInternalAsync(CommandLineArgs commandLineArgs) at async Task Volo.Abp.Studio.Cli.StudioCliService.RunAsync(string[] args)

  • Steps to reproduce the issue:

Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)

5 Answer(s)
  • User Avatar
    0
    AI-Bot created
    Support Team ABP Agent
    • LeptonX (commercial) theme source code is not in a public GitHub repository. It’s distributed based on your ABP/LeptonX license.
    • For downloading LeptonX theme sources via CLI, the correct module name is typically the Pro package (not Volo.Abp.LeptonXTheme).

    1) Download LeptonX Theme source code (CLI)

    Run this (note the .Pro):

    abp get-source Volo.Abp.LeptonXTheme.Pro
    

    If you need a specific version (recommended if your solution is pinned to a specific ABP version):

    abp get-source Volo.Abp.LeptonXTheme.Pro --version 4.x.x
    

    Your error is consistent with using the wrong package name (or not having entitlement for that package under the signed-in account). For LeptonX, Volo.Abp.LeptonXTheme.Pro is the package name referenced in ABP support.

    2) If CLI still fails

    This usually means one of these (all license/account related):

    • You are not authenticated to ABP with the same account that owns the license.
    • Your license doesn’t include LeptonX Theme source access (or doesn’t include the MVC variant you’re trying to download).

    Since this is license/access related, please contact ABP/Volosoft from here:

    • https://abp.io/contact

    3) Overriding LeptonX MVC layouts after you get the source

    Once you download/extract the LeptonX MVC source, you can override layouts the same way as other ABP MVC themes: copy the relevant .cshtml layout/partial files into your MVC project using the same folder structure as the theme uses, and your app’s views will take precedence.

    (Exact file paths depend on the LeptonX MVC theme package contents you download.)

    Sources

    • https://abp.io/support/questions/4668
    • https://abp.io/contact
    • https://volosoft.com/blog/introducing-the-lepton-theme-next-generation

    This response was generated by AI. If it didn’t solve your problem, feel free to post a new answer — our support team will jump in to help you soon.

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    ydruck@greenwavecommissions.com created
    1. Download LeptonX Theme source code (CLI) - Fails No module was found with this name! Here is the list of available modules
    2. License should include source code.
    3. Still need source code.
    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    AI-Bot created
    Support Team ABP Agent
    • For the new (2nd-gen) ABP CLI, Volo.Abp.LeptonXTheme.Pro is not a valid downloadable module name, so the CLI correctly says “No module was found with this name”.
    • The correct module name is:
    abp get-source Volo.Abp.LeptonXTheme
    

    This is consistent with the module list you’re seeing (it contains Volo.Abp.LeptonXTheme, not .Pro).

    1) Get the actual LeptonX source (MVC) you need

    For MVC layouts, you need the MVC LeptonX theme NuGet packages’ source. The abp get-source Volo.Abp.LeptonXTheme download is the right entry point, but if you still don’t see the layout .cshtml files you want inside what you downloaded, then one of these is true:

    1. You downloaded only a subset (e.g., front-end/theme asset part), not the MVC package source you’re expecting.
    2. There is an entitlement/delivery problem on the server side for your account/license.
    3. You’re mixing LeptonX (new theme) with Lepton (old theme) docs/commands.

    There is no public repo I can point you to for LeptonX MVC theme source; it’s delivered via ABP’s commercial download mechanism.

    2) What to do next (guaranteed path)

    Because you’ve already confirmed:

    • you have a license that should include source, and
    • the CLI module download is not giving you the files you need,

    this is now an account/package-delivery issue (not something you can fix only in your solution). The definitive way to get the full source is to open a request with Volosoft so they can verify your license entitlements and ensure the correct LeptonX MVC source package is enabled for your account:

    • https://abp.io/contact

    3) Related verified reference (CLI naming)

    The following ABP support thread shows the same “module not found” behavior for .Pro and confirms using Volo.Abp.LeptonXTheme (without .Pro) for abp get-source:

    • https://abp.io/support/questions/4668

    This response was generated by AI. If it didn’t solve your problem, feel free to post a new answer — our support team will jump in to help you soon.

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    ydruck@greenwavecommissions.com created

    Returned to original error please move to human support.

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    Hi,

    The command abp get-source Volo.Abp.LeptonXTheme is correct — the earlier suggestion to use .Pro doesn't apply, there is no such package name.

    The download fails because the CLI couldn't get a commercial API key for the account you're logged in with. Source code packages live on the commercial NuGet feed, and the CLI only adds that feed when it can pull the API key tied to a Developer seat. The most common cause is that the account isn't a Developer member of your GreenWave organization (being an Owner alone isn't enough).

    To fix:

    1. Open https://abp.io/my-organizations and confirm your account is listed under Developers. If not, the Owner needs to add you as a Developer member from the same page.
    2. Re-login from the CLI:
    abp logout
    abp login <your-username>
    
    1. Run get-source again:
    abp get-source Volo.Abp.LeptonXTheme
    

    If it succeeds, you'll see a log line like ... downloaded from https://nuget.abp.io/<api-key>/v3/index.json.


    About overriding the layouts once you have the source:

    You don't need to modify the downloaded source itself. The LeptonX MVC theme uses ABP's Virtual File System, so you can override any layout or partial by placing a file with the same name under the same folder path in your MVC web project. Copy the file you want to customize from the downloaded source into your *.Web (or *.Web.Host) project root, keeping the same relative path, and edit it there.

    The files you can override:

    Themes/LeptonX/Layouts/Application/SideMenuLayout.cshtml
    Themes/LeptonX/Layouts/Application/TopMenuLayout.cshtml
    Themes/LeptonX/Layouts/Application/_Footer.cshtml
    Themes/LeptonX/Layouts/Application/_Sidebar.cshtml
    Themes/LeptonX/Layouts/Application/_Toolbar.cshtml
    Themes/LeptonX/Layouts/Account/Default.cshtml
    Themes/LeptonX/Layouts/Account/_Footer.cshtml
    

    Reference: https://abp.io/docs/latest/ui-themes/lepton-x/mvc#layouts

    Thanks

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.8.0-preview. Updated on October 05, 2026, 11:32
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.