mirror of
https://github.com/zed-industries/zed.git
synced 2024-09-18 18:08:07 +03:00
WIP Re-case internal and experiment theme folders
Co-Authored-By: Mikayla Maki <mikayla.c.maki@gmail.com>
This commit is contained in:
parent
99e6ecc466
commit
b015761131
4
.gitignore
vendored
4
.gitignore
vendored
@ -7,6 +7,6 @@
|
||||
/crates/collab/static/styles.css
|
||||
/vendor/bin
|
||||
/assets/themes/*.json
|
||||
/assets/themes/internal/*.json
|
||||
/assets/themes/experiments/*.json
|
||||
/assets/themes/Internal-case-breaker/*.json
|
||||
/assets/themes/Experiments-case-breaker/*.json
|
||||
**/venv
|
@ -28,14 +28,14 @@ impl ThemeRegistry {
|
||||
if !internal {
|
||||
dirs = dirs
|
||||
.into_iter()
|
||||
.filter(|path| !path.starts_with("themes/internal"))
|
||||
.filter(|path| !path.starts_with("themes/Internal"))
|
||||
.collect()
|
||||
}
|
||||
|
||||
if !experiments {
|
||||
dirs = dirs
|
||||
.into_iter()
|
||||
.filter(|path| !path.starts_with("themes/experiments"))
|
||||
.filter(|path| !path.starts_with("themes/Experiments"))
|
||||
.collect()
|
||||
}
|
||||
|
||||
|
@ -10,8 +10,9 @@ import snakeCase from "./utils/snakeCase";
|
||||
import { ColorScheme } from "./themes/common/colorScheme";
|
||||
|
||||
const themeDirectory = `${__dirname}/../../assets/themes`;
|
||||
const internalDirectory = `${themeDirectory}/internal`;
|
||||
const experimentsDirectory = `${themeDirectory}/experiments`;
|
||||
const internalDirectory = `${themeDirectory}/Internal`;
|
||||
const experimentsDirectory = `${themeDirectory}/Experiments`;
|
||||
|
||||
const tempDirectory = fs.mkdtempSync(path.join(tmpdir(), "build-themes"));
|
||||
|
||||
// Clear existing themes
|
||||
|
Loading…
Reference in New Issue
Block a user