New theme: FoxGlass (frosted glass)

Open Beginner friendly
#211 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
78/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Active
Domain
design

Research direction

Start with src/qml/Look.qml and compare the proposed block in foxglass-theme.qml.txt with the existing theme entries. Add the FoxGlass entry to the themes map and "foxglass" to themeNames; check that the theme appears and its colors are applied. The optional alpha-buffer change is in main.cpp if translucency needs support.

Written by the indexing model from the issue text.

Description

foxglass

Hi CachyOS team! First, thank you for the new Package Installer — the themes in 2.0 are great.

I made a theme for it while building MATE Fox, my take on MATE + Compiz on CachyOS:
a translucent navy window with an orange accent. On a compositor with blur
(KWin, Compiz with a blur plugin, picom) it becomes real frosted glass.

(screenshot attached below)

What it changes

  • One new entry in the themes map of Look.qml, plus "foxglass" in themeNames
    (the block is in foxglass-theme.qml.txt).
  • Optional, one line in main.cpp: QQuickWindow::setDefaultAlphaBuffer(true);
    so the window can be translucent. Without it nothing breaks.

Colours follow the existing keys (window, sidebar, surface, accent, …), so nothing else
in the app needs to change. Text stays white on every surface for readability.

Feel free to adjust or rename it — happy to help.

— Stoyan Shterev (Bulgaria)

Theme block for Look.qml
// Add to the `themes` map in src/qml/Look.qml (and "foxglass" to themeNames)
        "foxglass": {
            title: "FoxGlass", hint: qsTr("Frosted glass, navy and orange (by Stoyan Shterev)"),
            dark: {
                window: "#9e0d1825", sidebar: "#2608111b", surface: "#7a162a40", surfaceHover: "#8c1d3450", surfaceAlt: "#8c1b3048",
                border: "#a60861ab", text: "#ffffff", textMuted: "#b9cde4",
                accent: "#ff8720", accentHover: "#ffa04d", accentSoft: "#66ff8720", onAccent: "#0e1b29",
                arch: "#5ab0f2", archSoft: "#5514293a",
                danger: "#ff7a7a", dangerSoft: "#663a1c1e", warning: "#f4c05a", warningSoft: "#55372c14"
            },
            light: {
                window: "#9e0d1825", sidebar: "#2608111b", surface: "#7a162a40", surfaceHover: "#8c1d3450", surfaceAlt: "#8c1b3048",
                border: "#a60861ab", text: "#ffffff", textMuted: "#b9cde4",
                accent: "#ff8720", accentHover: "#ffa04d", accentSoft: "#66ff8720", onAccent: "#0e1b29",
                arch: "#5ab0f2", archSoft: "#5514293a"
            },
            hero: {
                stops: ["#cc0b2340", "#cc0d3b5c", "#cc0861ab"], text: "#ffffff", sub: "#ffd0a6",
                button: "#ff8720", buttonHover: "#ffa04d", ink: "#0e1b29", image: "icons/cachyos-logo.png"
            }
        },
Dominant language
C++
Stars
93
Forks
53
Avg merge
1d 4h
Merged PRs (30d)
24

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from CachyOS/packageinstaller

All issues in CachyOS/packageinstaller

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.