diff --git a/alt-popup.js b/alt-popup.js index 866aac9..6c7eac0 100644 --- a/alt-popup.js +++ b/alt-popup.js @@ -1,6 +1,5 @@ -// custom popups that appear on hover that uses the alt attribute on elements -// generated with ai i'm SORRY but i'm stupid and this works so its probably fiiiine -// i'll probably redo this when i can be assed to learn js myself +// custom popups that appear on hover that uses the alt/aria-label attribute on elements +// replacement for using title without the issue it causes with screen readers and such document.addEventListener("DOMContentLoaded", function () { let popup = document.getElementById("alt-popup"); diff --git a/colors.css b/colors.css index 5940049..db1b049 100644 --- a/colors.css +++ b/colors.css @@ -58,7 +58,7 @@ it doesn't have a name, call it "synth.download color scheme official real" --selection: #253340; --comment: #5c6773; --accent: #e6b450; - + /* original ayu colors */ --orange: #ffb454; --green: #aad94c; @@ -94,4 +94,99 @@ it doesn't have a name, call it "synth.download color scheme official real" --active: rgba(255, 255, 255, 0.1); --focus: #ffb454; } -} \ No newline at end of file +} + +/* + +varient of the theme modified for use with the theme selector + +*/ + +/* Theme classes for manual theme selection */ +html[data-theme="light"] { + /* base colors */ + --background: #fafafa; + --foreground: #3d454d; + --selection: #f0eee4; + --comment: #abb0b6; + --accent: #ffaa33; + + /* original ayu colors */ + --orange: #ff9940; + --green: #86b300; + --blue: #4cbf99; + --purple: #a37acc; + --red: #ec3838; + + /* extended catppuccin based colors */ + --flamingo: #ff7d7d; + --rosewater: #eca69a; + --pink: #ff8adb; + --mauve: #ba8aff; + --maroon: #e06c75; + --peach: #ffac6b; + --yellow: #e5c07b; + --teal: #2bbac5; + --sky: #3eacce; + --sapphire: #4db5d0; + --lavender: #7881ce; + + /* ui accent colors */ + --ui-orange: #fa8d3e; + --ui-green: #91b362; + --ui-blue: #6994bf; + --ui-purple: #7e57c2; + --ui-teal: #56c2c0; + --ui-lavender: #9d8cdb; + + /* misc. */ + --border: #e4e4e4; + --shadow: rgba(0, 0, 0, 0.1); + --hover: rgba(0, 0, 0, 0.05); + --active: rgba(0, 0, 0, 0.1); + --focus: #86b300; +} + +html[data-theme="dark"] { + /* base colors */ + --background: #0a0e14; + --foreground: #d8d6d2; + --selection: #253340; + --comment: #5c6773; + --accent: #e6b450; + + /* original ayu colors */ + --orange: #ffb454; + --green: #aad94c; + --blue: #59c2ff; + --purple: #d2a6ff; + --red: #f0646b; + + /* extended catppuccin based colors */ + --flamingo: #f2cdcd; + --rosewater: #f5e0dc; + --pink: #ffc9e3; + --mauve: #cba6f7; + --maroon: #eba0ac; + --peach: #ffcca8; + --yellow: #f9e2af; + --teal: #8ddedc; + --sky: #89dceb; + --sapphire: #74c7ec; + --lavender: #b4befe; + + /* ui accent colors */ + --ui-orange: #e6b450; + --ui-green: #aad94c; + --ui-blue: #39bae6; + --ui-purple: #a37acc; + --ui-teal: #7adbd3; + --ui-lavender: #ada0f3; + + /* misc. */ + --border: #1a1f29; + --shadow: rgba(0, 0, 0, 0.4); + --hover: rgba(255, 255, 255, 0.05); + --active: rgba(255, 255, 255, 0.1); + --focus: #ffb454; +} diff --git a/donate/index.html b/donate/index.html index caa92e2..2d00703 100644 --- a/donate/index.html +++ b/donate/index.html @@ -19,6 +19,7 @@ + @@ -58,12 +59,28 @@
Accessibility Settings
-Done with pure CSS! Settings do not save, sorry.
+Theme
+ + + +Font
- +Disabling the alt-text popup or forced uncapitalization does not affect "normal" accessibility. The alt-text pop-up is custom made in replacement of using the title attribute, and forced uncapitalization is done using CSS's text-transform.
-Dark/Light mode toggling will be available whenever I figure out how to do so entirely just using CSS or until I decide to remake this with JavaScript.
-Saving these settings will also be available whenever I decide to remake this using/attach some JavaScript to this instead.
+These settings are done entirely with CSS (except the Theme settings), and will be saved into your browser if you have JavaScript enabled. Otherwise, your settings will not be saved.
Accessibility Settings
-Done with pure CSS! Settings do not save, sorry.
+Theme
+Only works with JavaScript.
+ + + +Font
- +Disabling the alt-text popup or forced uncapitalization does not affect "normal" accessibility. The alt-text pop-up is custom made in replacement of using the title attribute, and forced uncapitalization is done using CSS's text-transform.
-Dark/Light mode toggling will be available whenever I figure out how to do so entirely just using CSS or until I decide to remake this with JavaScript.
-Saving these settings will also be available whenever I decide to remake this using/attach some JavaScript to this instead.
+These settings are done entirely with CSS (except the Theme settings), and will be saved into your browser if you have JavaScript enabled. Otherwise, your settings will not be saved.
Accessibility Settings
-Done with pure CSS! Settings do not save, sorry.
+Theme
+ + + +Font
- +Disabling the alt-text popup or forced uncapitalization does not affect "normal" accessibility. The alt-text pop-up is custom made in replacement of using the title attribute, and forced uncapitalization is done using CSS's text-transform.
-Dark/Light mode toggling will be available whenever I figure out how to do so entirely just using CSS or until I decide to remake this with JavaScript.
-Saving these settings will also be available whenever I decide to remake this using/attach some JavaScript to this instead.
+These settings are done entirely with CSS (except the Theme settings), and will be saved into your browser if you have JavaScript enabled. Otherwise, your settings will not be saved.
Accessibility Settings
-Done with pure CSS! Settings do not save, sorry.
+Theme
+ + + +Font
- +Disabling the alt-text popup or forced uncapitalization does not affect "normal" accessibility. The alt-text pop-up is custom made in replacement of using the title attribute, and forced uncapitalization is done using CSS's text-transform.
-Dark/Light mode toggling will be available whenever I figure out how to do so entirely just using CSS or until I decide to remake this with JavaScript.
-Saving these settings will also be available whenever I decide to remake this using/attach some JavaScript to this instead.
+These settings are done entirely with CSS (except the Theme settings), and will be saved into your browser if you have JavaScript enabled. Otherwise, your settings will not be saved.