Skip to content

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

Description

@Kristinita

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions