Skip to content

rainbowflesh/mimicfox

Repository files navigation

mimicfox

A Cutting edge firefox minimal style userChrome.css that enhance Windows 11 mica and mimic Microsoft Edge with several community themes inspired.

Preview

Preview

click image show light/dark theme comparison

Installation

  1. Download code or clone this repo

  2. Unzip and move to about:profiles > Profile > Root Directory, change folder name to chrome.

  3. Go to about:config, change following preference

    toolkit.legacyUserProfileCustomizations.stylesheets = true

    svg.context-properties.content.enabled = true

  4. Restart browser, or firefox.exe -purgecaches.

Available configs

Tip

I will not provide susy virus scripts to automatically enable certain options, so you’ll need to adjust them yourself in about\:config.

Important

  1. I reused Firefox’s native sidebar implementation. To enable the dynamic sidebar, you need to manually go to about:preferences > Ctrl+F > search "sidebar", then set Browser Layout to Vertical tabs and Show sidebar to on.
  2. Firefox are super dynamic on sidebar width, you will encounter unwanted sidebar size and tab size without adjusting by yourself in ./sidebar and ./sidebery.

Recommended

preference name value description
browser.tabs.allow_transparent_browser true Allow browser framework transparent
uc.plugin.edge-frfox true Enable edge-frfox styles
uc.plugin.sidebery boolean Sidebery custom css, copy everything in ./sidebery.css to Sidebery setting to make sidebery looks like native vertical tab styles
uc.plugin.simpleMenuWizard boolean To use simpleMenuWizard put entire simpleMenuWizard-master to ./plugins/
uc.tweak.dynamic-tabbar true Same feature from https://github.com/mbnuqw/sidebery/wiki/Firefox-Styles-Snippets-(via-userChrome.css)#dynamic-native-tabs-for-hiding-native-horizontal-tabs
widget.windows.mica true Enable mica effect on Windows 10/11
widget.windows.mica.extra true Enable custom extra mica content (Require MicaForEveryone)
widget.windows.mica.popups 0 or 1 or 2 Disabled / Enabled / Auto (Firefox 138+)
widget.windows.mica.popups true (Firefox 137)
widget.windows.mica.toplevel-backdrop 0 or 1 or 2 or 3 Auto / Mica / Acrylic / MicaAlt (Firefox 138+)

Optional

preference name value description
uc.tweak.acrylic-color null or 0 or 1 or 2 Greeter, grayer
toolkit.tabbox.switchByScrolling boolean
uc.tweak.enable-nebula-animations true Enable some fancy animations I have stolen from nebula
uc.tweak.animation.page-loading null or 0 or 1 or 2 or 3 or 4 nebula-tab-loading-animation
uc.tweak.animation.page-showing null or 0 or 1 or 2 or 3 or 4 nebula-tab-switch-animation
uc.tweak.pip true Enable Picture-in-Picture styles
uc.tweak.always-show-navbar-button boolean Always show navbar buttons even window really have no space for them
uc.tweak.always-show-tab-close-button boolean Always show tab close button, or show only on hover
uc.tweak.browser-rounded-padding null or 0 or 1 or 2 or 3 or 4 Every value add 0.5em extra padding
uc.tweak.compact-extensions-menu boolean
uc.tweak.icon-only-extension-menu boolean
uc.tweak.sort-extensions true/false Sort extension items by alphabet
uc.tweak.floating-tabs true
uc.tweak.navbar.compact boolean
uc.tweak.toolbar-spacer-large boolean
uc.tweak.remove-toolbar-spacer boolean
uc.tweak.remove-overflow-indicator boolean
uc.tweak.remove-sidebar-button-group boolean
uc.tweak.remove-sidebar-config-button boolean
uc.tweak.remove-tab-close-button boolean
uc.tweak.rounded-corners true
uc.tweak.urlbar-button null or 0 or 1 or 2 Chose to show urlbar buttons with none hide (0), hide on left (1), or hide on right(2)
uc.tweak.privacy-enhance boolean
uc.tweak.revert-context-menu boolean Disable custom context menu css

Your personal customization override

Add ./custom.css

/* override mimicfox styles by copy pastes, tweak and add ! mark */
/* eg. */
/* colors.css  */
:root:not([lwtheme]),
:root[privatebrowsingmode="temporary"]:where(
    [style*="--lwt-accent-color: rgb(28, 27, 34)"]:not([style*="--newtab-background-color-secondary: rgb(66, 65, 77)"])
  ) {
  /* --focus-outline-color: light-dark(#0055d780, #63ade5) !important; */
  --focus-outline-color: AccentColor !important;
  --toolbar-field-focus-border-color: var(--focus-outline-color) !important;
}

#taskbar-tabs-button{
  display:none
}

Relate links