GolinksPRO Download Manager
  1. होम
  2. सहायता
  3. थीम

थीम

A theme changes how GDM looks and keeps everything where it was: the same windows, menus and buttons in the same places, drawn in other colours, shapes and icons. Each theme has a light and a dark side.

एक चुनें

देखें → थीम खोलें और एक थीम पर क्लिक करें: पूरी विंडो एक साथ बदल जाती है, कुछ भी पुनरारंभ करने की आवश्यकता नहीं होती। फिर देखें → डार्क मोड समर्थन और देखें → हमेशा गहरा इसका हल्का या गहरा पक्ष चुनते हैं, जैसा कि क्लासिक लुक (डार्क मोड) के लिए होता है।

The built-in themes are Classic (GDM's own look, the default), Native (your system's accent colour and contrast), High contrast, and the style themes Metro, Adwaita, Breeze, Luna, Aero and Aqua, each with its own control shapes and icons, and on Windows its own title bar. Getting started describes each one; the website's Themes page shows them all, light and dark.

थीम फ़ाइलें कहाँ जाती हैं

Theme files you make or download go in GDM's themes folder. View → Theme → Open themes folder opens it (and makes it the first time). It is in GDM's data folder:

सिस्टम फ़ोल्डर
Windows %APPDATA%\misterdownloadmanager\themes
Linux ~/.local/share/misterdownloadmanager/themes
macOS ~/Library/Application Support/misterdownloadmanager/themes
पोर्टेबल कॉपी data\themesप्रोग्राम के बगल में

दो सेकंड के भीतर एक नई फ़ाइल देखें → थीम में, अंतर्निहित थीमों के तहत, name द्वारा दिखाई देती है जो वह स्वयं देती है। फ़ाइल संपादित करने के बाद, परिवर्तन देखने के लिए इसे देखें → थीम में फिर से चुनें।

एक थीम एक फ़ाइल (harbour.toml) हो सकती है या आइकनों को लाने पर उसका अपना एक फ़ोल्डर (harbour/theme.toml) हो सकता है।

View → Theme → Add a theme file… does it for you: pick a file anywhere, and GDM copies it into the themes folder and uses it at once. A file that isn't a theme stays out, and GDM says why.

Base16 और pywal रंग योजनाएँ

अन्य प्रोग्रामों के लिए बनाई गई रंग योजनाएँ भी थीम होती हैं, जिन्हें बदलने की कोई आवश्यकता नहीं होती:

  • एक Base16 स्कीम, .yaml फ़ाइल जिसमें Base16 और Base24 स्कीम आती हैं: क्लासिक लेआउट (scheme: और base00 से base0F तक सबसे ऊपर) और नया वाला (name: और एक palette: ब्लॉक) दोनों। एक Base24 स्कीम अपने पहले 16 रंगों के रूप में पढ़ी जाती है।
  • pywal का colors.json, या pywal के आकार में किसी भी प्रोग्राम की फ़ाइल (wallust का pywal टेम्पलेट)।

इसे देखें → थीम → थीम फ़ाइल जोड़ें… के साथ जोड़ें, या इसे स्वयं थीम फ़ोल्डर में डालें। यह योजना के नाम (name: या scheme:; pywal का नाम वॉलपेपर के नाम पर रखा गया है) के तहत देखें → थीम में दिखाई देता है।

pywal itself: once wal has run, View → Theme lists pywal, read straight from where pywal writes its colours: ~/.cache/wal/colors.json (on Windows %USERPROFILE%\.cache\wal\colors.json, where winwal and pywal write it; $PYWAL_CACHE_DIR or $XDG_CACHE_HOME/wal when you set them). Pick it and GDM follows your wallpaper: each time wal writes new colours, GDM takes them within two seconds. It looks only at the file's date and size, every two seconds, and only while pywal is the theme. A copy added with Add a theme file… keeps the colours it had.

A scheme changes colours only, on the classic look: every window, button and menu stays where it was. A dark scheme makes GDM dark and a light one light, whatever View → Always dark says. The scheme's colours go where they mean the same:

GDM Base16 pywal
डाउनलोड सूची, टेक्स्ट बॉक्स और मेनू base00(पृष्ठभूमि) special.background
Windows, डायलॉग, टूलबार, मेनू बार और कॉलम हेडर base01(हल्की पृष्ठभूमि) पृष्ठभूमि अग्रभूमि की ओर एक कदम
टेक्स्ट base05(अग्रभूमि) special.foreground
द्वितीयक टेक्स्ट (आकार, नोट्स) base04 color8
फोकस, डिफ़ॉल्ट बटन, चेक बॉक्स, लिंक, चयन और प्रगति बार base0D(नीला) color4
त्रुटियाँ base08(लाल) color1
चेतावनी base0A(पीला) color3
सफलता, मीटर और एक टॉरेंट के टुकड़े base0B(हरा) color2

Borders and the hover and pressed shades are mixed from these, as for a theme file's [seeds]. Text stays readable: text and secondary text at 4.5:1 or more against every background they sit on (WCAG AA), the accent at 3:1. A scheme short of that has those colours moved a little darker (lighter on a dark scheme) until they pass; GDM's log says which.

रंगों से अधिक बदलने के लिए, एक थीम फ़ाइल बनाएं जो योजना को उसके फ़ाइल नाम से इनहेरिट करती है और आपको जो पसंद है उसे जोड़ती है:

name = "Gruvbox, my way"
inherits = "gruvbox-dark-medium"   # gruvbox-dark-medium.yaml, beside it
icons = "accent"

[sizes]
radius = 6

inherits = "pywal"उसी तरह काम करता है, और wal का भी अनुसरण करता है।

फ़ाइल

एक थीम TOML (या JSON, .json; या एक रंग योजना, .yaml) में एक छोटी टेक्स्ट फ़ाइल होती है। यह केवल वही नाम देती है जिसे वह बदलती है; बाकी सब उस थीम से आता है जिसे वह inherits करती है:

name = "Harbour"
inherits = "classic"
icons = "color"

[seeds.light]
background = "#eef3f6"
surface = "#ffffff"
text = "#11202b"
accent = "#0f6c8c"

[seeds.dark]
background = "#14212a"
surface = "#0e171d"
text = "#e8f0f4"
accent = "#5cc3e6"

[sizes]
radius = 6

[controls]
focus = "ring"
  • name — जिसे देखें → थीम सूचीबद्ध करता है; जब कोई नहीं होता तो फ़ाइल का नाम।
  • inherits — वह थीम जिससे आपकी शुरू होती है: classic (जब इसे छोड़ दिया जाता है तो डिफ़ॉल्ट), एक अंतर्निहित थीम की आईडी (metro, adwaita, breeze, luna, aero, aqua, high-contrast), या उसी फ़ोल्डर में एक और थीम फ़ाइल, उसके फ़ाइल नाम से बिना .toml के। एक फ़ाइल जो दूसरी को इनहेरिट करती है, उसे बदले में इनहेरिट किया जा सकता है; एक थीम खुद को इनहेरिट नहीं कर सकती।
  • [seeds] — a handful of colours (background, surface, header, text, accent, selection, error, warning, success) that GDM spreads over every control. [seeds.light] and [seeds.dark] give each side its own.
  • [colors] — दोनों पक्षों पर एकल रंग भूमिकाएँ (जैसे window, accent या "segments.done"); [light] और [dark] केवल एक पक्ष पर। एक रंग #rrggbb, या पारदर्शिता के साथ #rrggbbaa होता है। एक फ़ाइल द्वारा निर्धारित भूमिकाएँ उसके सीड्स पर जीत जाती हैं।
  • [sizes] — कोने की त्रिज्या, बॉर्डर की चौड़ाई, फ़ॉन्ट आकार और पंक्ति की ऊँचाई, पिक्सेल में।
  • [controls] — टेक्स्ट बॉक्स, चेक बॉक्स, बटन, प्रोग्रेस बार, स्क्रॉल बार, फ़ोकस मार्क और शीर्षक पट्टी का आकार।
  • icons — color, mono (एक रंग) या accent।
  • contrast = "high" — बाकी सब के ऊपर हर किनारे और टेक्स्ट रंग को मजबूत करता है।

