diff --git a/.gitignore b/.gitignore index 2d721f8ad2..072bf122e6 100644 --- a/.gitignore +++ b/.gitignore @@ -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 \ No newline at end of file diff --git a/assets/themes/experiments/.gitkeep b/assets/themes/experiments/.gitkeep deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/assets/themes/internal/.gitkeep b/assets/themes/internal/.gitkeep deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/crates/theme/src/theme_registry.rs b/crates/theme/src/theme_registry.rs index 5735f13b14..3d4783604d 100644 --- a/crates/theme/src/theme_registry.rs +++ b/crates/theme/src/theme_registry.rs @@ -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() } diff --git a/styles/src/buildThemes.ts b/styles/src/buildThemes.ts index 2ea809f09e..d0d014e71e 100644 --- a/styles/src/buildThemes.ts +++ b/styles/src/buildThemes.ts @@ -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