DioxusLabs / components

Components made for Dioxus.
https://dioxuslabs.com
MIT License
16 stars 1 forks source link

Preserve Directory Structure For Styles #4

Closed DogeDark closed 1 month ago

DogeDark commented 2 months ago

Problem

Currently, SCSS is built with the grass crate in a build.rs. This build file does not preserve nor look into directories inside styles/.

To preserve organization, I would like to model the SCSS directory structure after the Rust module structure.

There are two options:

  1. Edit the build.rs to support sub-directories.
  2. Wait for manganis SCSS support which depends on the Dioxus CLI plugins PR. This would omit the need for a build.rs
DogeDark commented 1 month ago

Completed in revision branch.