MCPcopy Create free account
hub / github.com/NMWplays/Glowify / exportConfig

Function exportConfig

theme.js:6719–6732  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6717 const off = (suffix) => scoped(suffix, `:not(${ACTIVE_TINT})`);
6718 const on = (suffix) => scoped(suffix, ACTIVE_TINT);
6719 return `${off("")}, ${off(" *")} {
6720 color: ${color} !important;
6721}
6722${on("")}, ${on(" *")} {
6723 color: ${ACCENT_COLOR} !important;
6724}
6725${scoped(" svg")}, ${scoped(" path")} {
6726 fill: currentColor !important;
6727}`;
6728 }
6729 function getPlayerControlIconCss() {
6730 return `
6731/* Spotify's glyph keeps its box \u2014 the button sizes itself off it \u2014 and only
6732 stops drawing. Ours floats centred on the button instead of replacing
6733 anything inside it, so no Encore-internal element has to be found. */
6734${TRANSPORT} {
6735 position: relative !important;

Callers 2

SettingsContentFunction · 0.85
handleConfigReloadFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected