mirror of
https://github.com/tiennm99/WPlace-AutoBOT.git
synced 2026-10-20 02:16:41 +00:00
Merge pull request #167 from others1062/extension
feat: Neon Retro Cyan Theme and Neon Retro Light Theme, edited Classic Light
This commit is contained in:
10 files changed
+1172
-56
No files matched your search
@@ -156,11 +156,11 @@ localStorage.removeItem("lp");
|
||||
},
|
||||
},
|
||||
'Classic Light': {
|
||||
primary: '#ffffff',
|
||||
secondary: '#f8f9fa',
|
||||
accent: '#e9ecef',
|
||||
text: '#212529',
|
||||
highlight: '#6f42c1',
|
||||
primary: '#E0E0E1',
|
||||
secondary: '#FBFBFB',
|
||||
accent: '#F3F3F3',
|
||||
text: '#203C5D',
|
||||
highlight: '#203C5D',
|
||||
success: '#28a745',
|
||||
error: '#dc3545',
|
||||
warning: '#ffc107',
|
||||
@@ -200,6 +200,54 @@ localStorage.removeItem("lp");
|
||||
'pixel-blink': true,
|
||||
},
|
||||
},
|
||||
'Neon Retro Cyan': {
|
||||
primary: '#1959A1',
|
||||
secondary: '#3C74AF',
|
||||
accent: '#538CC0',
|
||||
text: '#81DCF7',
|
||||
highlight: '#EA9C00',
|
||||
success: '#39ff14',
|
||||
error: '#ff073a',
|
||||
warning: '#ffff00',
|
||||
neon: '00ffff',
|
||||
purple: '#bf00ff',
|
||||
pink: '#ff1493',
|
||||
fontFamily: "'Press Start 2P', monospace",
|
||||
borderRadius: '0',
|
||||
borderStyle: 'solid',
|
||||
borderWidth: '3px',
|
||||
boxShadow: '0 0 20px rgba(234 156 0, 0.3), inset 0 0 20px rgba(234 156 0, 0.1)',
|
||||
backdropFilter: 'none',
|
||||
animations: {
|
||||
glow: true,
|
||||
scanline: true,
|
||||
'pixel-blink': true,
|
||||
},
|
||||
},
|
||||
'Neon Retro Light': {
|
||||
primary: '#E0E0E1',
|
||||
secondary: '#FBFBFB',
|
||||
accent: '#F3F3F3',
|
||||
text: '#203C5D',
|
||||
highlight: '#203C5D',
|
||||
success: '#39ff14',
|
||||
error: '#ff073a',
|
||||
warning: '#ffff00',
|
||||
neon: '#203C5D',
|
||||
purple: '#bf00ff',
|
||||
pink: '#ff1493',
|
||||
fontFamily: "'Press Start 2P', monospace",
|
||||
borderRadius: '0',
|
||||
borderStyle: 'solid',
|
||||
borderWidth: '3px',
|
||||
boxShadow: '0 0 20px rgba(234 156 0, 0.3), inset 0 0 20px rgba(234 156 0, 0.1)',
|
||||
backdropFilter: 'none',
|
||||
animations: {
|
||||
glow: true,
|
||||
scanline: true,
|
||||
'pixel-blink': true,
|
||||
},
|
||||
},
|
||||
'Acrylic': {
|
||||
primary: '#00000080',
|
||||
secondary: '#00000040',
|
||||
@@ -258,7 +306,9 @@ localStorage.removeItem("lp");
|
||||
'wplace-theme-classic',
|
||||
'wplace-theme-classic-light',
|
||||
'wplace-theme-acrylic',
|
||||
'wplace-theme-neon'
|
||||
'wplace-theme-neon',
|
||||
'wplace-theme-neon-cyan',
|
||||
'wplace-theme-neon-light'
|
||||
);
|
||||
|
||||
let themeClass = 'wplace-theme-classic'; // default
|
||||
@@ -270,6 +320,12 @@ localStorage.removeItem("lp");
|
||||
} else if (CONFIG.currentTheme === 'Classic Light') {
|
||||
themeClass = 'wplace-theme-classic-light';
|
||||
themeFileName = 'classic-light';
|
||||
} else if (CONFIG.currentTheme === 'Neon Retro Cyan') {
|
||||
themeClass = 'wplace-theme-neon-cyan';
|
||||
themeFileName = 'neon-cyan';
|
||||
} else if (CONFIG.currentTheme === 'Neon Retro Light') {
|
||||
themeClass = 'wplace-theme-neon-light';
|
||||
themeFileName = 'neon-light';
|
||||
} else if (CONFIG.currentTheme === 'Acrylic') {
|
||||
themeClass = 'wplace-theme-acrylic';
|
||||
themeFileName = 'acrylic';
|
||||
@@ -3591,6 +3647,10 @@ localStorage.removeItem("lp");
|
||||
let defaultTheme = 'classic'; // fallback
|
||||
if (CONFIG.currentTheme === 'Neon Retro') {
|
||||
defaultTheme = 'neon';
|
||||
} else if (CONFIG.currentTheme === 'Neon Retro Cyan') {
|
||||
defaultTheme = 'neon-cyan';
|
||||
} else if (CONFIG.currentTheme === 'Neon Retro Light') {
|
||||
defaultTheme = 'neon-light';
|
||||
} else if (CONFIG.currentTheme === 'Classic Light') {
|
||||
defaultTheme = 'classic-light';
|
||||
} else if (CONFIG.currentTheme === 'Acrylic') {
|
||||
@@ -4385,14 +4445,14 @@ localStorage.removeItem("lp");
|
||||
<div class="resize-brush-control">
|
||||
<label class="resize-tool-label">Brush</label>
|
||||
<div class="resize-tool-input-group">
|
||||
<input id="maskBrushSize" type="range" min="1" max="7" step="1" value="1" class="resize-tool-slider">
|
||||
<input id="maskBrushSize" type="range" min="1" max="255" step="1" value="1" class="resize-tool-slider">
|
||||
<span id="maskBrushSizeValue" class="resize-tool-value">1</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="resize-brush-control">
|
||||
<label class="resize-tool-label">Row/col size</label>
|
||||
<div class="resize-tool-input-group">
|
||||
<input id="rowColSize" type="range" min="1" max="7" step="1" value="1" class="resize-tool-slider">
|
||||
<input id="rowColSize" type="range" min="1" max="255" step="1" value="1" class="resize-tool-slider">
|
||||
<span id="rowColSizeValue" class="resize-tool-value">1</span>
|
||||
</div>
|
||||
</div>
|
||||
@@ -8386,3 +8446,5 @@ localStorage.removeItem("lp");
|
||||
});
|
||||
});
|
||||
})();
|
||||
|
||||
|
||||
Reference in new issue
Block a user