Skip to content

Commit

Permalink
style(editor): colors
Browse files Browse the repository at this point in the history
  • Loading branch information
Novout committed Oct 6, 2021
1 parent 3d4590c commit 9ebadea
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/components/editor/main/EditorBaseHeader.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<div
class="flex justify-end items-center relative bg-gray-300 dark:bg-gray-800"
class="flex justify-end items-center relative bg-white-opacity dark:bg-black-opacity"
>
<HeroIcon class="wb-icon inline-flex" @click.prevent="onSwitcher">
<svg
Expand Down
10 changes: 5 additions & 5 deletions src/preset.css
Original file line number Diff line number Diff line change
Expand Up @@ -60,16 +60,16 @@ input[type='number'] {

:root {
--scr-track: #f1f1f1;
--scr-thumb: #888;
--scr-thumb-hover: #555;
--scr-thumb: rgba(0, 0, 0, 0.04);
--scr-thumb-hover: rgba(0, 0, 0, 0.1);
--wb-selection: #9ca3af;
--wb-text-selection: #000;
}

.dark {
--scr-track: #222;
--scr-thumb: #888;
--scr-thumb-hover: #555;
--scr-thumb: rgba(255, 255, 255, 0.04);
--scr-thumb-hover: rgba(255, 255, 255, 0.1);
--wb-selection: #111827;
--wb-text-selection: #e5e7eb;
}
Expand Down Expand Up @@ -97,7 +97,7 @@ input[type='number'] {
}

*::-webkit-scrollbar {
width: 6px;
width: 12px;
}

*::-webkit-scrollbar-track {
Expand Down

0 comments on commit 9ebadea

Please sign in to comment.