ags: sync

This commit is contained in:
end-4
2024-02-16 17:36:56 +07:00
parent c160bc9bb4
commit 251d885f6e
2 changed files with 3 additions and 4 deletions
@@ -1,3 +1,4 @@
// It's weird, I know
const { Gio, GLib } = imports.gi;
import Service from 'resource:///com/github/Aylur/ags/service.js';
import * as Utils from 'resource:///com/github/Aylur/ags/utils.js';
@@ -27,7 +27,7 @@ export default () => {
className: 'sidebar-module-colorpicker-wrapper',
children: [Box({
className: 'sidebar-module-colorpicker-hue',
css: `background: linear-gradient(to bottom, #ff0000, #ffff00, #00ff00, #00ffff, #0000ff, #ff00ff, #ff0000);`,
css: `background: linear-gradient(to bottom, #ff6666, #ffff66, #66dd66, #66ffff, #6666ff, #ff66ff, #ff6666);`,
})],
});
const hueSlider = Box({
@@ -189,9 +189,7 @@ export default () => {
.hook(selectedColor, self.attribute.update, 'assigned')
,
});
const ResultBox = ({
colorSystemName, updateCallback, copyCallback
}) => Box({
const ResultBox = ({ colorSystemName, updateCallback, copyCallback }) => Box({
children: [
Box({
vertical: true,