forked from Shinonome/dots-hyprland
ags: sync
This commit is contained in:
@@ -1,3 +1,4 @@
|
|||||||
|
// It's weird, I know
|
||||||
const { Gio, GLib } = imports.gi;
|
const { Gio, GLib } = imports.gi;
|
||||||
import Service from 'resource:///com/github/Aylur/ags/service.js';
|
import Service from 'resource:///com/github/Aylur/ags/service.js';
|
||||||
import * as Utils from 'resource:///com/github/Aylur/ags/utils.js';
|
import * as Utils from 'resource:///com/github/Aylur/ags/utils.js';
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ export default () => {
|
|||||||
className: 'sidebar-module-colorpicker-wrapper',
|
className: 'sidebar-module-colorpicker-wrapper',
|
||||||
children: [Box({
|
children: [Box({
|
||||||
className: 'sidebar-module-colorpicker-hue',
|
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({
|
const hueSlider = Box({
|
||||||
@@ -189,9 +189,7 @@ export default () => {
|
|||||||
.hook(selectedColor, self.attribute.update, 'assigned')
|
.hook(selectedColor, self.attribute.update, 'assigned')
|
||||||
,
|
,
|
||||||
});
|
});
|
||||||
const ResultBox = ({
|
const ResultBox = ({ colorSystemName, updateCallback, copyCallback }) => Box({
|
||||||
colorSystemName, updateCallback, copyCallback
|
|
||||||
}) => Box({
|
|
||||||
children: [
|
children: [
|
||||||
Box({
|
Box({
|
||||||
vertical: true,
|
vertical: true,
|
||||||
|
|||||||
Reference in New Issue
Block a user