Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

question(stylus): split styluscheme file multiple modules #18

Open
Kristinita opened this issue Jan 22, 2019 · 1 comment
Open

question(stylus): split styluscheme file multiple modules #18

Kristinita opened this issue Jan 22, 2019 · 1 comment

Comments

@Kristinita
Copy link

Kristinita commented Jan 22, 2019

1. Question

Is it possible to split styluscheme file to multiple files?

2. Argumentation

At the time tmTheme file of my package have 3124 lines and 111 Kb size.

  • File editing works slowly
  • Inconvenient navigation

I have long wanted to split this file. Is it possible via CSScheme?

3. Example of expected behavior

In stylusfiles folder I create 2 files:

  • html.styluscheme — theme for HTML
  • python.styluscheme — theme for Python

In root directory of my package I create SashaSublime.styluscheme file with these lines:

@import "stylusfiles/html.styluscheme"
@import "stylusfiles/python.styluscheme"

After build command content of html.styluscheme and python.styluscheme will include to SashaSublime.tmTheme.

Thanks.

@FichteFoll
Copy link
Owner

Have you tried whether it Just Works? What happens/are the errors?

I know you can split SCSS files into modules and import them flawlessly with CSScheme.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants