Skip to content

Commit

Permalink
replace AGPL headers with CC0 headers
Browse files Browse the repository at this point in the history
  • Loading branch information
QuietMisdreavus committed Oct 10, 2024
1 parent 1206f0e commit 1aca79a
Show file tree
Hide file tree
Showing 8 changed files with 56 additions and 96 deletions.
19 changes: 7 additions & 12 deletions base-color.js
Original file line number Diff line number Diff line change
@@ -1,18 +1,13 @@
// mkcolor - a vim color scheme randomizer/previewer
// Copyright (C) 2020 QuietMisdreavus
// Written in 2020 by QuietMisdreavus <victoria@quietmisdreavus.net>

// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as published
// by the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
// To the extent possible under law, the author(s) have dedicated all copyright
// and related and neighboring rights to this software to the public domain
// worldwide. This software is distributed without any warranty.

// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Affero General Public License for more details.

// You should have received a copy of the GNU Affero General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
// You should have received a copy of the CC0 Public Domain Dedication along
// with this software. If not, see
// <http://creativecommons.org/publicdomain/zero/1.0/>.

function clamp(val, min, max) {
if (val < min) {
Expand Down
19 changes: 7 additions & 12 deletions color.css
Original file line number Diff line number Diff line change
@@ -1,19 +1,14 @@
/*
mkcolor - a vim color scheme randomizer/previewer
Copyright (C) 2020 QuietMisdreavus
Written in 2020 by QuietMisdreavus <victoria@quietmisdreavus.net>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
To the extent possible under law, the author(s) have dedicated all copyright
and related and neighboring rights to this software to the public domain
worldwide. This software is distributed without any warranty.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
You should have received a copy of the CC0 Public Domain Dedication along
with this software. If not, see
<http://creativecommons.org/publicdomain/zero/1.0/>.
*/

body {
Expand Down
19 changes: 7 additions & 12 deletions color.js
Original file line number Diff line number Diff line change
@@ -1,18 +1,13 @@
// mkcolor - a vim color scheme randomizer/previewer
// Copyright (C) 2020 QuietMisdreavus
// Written in 2020 by QuietMisdreavus <victoria@quietmisdreavus.net>

// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as published
// by the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
// To the extent possible under law, the author(s) have dedicated all copyright
// and related and neighboring rights to this software to the public domain
// worldwide. This software is distributed without any warranty.

// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Affero General Public License for more details.

// You should have received a copy of the GNU Affero General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
// You should have received a copy of the CC0 Public Domain Dedication along
// with this software. If not, see
// <http://creativecommons.org/publicdomain/zero/1.0/>.

class InvalidColorsError extends Error {
constructor() {
Expand Down
19 changes: 7 additions & 12 deletions debug.js
Original file line number Diff line number Diff line change
@@ -1,18 +1,13 @@
// mkcolor - a vim color scheme randomizer/previewer
// Copyright (C) 2020 QuietMisdreavus
// Written in 2020 by QuietMisdreavus <victoria@quietmisdreavus.net>

// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as published
// by the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
// To the extent possible under law, the author(s) have dedicated all copyright
// and related and neighboring rights to this software to the public domain
// worldwide. This software is distributed without any warranty.

// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Affero General Public License for more details.

// You should have received a copy of the GNU Affero General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
// You should have received a copy of the CC0 Public Domain Dedication along
// with this software. If not, see
// <http://creativecommons.org/publicdomain/zero/1.0/>.

function maxContrastRatio(col) {
let cr = 0;
Expand Down
19 changes: 7 additions & 12 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,15 @@

<!--
mkcolor - a vim color scheme randomizer/previewer
Copyright (C) 2020 QuietMisdreavus
Written in 2020 by QuietMisdreavus <victoria@quietmisdreavus.net>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
To the extent possible under law, the author(s) have dedicated all copyright
and related and neighboring rights to this software to the public domain
worldwide. This software is distributed without any warranty.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
You should have received a copy of the CC0 Public Domain Dedication along
with this software. If not, see
<http://creativecommons.org/publicdomain/zero/1.0/>.
-->

<html>
Expand Down
19 changes: 7 additions & 12 deletions palette.css
Original file line number Diff line number Diff line change
@@ -1,19 +1,14 @@
/*
mkcolor - a vim color scheme randomizer/previewer
Copyright (C) 2020 QuietMisdreavus
Written in 2020 by QuietMisdreavus <victoria@quietmisdreavus.net>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
To the extent possible under law, the author(s) have dedicated all copyright
and related and neighboring rights to this software to the public domain
worldwide. This software is distributed without any warranty.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
You should have received a copy of the CC0 Public Domain Dedication along
with this software. If not, see
<http://creativecommons.org/publicdomain/zero/1.0/>.
*/

:root {
Expand Down
19 changes: 7 additions & 12 deletions random.js
Original file line number Diff line number Diff line change
@@ -1,18 +1,13 @@
// mkcolor - a vim color scheme randomizer/previewer
// Copyright (C) 2020 QuietMisdreavus
// Written in 2020 by QuietMisdreavus <victoria@quietmisdreavus.net>

// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as published
// by the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
// To the extent possible under law, the author(s) have dedicated all copyright
// and related and neighboring rights to this software to the public domain
// worldwide. This software is distributed without any warranty.

// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Affero General Public License for more details.

// You should have received a copy of the GNU Affero General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
// You should have received a copy of the CC0 Public Domain Dedication along
// with this software. If not, see
// <http://creativecommons.org/publicdomain/zero/1.0/>.

// return a random integer from 0 to the given number (inclusive of 0, exclusive of the max)
function getRandomInt(max) {
Expand Down
19 changes: 7 additions & 12 deletions render.js
Original file line number Diff line number Diff line change
@@ -1,18 +1,13 @@
// mkcolor - a vim color scheme randomizer/previewer
// Copyright (C) 2020 QuietMisdreavus
// Written in 2020 by QuietMisdreavus <victoria@quietmisdreavus.net>

// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as published
// by the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
// To the extent possible under law, the author(s) have dedicated all copyright
// and related and neighboring rights to this software to the public domain
// worldwide. This software is distributed without any warranty.

// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Affero General Public License for more details.

// You should have received a copy of the GNU Affero General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
// You should have received a copy of the CC0 Public Domain Dedication along
// with this software. If not, see
// <http://creativecommons.org/publicdomain/zero/1.0/>.

function vimGroupName(name) {
let groupNames = {
Expand Down

0 comments on commit 1aca79a

Please sign in to comment.