style: format code with prettier
This commit is contained in:
1 parent
3fa00c08b8
commit
768d45563a
1 file changed
+49
-47
@@ -44,7 +44,7 @@
|
|||||||
@mantle: @catppuccin[@@lookup][@mantle];
|
@mantle: @catppuccin[@@lookup][@mantle];
|
||||||
@crust: @catppuccin[@@lookup][@crust];
|
@crust: @catppuccin[@@lookup][@crust];
|
||||||
@accent-color: @catppuccin[@@lookup][@@accent];
|
@accent-color: @catppuccin[@@lookup][@@accent];
|
||||||
|
|
||||||
#hslbreakdown(@color, @item) {
|
#hslbreakdown(@color, @item) {
|
||||||
--@{item}-h: hue(@color) !important;
|
--@{item}-h: hue(@color) !important;
|
||||||
--@{item}-s: saturation(@color) !important;
|
--@{item}-s: saturation(@color) !important;
|
||||||
@@ -53,9 +53,9 @@
|
|||||||
--@{item}-dark-l: lightness(@color) !important;
|
--@{item}-dark-l: lightness(@color) !important;
|
||||||
--@{item}-invert-l: lightness(@color) !important;
|
--@{item}-invert-l: lightness(@color) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
color-scheme: if(@lookup = latte, light, dark);
|
color-scheme: if(@lookup = latte, light, dark);
|
||||||
|
|
||||||
#hslbreakdown(@accent-color, primary);
|
#hslbreakdown(@accent-color, primary);
|
||||||
--site-background: @mantle;
|
--site-background: @mantle;
|
||||||
--content-heading-color: @text;
|
--content-heading-color: @text;
|
||||||
@@ -90,12 +90,12 @@
|
|||||||
footer.card-footer {
|
footer.card-footer {
|
||||||
background: @mantle !important;
|
background: @mantle !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
svg.llama-cool > circle,
|
svg.llama-cool > circle,
|
||||||
svg.logo > path[fill="#196aff"] {
|
svg.logo > path[fill="#196aff"] {
|
||||||
fill: @accent-color;
|
fill: @accent-color;
|
||||||
}
|
}
|
||||||
|
|
||||||
svg.logo,
|
svg.logo,
|
||||||
h1,
|
h1,
|
||||||
.action-heading,
|
.action-heading,
|
||||||
@@ -103,79 +103,80 @@
|
|||||||
.project-menu-title {
|
.project-menu-title {
|
||||||
color: @text !important;
|
color: @text !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
h1.title.task-id,
|
h1.title.task-id,
|
||||||
div.detail-title,
|
div.detail-title,
|
||||||
div.detail-title span {
|
div.detail-title span {
|
||||||
color: @overlay0;
|
color: @overlay0;
|
||||||
}
|
}
|
||||||
|
|
||||||
button {
|
button {
|
||||||
box-shadow: none !important;
|
box-shadow: none !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
button.is-danger {
|
button.is-danger {
|
||||||
color: @red !important;
|
color: @red !important;
|
||||||
background: none;
|
background: none;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
background: @red !important;
|
background: @red !important;
|
||||||
color: @surface0 !important;
|
color: @surface0 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:active {
|
&:active {
|
||||||
background: darken(@red, 10%) !important;
|
background: darken(@red, 10%) !important;
|
||||||
color: @surface0 !important;
|
color: @surface0 !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
button.is-success {
|
button.is-success {
|
||||||
color: @green;
|
color: @green;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
background: @green !important;
|
background: @green !important;
|
||||||
color: @surface0 !important;
|
color: @surface0 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:active {
|
&:active {
|
||||||
background: darken(@green, 10%) !important;
|
background: darken(@green, 10%) !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.base-button.is-primary {
|
.base-button.is-primary {
|
||||||
color: @base;
|
color: @base;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
background: @accent-color;
|
background: @accent-color;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:active {
|
&:active {
|
||||||
background: darken(@accent-color, 10%);
|
background: darken(@accent-color, 10%);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
button.base-button:not(.is-primary) {
|
button.base-button:not(.is-primary) {
|
||||||
color: @text;
|
color: @text;
|
||||||
}
|
}
|
||||||
|
|
||||||
div.action-buttons > button:hover,
|
div.action-buttons > button:hover,
|
||||||
button.search-result-button:hover,
|
button.search-result-button:hover,
|
||||||
.button.is-text:active,
|
.button.is-text:active,
|
||||||
.single-task:hover {
|
.single-task:hover {
|
||||||
background: @mantle;
|
background: @mantle;
|
||||||
}
|
}
|
||||||
|
|
||||||
p.is-editor-empty::before {
|
p.is-editor-empty::before {
|
||||||
color: @overlay0;
|
color: @overlay0;
|
||||||
}
|
}
|
||||||
|
|
||||||
header > button.base-button.menu-button::before,
|
header > button.base-button.menu-button::before,
|
||||||
header > button.base-button.menu-button::after {
|
header > button.base-button.menu-button::after {
|
||||||
background: @text;
|
background: @text;
|
||||||
}
|
}
|
||||||
|
|
||||||
.menu .menu-list {
|
.menu .menu-list {
|
||||||
li > a, li > a > span {
|
li > a,
|
||||||
|
li > a > span {
|
||||||
color: @text;
|
color: @text;
|
||||||
}
|
}
|
||||||
li > a.router-link-active {
|
li > a.router-link-active {
|
||||||
@@ -185,26 +186,26 @@
|
|||||||
background: @mantle;
|
background: @mantle;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
a.base-button.menu-bottom-link {
|
a.base-button.menu-bottom-link {
|
||||||
color: @overlay0;
|
color: @overlay0;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
color: @overlay2;
|
color: @overlay2;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
div.is-done {
|
div.is-done {
|
||||||
background: @green;
|
background: @green;
|
||||||
color: @surface0;
|
color: @surface0;
|
||||||
}
|
}
|
||||||
|
|
||||||
div.tiptap__editor {
|
div.tiptap__editor {
|
||||||
a {
|
a {
|
||||||
color: @accent-color;
|
color: @accent-color;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
p.created {
|
p.created {
|
||||||
color: @overlay0;
|
color: @overlay0;
|
||||||
}
|
}
|
||||||
@@ -213,38 +214,38 @@
|
|||||||
--progress-bar-background-color: @crust;
|
--progress-bar-background-color: @crust;
|
||||||
--progress-value-background-color: @accent-color;
|
--progress-value-background-color: @accent-color;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Gantt */
|
/* Gantt */
|
||||||
div.gantt-container {
|
div.gantt-container {
|
||||||
--grey-300: @surface0;
|
--grey-300: @surface0;
|
||||||
}
|
}
|
||||||
|
|
||||||
div.g-gantt-chart {
|
div.g-gantt-chart {
|
||||||
.g-upper-timeunit,
|
.g-upper-timeunit,
|
||||||
.g-timeunit {
|
.g-timeunit {
|
||||||
color: @text !important;
|
color: @text !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.g-timeunit .today {
|
.g-timeunit .today {
|
||||||
color: @surface0;
|
color: @surface0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.g-gantt-row {
|
.g-gantt-row {
|
||||||
background: @base;
|
background: @base;
|
||||||
}
|
}
|
||||||
|
|
||||||
div.g-gantt-bar {
|
div.g-gantt-bar {
|
||||||
div.g-gantt-bar-label > div {
|
div.g-gantt-bar-label > div {
|
||||||
color: @surface0;
|
color: @surface0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.g-gantt-bar-handle-left,
|
.g-gantt-bar-handle-left,
|
||||||
.g-gantt-bar-handle-right {
|
.g-gantt-bar-handle-right {
|
||||||
background: darken(@accent-color, 10%);
|
background: darken(@accent-color, 10%);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Kaban */
|
/* Kaban */
|
||||||
div.bucket-header,
|
div.bucket-header,
|
||||||
div.task-item,
|
div.task-item,
|
||||||
@@ -252,49 +253,51 @@
|
|||||||
div.bucket > button.base-button {
|
div.bucket > button.base-button {
|
||||||
background: @base;
|
background: @base;
|
||||||
}
|
}
|
||||||
|
|
||||||
div.task-item > .task {
|
div.task-item > .task {
|
||||||
background: @mantle;
|
background: @mantle;
|
||||||
|
|
||||||
span.icon,
|
span.icon,
|
||||||
span.priority-label {
|
span.priority-label {
|
||||||
background: @surface0;
|
background: @surface0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Command Palette */
|
/* Command Palette */
|
||||||
span.result-title,
|
span.result-title,
|
||||||
div.active-cmd.tag {
|
div.active-cmd.tag {
|
||||||
background: @base;
|
background: @base;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Keyboard Shortcuts modal */
|
/* Keyboard Shortcuts modal */
|
||||||
kbd {
|
kbd {
|
||||||
color: @text;
|
color: @text;
|
||||||
border-color: @overlay0;
|
border-color: @overlay0;
|
||||||
background: @base;
|
background: @base;
|
||||||
}
|
}
|
||||||
|
|
||||||
div.message-wrapper > div.message.info {
|
div.message-wrapper > div.message.info {
|
||||||
background: @base;
|
background: @base;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Popups */
|
/* Popups */
|
||||||
div.v-popper__inner {
|
div.v-popper__inner {
|
||||||
background: @mantle;
|
background: @mantle;
|
||||||
color: @text;
|
color: @text;
|
||||||
}
|
}
|
||||||
|
|
||||||
div.v-popper__arrow-outer {
|
div.v-popper__arrow-outer {
|
||||||
border-color: @mantle;
|
border-color: @mantle;
|
||||||
}
|
}
|
||||||
|
|
||||||
.modal-mask {
|
.modal-mask {
|
||||||
span, p, strong {
|
span,
|
||||||
|
p,
|
||||||
|
strong {
|
||||||
color: @text !important;
|
color: @text !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Vue Notifications */
|
/* Vue Notifications */
|
||||||
.vue-notification {
|
.vue-notification {
|
||||||
color: @surface0 !important;
|
color: @surface0 !important;
|
||||||
@@ -303,14 +306,13 @@
|
|||||||
background: none;
|
background: none;
|
||||||
color: @overlay0 !important;
|
color: @overlay0 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.vue-notification.success {
|
.vue-notification.success {
|
||||||
background: @green;
|
background: @green;
|
||||||
border-left-color: darken(@green, 5%);
|
border-left-color: darken(@green, 5%);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
:root.dark {
|
:root.dark {
|
||||||
#catppuccin(@darkFlavor, @accentColor);
|
#catppuccin(@darkFlavor, @accentColor);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user