Skip to content

EroiiKZz/fashion-wfmarket

ย 
ย 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

22 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Fashion WFMarket ๐ŸŽจ

Custom theme generator for Warframe Market - Make your trading hub as stylish as your fashion frame

License: MIT Node Version

Enhanced & repurposed fork of 42bytes-team/wfm-themes


๐Ÿ“‘ Table of Contents


โœจ Features

  • ๐ŸŽจ Theme Generator: Create new themes in one command, no forma required
  • ๐Ÿ”จ Automated Build: Modern Sass compilation that's faster than Volt
  • ๐ŸŽฏ Interactive Selector: Pick your light and dark themes with a clean menu
  • ๐Ÿ”„ Dev Mode: Watch mode that auto-rebuilds when you modify your SCSS
  • ๐Ÿ“ฆ Built-in Themes: dark-original, light-original, dark-golden, light-golden, dark-crimson, light-crimson

๐Ÿ–ผ๏ธ Examples

Dark Crimson 1 Light Crimson 1 Dark Crimson 2 Light Crimson 2
Dark Golden 1 Light Golden 1 Dark Golden 2 Light Golden 2

๐Ÿ“‹ Requirements

  • Node.js v14 or newer
  • npm (comes with Node.js)

๐Ÿš€ Installation

git clone https://github.com/EroiiKZz/fashion-wfmarket.git
cd fashion-wfmarket
npm install

๐ŸŽฎ Quick Start (3 Steps)

1. Choose Your Themes

npm run select

A menu appears where you pick:

  • A light theme (for when you're trading in bright mode)
  • A dark theme (for when you're trading in the void)

2. Copy the Generated File

The file utils/user-style.styl is automatically created with your two selected themes.

3. Install in Stylus

  1. Install the Stylus extension:

  2. Click the Stylus icon, MAKE SURE TO TICK USER CSS and "Write new style"

  1. Copy the entire content of utils/user-style.styl and paste it

  2. Save โ†’ Your themes are now live on warframe.market!


๐Ÿ› ๏ธ Create Your Own Theme

Quick Method (Recommended)

npm run new

The script asks for a name (example: "Ocean", "Sunset", "Neon") and automatically creates:

  • themes/light-your-name/
  • themes/dark-your-name/

Customize the Colors

Open the created files and modify the color variables in _variables.scss:

Example:

$color_background: #1a1a1a;        // Main background
$color_text: #ffffff;              // Text color
$color_link: #66b3ff;              // Link color
$color_place_order: #4caf50;       // Buy/Sell button

Tip: Use modern Sass functions for dynamic colors:

$lighter: color.scale(#ff6b6b, $lightness: 20%);
$darker: color.scale(#ff6b6b, $lightness: -20%);

Compile and Test

npm run build    # Compiles all themes
npm run select   # Choose your new themes

๐Ÿ“œ Available Commands

Command Description
npm run new ๐Ÿ†• Create a new theme (light + dark)
npm run build ๐Ÿ”จ Compile all themes once
npm run select ๐ŸŽฏ Pick 2 themes and generate the Stylus file
npm run watch ๐Ÿ‘€ Watch mode: auto-recompile when SCSS changes
npm run dev ๐Ÿš€ Full dev mode (build + watch + stylus)
npm run reset โ™ป๏ธ Reset selection and choose new themes

๐Ÿ“ Project Structure

fashion-wfmarket/
โ”œโ”€โ”€ themes/                    # Your SCSS themes
โ”‚   โ”œโ”€โ”€ light-original/       # Official Warframe Market light theme
โ”‚   โ”œโ”€โ”€ dark-original/        # Official Warframe Market dark theme
โ”‚   โ””โ”€โ”€ your-theme/           # Created with 'npm run new'
โ”œโ”€โ”€ compiled/                  # Compiled CSS (auto-generated)
โ”œโ”€โ”€ utils/                     # Utility scripts
โ”‚   โ”œโ”€โ”€ build-themes.js       # Sass compiler
โ”‚   โ”œโ”€โ”€ create-theme.js       # Theme generator
โ”‚   โ”œโ”€โ”€ inject-theme-stylus.js # Theme selector
โ”‚   โ””โ”€โ”€ user-style.styl       # File to copy into Stylus (generated)
โ”œโ”€โ”€ components/                # Reusable SCSS components
โ”œโ”€โ”€ _common.scss              # Shared styles
โ””โ”€โ”€ package.json

โ“ FAQ

Can I use a dark theme for light mode?

Yep! The script lets you pick any theme for either mode. Mix and match however you want.

My changes aren't showing up?

  1. Make sure you compiled: npm run build
  2. Run the selector again: npm run select
  3. Copy the new utils/user-style.styl content into Stylus
  4. IMPORTANT: Make sure "User Style" is checked in Stylus
  5. Reload warframe.market (Ctrl+F5)

How do I change themes later?

npm run reset

Or delete utils/.theme-selection.json and run npm run select again.

Can I change images, border-radius, padding, or layout?

Unfortunately, no. These themes only modify colors and backgrounds through CSS variable overrides. Since we don't have access to Warframe Market's source code, we can't change:

  • โŒ Images and icons (hardcoded in their HTML)
  • โŒ Border radius (not exposed as CSS variables)
  • โŒ Padding and spacing (not exposed as CSS variables)
  • โŒ Layout structure (requires HTML changes)
  • โŒ Font families (not exposed as CSS variables)

What you CAN customize:

  • โœ… All colors (backgrounds, text, links, buttons, borders)
  • โœ… Alert/notification colors (success, warning, danger)
  • โœ… Hover states and transitions
  • โœ… Transparency/opacity values

This is a limitation of how Warframe Market implements their theming system, not of this tool. The site uses CSS variables for colors only, which is what these themes override.

Can I share my custom themes?

Absolutely! Just share your theme folder from themes/your-theme-name/ or the compiled CSS from compiled/. Others can drop it in their themes/ folder and use npm run select to activate it.


๐Ÿ” Troubleshooting

Error: "No compiled themes found"

  • Run npm run build first to compile all themes

Stylus doesn't inject the style

  • Make sure you ticked "User Style" when creating the style in Stylus
  • Verify the style is enabled (toggle switch should be green)

Themes look broken or don't apply

  • Clear your browser cache (Ctrl+Shift+Delete)
  • Make sure you're on warframe.market domain
  • Check browser console (F12) for errors

๐Ÿ”ง Advanced Dev Mode

If you're actively working on themes, use dev mode:

npm run dev

This runs:

  • The builder that auto-recompiles your SCSS when you save
  • The stylus updater that regenerates user-style.styl on changes

Just reload warframe.market to see your updates!


๐ŸŽฏ How Theme Selection Works

Warframe Market only uses two CSS classes:

  • .theme--light for light mode
  • .theme--dark for dark mode

When you select your themes, the script:

  1. Takes the CSS from your two chosen themes
  2. Automatically renames their classes to .theme--light and .theme--dark
  3. Combines them into a single user-style.styl file

Result: Your custom themes activate automatically when you switch modes on Warframe Market!


๐Ÿ“„ License

MIT


๐Ÿ™ Credits


Happy theming and happy farming, Tenno! ๐ŸŽฎโœจ

About

๐ŸŽจ Custom theme generator for Warframe Market - Automated CLI tools for creating and managing themes. Fashion your trading hub like a true Tenno!

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • SCSS 66.0%
  • JavaScript 34.0%