Every colour role, size and control style, with what it sets, is listed on the website's Themes page (read from GDM's own code, so it never drifts). The built-in themes are written the same way: read them on GitHub.

A key GDM doesn't know, or a value it can't read, is skipped and written to GDM's log (the logs folder beside the themes folder), so a file made for a newer GDM still loads. A file that isn't valid TOML or JSON doesn't load, and the log says why. A file named like a built-in theme (metro.toml) is passed over: give yours a name of its own.

आइकन

अपने स्वयं के फ़ोल्डर (harbour/theme.toml) में एक थीम icons/16 और icons/24 में अपने आइकन ला सकती है (और, PNG चित्रों के लिए, icons/32 और icons/48, 150% और उससे अधिक स्केल की गई स्क्रीन पर उपयोग किए जाते हैं), प्रत्येक का नाम उसके द्वारा दिखाए गए के लिए रखा गया है (tb-add-url.svg, cat-music.png…)। SVG और PNG फ़ाइलें अपने रंग रखती हैं; -symbolic.svg और -symbolic.png वाली, जैसा कि GNOME और KDE उन्हें नाम देते हैं, थीम का टेक्स्ट रंग लेती हैं। एक आइकन जिसकी सेट में कमी है, उसे क्लासिक लुक के रूप में खींचा जाता है। नामों की पूरी सूची themeicons.rs (NEEDS) में है।

एक बनाएं

  1. देखें → थीम → थीम फ़ोल्डर खोलें, और वहाँ एक नई .toml फ़ाइल बनाएं (कोई भी टेक्स्ट एडिटर)।
  2. ऊपर दिए गए उदाहरण से शुरू करें: सीड्स के रंग बदलें, फिर जैसे-जैसे आप आगे बढ़ते हैं, भूमिकाएँ और आकार जोड़ें।
  3. देखें → थीम में इसे चुनें, और दोनों पक्षों को देखें: देखें → हमेशा गहरा चालू और बंद। जाँच करें कि टेक्स्ट पठनीय है और फ़ोकस मार्क दोनों में दिखाई दे रहा है।

वेबसाइट के थीम पेज पर एक प्रॉम्प्ट है जिसे आप एक AI सहायक को दे सकते हैं, जिसमें प्रारूप, हर कुंजी और नियम शामिल हैं, ताकि वह आपके लिए एक विवरण से एक थीम लिख सके।

इसे साझा करें

कुछ ऐसा बनाया है जो दूसरों को पसंद आएगा? एक पुल रिक्वेस्ट खोलें जो इसे crates/app/assets/themes में जोड़ता है, इसके साथ:

  • .toml फ़ाइल, और यदि इसमें कोई है तो इसके आइकन का फ़ोल्डर;
  • मुख्य विंडो के हल्के और गहरे पक्ष के स्क्रीनशॉट;
  • a SOURCES.txt beside any icons, saying who drew them and under which licence. Icons must be your own or under a licence that lets GDM share them (GPL-3.0), never copied from another program.

अभी निश्चित नहीं हैं? पहले इसे चर्चाओं में दिखाएँ। CONTRIBUTING.md बताता है कि यहाँ पुल रिक्वेस्ट कैसे काम करती हैं।

अगले चरण

मुफ़्त, ओपन सोर्स, कोई विज्ञापन नहीं, कोई ट्रायल नहीं।

Download GolinksPRO Download Manager