formalconf 2.0.5 → 2.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -414,7 +414,7 @@ function StatusIndicator({
414
414
  // package.json
415
415
  var package_default = {
416
416
  name: "formalconf",
417
- version: "2.0.5",
417
+ version: "2.0.6",
418
418
  description: "Dotfiles management TUI for macOS - config management, package sync, and theme switching",
419
419
  type: "module",
420
420
  main: "./dist/formalconf.js",
@@ -3197,7 +3197,8 @@ async function parseTheme(themePath, themeName) {
3197
3197
  // src/cli/set-theme.ts
3198
3198
  import { parseArgs as parseArgs4 } from "util";
3199
3199
  import { readdirSync as readdirSync4, existsSync as existsSync6, rmSync, symlinkSync, unlinkSync } from "fs";
3200
- import { join as join5 } from "path";
3200
+ import { join as join5, dirname as dirname3 } from "path";
3201
+ var LYNK_BROWSER_CSS = join5(HOME_DIR, ".config", "lynk-browser", "style.css");
3201
3202
  var colors5 = {
3202
3203
  red: "\x1B[0;31m",
3203
3204
  green: "\x1B[0;32m",
@@ -3266,6 +3267,12 @@ async function applyTheme(themeName) {
3266
3267
  const backgroundsSource = join5(themeDir, "backgrounds");
3267
3268
  createSymlink(backgroundsSource, BACKGROUNDS_TARGET_DIR);
3268
3269
  }
3270
+ const styleCssSource = join5(themeDir, "style.css");
3271
+ if (existsSync6(styleCssSource)) {
3272
+ const lynkBrowserDir = dirname3(LYNK_BROWSER_CSS);
3273
+ await ensureDir2(lynkBrowserDir);
3274
+ createSymlink(styleCssSource, LYNK_BROWSER_CSS);
3275
+ }
3269
3276
  let output = `Theme '${theme.name}' applied successfully`;
3270
3277
  if (theme.metadata?.author) {
3271
3278
  output += `
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "formalconf",
3
- "version": "2.0.5",
3
+ "version": "2.0.6",
4
4
  "description": "Dotfiles management TUI for macOS - config management, package sync, and theme switching",
5
5
  "type": "module",
6
6
  "main": "./dist/formalconf.js",