the aesthetically pleasing color palette webring
widget preview-o-matic
'}
`
const template = document.createElement('webring-container');
template.innerHTML = `
`;
document.querySelector('uwu').innerHTML = ''
document.querySelector('uwu').append(template)
const { default: palettes } = await import(`https://palette.nekoweb.org/palettes.js?t=${Date.now()}`);
document.body.style.setProperty('--text', palettes[document.querySelector('select').value].text)
document.body.style.setProperty('--base', palettes[document.querySelector('select').value].base)
const script = document.createElement('script');
script.src = "https://palette.nekoweb.org/webring.js";
template.appendChild(script);
}
function dedent(templateStrings) {var values = [];for (var _i = 1; _i < arguments.length; _i++) {values[_i - 1] = arguments[_i];}var matches = [];var strings = typeof templateStrings === 'string' ? [templateStrings] : templateStrings.slice();strings[strings.length - 1] = strings[strings.length - 1].replace(/\r?\n([\t ]*)$/, '');for (var i = 0; i < strings.length; i++) {var match = void 0;if (match = strings[i].match(/\n[\t ]+/g)) {matches.push.apply(matches, match);}}if (matches.length) {var size = Math.min.apply(Math, matches.map(function (value) { return value.length - 1; }));var pattern = new RegExp("\n[\t ]{" + size + "}", 'g');for (var i = 0; i < strings.length; i++) {strings[i] = strings[i].replace(pattern, '\n');}}strings[0] = strings[0].replace(/^\r?\n/, '');var string = strings[0];for (var i = 0; i < values.length; i++) {string += values[i] + strings[i + 1];}return string;};
document.querySelector('textarea').innerHTML = dedent(document.querySelector('uwu').innerHTML)
how 2 join??
ask @thinliquid or @giiki_s2 on discord to be added :3