Skip to content

[create-theme]:glance-control-alignmentΒ #1883

@riverattic

Description

@riverattic

Name

Glance control alignment

Description

Align the glance controls on the left or right of the glance window.

Homepage

https://github.com/riverattic/glance-control-alignment

Image

https://raw.githubusercontent.com/riverattic/glance-control-alignment/refs/heads/main/image.png

Type

  • JSON Color Theme

Theme Styles

@-moz-document url-prefix("chrome:") {

	/* Left (Default) */
	body:has(#theme-Glance-control-alignment[theme-glance-control-alignment-position='left']) {
		.zen-glance-sidebar-container {
			left: unset !important;
			right: 100% !important;
		}
	}

	/* Right */
	body:has(#theme-Glance-control-alignment[theme-glance-control-alignment-position='right']) {
		.zen-glance-sidebar-container {
			left: 100% !important;
			right: unset !important;
		}
	}
}

Readme

# Glance control alignment

Align the glance controls on the left or right of the glance window.

Preferences

[
    {
        "property": "theme.glance-control-alignment.position",
        "label": "Position",
        "type": "dropdown",
        "disabledOn": [],
        "placeholder": "Default",
        "options": [
            {
                "label": "Left",
                "value": "left"
            },
            {
                "label": "Right",
                "value": "right"
            }
        ]
    }
]

Metadata

Metadata

Assignees

No one assigned

    Labels

    new-themeSubmit a theme to be added to the theme library

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions