From d1288eaa7dfea1a5c67650840976eadd903b39ba Mon Sep 17 00:00:00 2001 From: minhtrannhat Date: Sun, 1 Jan 2023 09:54:13 -0500 Subject: [PATCH] Feat: Update --- doom-emacs/.doom.d/config.el | 78 ++++++++++++++----- doom-emacs/.doom.d/custom.el | 2 +- doom-emacs/.doom.d/init.el | 12 ++- doom-emacs/.doom.d/packages.el | 3 + fish/.config/fish/completions/bun.fish | 5 +- fish/.config/fish/completions/tmuxinator.fish | 24 ++++++ fish/.config/fish/config.fish | 2 + fish/.config/fish/fish_variables | 7 +- git/.gitconfig | 13 +++- lvim/.config/lvim/config.lua | 32 ++++++-- sway/.config/sway/config | 4 +- waybar/.config/waybar/_colors.scss | 49 +++++++----- waybar/.config/waybar/config | 9 ++- waybar/.config/waybar/style.css | 30 +++---- wofi/.config/wofi/style.css | 72 +++++++++-------- 15 files changed, 233 insertions(+), 109 deletions(-) create mode 100644 fish/.config/fish/completions/tmuxinator.fish diff --git a/doom-emacs/.doom.d/config.el b/doom-emacs/.doom.d/config.el index 02ced70..8b4fb60 100644 --- a/doom-emacs/.doom.d/config.el +++ b/doom-emacs/.doom.d/config.el @@ -55,6 +55,8 @@ (setq display-line-numbers-type 'relative) +(setq ispell-alternate-dictionary "/home/minhradz/.english.dict.txt") + (add-hook 'spell-fu-mode-hook (lambda () (spell-fu-dictionary-add (spell-fu-get-ispell-dictionary "en")) @@ -175,12 +177,13 @@ :desc "Search org-roam with consult-ripgrep" "n r F" #'org-roam-rg-search) -(setq org-roam-node-display-template -#("${doom-hierarchy:20} ${doom-type:12} ${doom-tags:42}" 20 35 - (face font-lock-keyword-face) - 36 51 - (face org-tag)) -) +;; (setq org-roam-node-display-template +;; #("${doom-hierarchy:20} ${doom-type:12} ${doom-tags:42}" 20 35 +;; (face font-lock-keyword-face) +;; 36 51 +;; (face org-tag)) +;; ) +(set-file-template! "/roam/.+\\.org$" 'org-mode :ignore t) (setq avy-all-windows 't) @@ -274,6 +277,9 @@ ;; Clojure stuffs (setq clojure-indent-style :always-align) +(eval-after-load 'cider + #'emidje-setup) + (defun delete-file-and-buffer () "Kill the current buffer and deletes the file it is visiting." (interactive) @@ -286,19 +292,49 @@ (kill-buffer))) (message "Not a file visiting buffer!")))) -;; email stuffs -;; Each path is relative to the path of the maildir you passed to mu -(set-email-account! "minhtrannhat.com" - '((mu4e-sent-folder . "/minhtrannhat@minhtrannhat.com/Sent") - (mu4e-drafts-folder . "/minhtrannhat@minhtrannhat.com/Drafts") - (mu4e-trash-folder . "/minhtrannhat@minhtrannhat.com/Trash") - (mu4e-refile-folder . "/minhtrannhat@minhtrannhat.com/All Mail") - (smtpmail-smtp-user . "minhtrannhat@minhtrannhat.com") - (mu4e-compose-signature . "Minh Tran")) - t) +;; ;; email stuffs +;; (add-to-list 'load-path "/usr/local/share/emacs/site-lisp/mu4e") -(setq sendmail-program "/usr/bin/msmtp" - send-mail-function #'smtpmail-send-it - message-sendmail-f-is-evil t - message-sendmail-extra-arguments '("--read-envelope-from") - message-send-mail-function #'message-send-mail-with-sendmail) +;; ;; Each path is relative to the path of the maildir you passed to mu +;; (set-email-account! "minhtrannhat.com" +;; '((mu4e-sent-folder . "/minhtrannhat@minhtrannhat.com/Sent") +;; (mu4e-drafts-folder . "/minhtrannhat@minhtrannhat.com/Drafts") +;; (mu4e-trash-folder . "/minhtrannhat@minhtrannhat.com/Trash") +;; (mu4e-refile-folder . "/minhtrannhat@minhtrannhat.com/All Mail") +;; (smtpmail-smtp-user . "minhtrannhat@minhtrannhat.com") +;; (mu4e-compose-signature . "Minh Tran")) +;; t) + +;; (setq sendmail-program "/usr/bin/msmtp" +;; send-mail-function #'smtpmail-send-it +;; message-sendmail-f-is-evil t +;; message-sendmail-extra-arguments '("--read-envelope-from") +;; message-send-mail-function #'message-send-mail-with-sendmail) + +(use-package org-recur + :hook ((org-mode . org-recur-mode) + (org-agenda-mode . org-recur-agenda-mode)) + :demand t + :config + (define-key org-recur-mode-map (kbd "C-c d") 'org-recur-finish) + + ;; Rebind the 'd' key in org-agenda (default: `org-agenda-day-view'). + (define-key org-recur-agenda-mode-map (kbd "d") 'org-recur-finish) + (define-key org-recur-agenda-mode-map (kbd "C-c d") 'org-recur-finish) + + (setq org-recur-finish-done t + org-recur-finish-archive t)) + +;; Refresh org-agenda after rescheduling a task. +(defun org-agenda-refresh () + "Refresh all `org-agenda' buffers." + (dolist (buffer (buffer-list)) + (with-current-buffer buffer + (when (derived-mode-p 'org-agenda-mode) + (org-agenda-maybe-redo))))) + +(defadvice org-schedule (after refresh-agenda activate) + "Refresh org-agenda." + (org-agenda-refresh)) + +(setq org-read-date-prefer-future 'time) diff --git a/doom-emacs/.doom.d/custom.el b/doom-emacs/.doom.d/custom.el index ac7a61f..d10125d 100644 --- a/doom-emacs/.doom.d/custom.el +++ b/doom-emacs/.doom.d/custom.el @@ -7,7 +7,7 @@ '(git-gutter:update-interval 0.02) '(smtpmail-smtp-server "mail.minhtrannhat.com") '(smtpmail-smtp-service 587) - '(warning-suppress-types '((org-element-cache)))) + '(warning-suppress-types '(((yasnippet zombie)) (defvaralias) (org-element-cache)))) (custom-set-faces ;; custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. diff --git a/doom-emacs/.doom.d/init.el b/doom-emacs/.doom.d/init.el index ee900c4..1a5480e 100644 --- a/doom-emacs/.doom.d/init.el +++ b/doom-emacs/.doom.d/init.el @@ -10,6 +10,12 @@ ;; ;; Alternatively, press 'gd' (or 'C-c c d') on a module to browse its ;; directory (for easy access to its source code). + +;; Doom no longer native compile ahead of time so we have to hack around this smh +(setq native-comp-deferred-compilation nil) +(after! (doom-packages straight) + (setq straight--native-comp-available t)) + (doom! :input ;;chinese ;;japanese @@ -126,7 +132,7 @@ ;;idris ; a language you can depend on (json +lsp) ; At least it ain't XML (java +lsp) ; the poster child for carpal tunnel syndrome - (javascript +lsp) ; all(hope(abandon(ye(who(enter(here)))))) + (javascript +lsp +tree-sitter) ; all(hope(abandon(ye(who(enter(here)))))) (julia +lsp) ; a better, faster MATLAB ;;kotlin ; a better, slicker Java(Script) latex ; writing papers in Emacs has never been so fun @@ -151,7 +157,7 @@ ;;(ruby +rails) ; 1.step {|i| p "Ruby is #{i.even? ? 'love' : 'life'}"} (rust +lsp) ; Fe2O3.unwrap().unwrap().unwrap().unwrap() scala ; java, but good - (scheme +guile +mit +racket) ; a fully conniving family of lisps + ;;(scheme +guile +mit +racket) ; a fully conniving family of lisps (sh +fish) ; she sells {ba,z,fi}sh shells on the C xor ;;sml ;;solidity ; do you need a blockchain? No. @@ -161,7 +167,7 @@ yaml ; JSON, but readable zig ; C, but simpler :email - (mu4e) + ;; (mu4e) ;;notmuch ;;(wanderlust +gmail) :app diff --git a/doom-emacs/.doom.d/packages.el b/doom-emacs/.doom.d/packages.el index 2dcbd5e..e317dc6 100644 --- a/doom-emacs/.doom.d/packages.el +++ b/doom-emacs/.doom.d/packages.el @@ -55,4 +55,7 @@ (package! magit-delta) (package! blamer :recipe (:host github :repo "artawower/blamer.el")) (package! org-fragtog) +;(package! org-contacts :recipe (:host nil :type git :repo "https://repo.or.cz/org-contacts.git")) +(package! org-recur) +(package! emidje) (unpin! rustic) diff --git a/fish/.config/fish/completions/bun.fish b/fish/.config/fish/completions/bun.fish index 74ac009..57c42cc 100644 --- a/fish/.config/fish/completions/bun.fish +++ b/fish/.config/fish/completions/bun.fish @@ -75,13 +75,16 @@ complete -c bun \ complete -c bun \ -n "not __fish_seen_subcommand_from (__fish__get_bun_bins) (__fish__get_bun_scripts) install remove add;" --no-files -s 'u' -l 'origin' -r -d 'Server URL. Rewrites import paths' complete -c bun \ --n "not __fish_seen_subcommand_from (__fish__get_bun_bins) (__fish__get_bun_scripts) install remove add;" --no-files -s 'p' -l 'port' -r -d 'Port number to start server from' + -n "not __fish_seen_subcommand_from (__fish__get_bun_bins) (__fish__get_bun_scripts) install remove add;" --no-files -s 'p' -l 'port' -r -d 'Port number to start server from' complete -c bun \ -n "not __fish_seen_subcommand_from (__fish__get_bun_bins) (__fish__get_bun_scripts) install remove add;" --no-files -s 'd' -l 'define' -r -d 'Substitute K:V while parsing, e.g. --define process.env.NODE_ENV:\"development\"' complete -c bun \ -n "not __fish_seen_subcommand_from (__fish__get_bun_bins) (__fish__get_bun_scripts) install remove add;" --no-files -s 'e' -l 'external' -r -d 'Exclude module from transpilation (can use * wildcards). ex: -e react' complete -c bun \ -n "not __fish_seen_subcommand_from (__fish__get_bun_bins) (__fish__get_bun_scripts) install remove add;" --no-files -l 'use' -r -d 'Use a framework (ex: next)' +complete -c bun \ + -n "not __fish_seen_subcommand_from (__fish__get_bun_bins) (__fish__get_bun_scripts) install remove add;" --no-files -l 'hot' -r -d 'Enable hot reloading in Bun\'s JavaScript runtime' + complete -c bun \ -n "bun_fish_is_nth_token 1; and not __fish_seen_subcommand_from $bun_builtin_cmds; and not __fish_seen_subcommand_from (__fish__get_bun_bins) (__fish__get_bun_scripts) and __fish_use_subcommand" -a 'dev' -d 'Start dev server' complete -c bun \ diff --git a/fish/.config/fish/completions/tmuxinator.fish b/fish/.config/fish/completions/tmuxinator.fish new file mode 100644 index 0000000..db8d3c5 --- /dev/null +++ b/fish/.config/fish/completions/tmuxinator.fish @@ -0,0 +1,24 @@ +function __fish_tmuxinator_using_command + set cmd (commandline -opc) + if [ (count $cmd) -gt 1 ] + if [ $argv[1] = $cmd[2] ] + return 0 + end + end + return 1 +end + +set __fish_tmuxinator_program_cmd (commandline -o)[1] + +function __fish_tmuxinator_program + eval "$__fish_tmuxinator_program_cmd $argv" +end + +complete -f -c $__fish_tmuxinator_program_cmd -a '(__fish_tmuxinator_program completions start)' +complete -f -c $__fish_tmuxinator_program_cmd -n '__fish_use_subcommand' -x -a "(__fish_tmuxinator_program commands)" +complete -f -c $__fish_tmuxinator_program_cmd -n '__fish_tmuxinator_using_command start' -a "(__fish_tmuxinator_program completions start)" +complete -f -c $__fish_tmuxinator_program_cmd -n '__fish_tmuxinator_using_command open' -a "(__fish_tmuxinator_program completions open)" +complete -f -c $__fish_tmuxinator_program_cmd -n '__fish_tmuxinator_using_command copy' -a "(__fish_tmuxinator_program completions copy)" +complete -f -c $__fish_tmuxinator_program_cmd -n '__fish_tmuxinator_using_command delete' -a "(__fish_tmuxinator_program completions delete)" + +abbr --add mux "tmuxinator" diff --git a/fish/.config/fish/config.fish b/fish/.config/fish/config.fish index 486f85e..24dda93 100644 --- a/fish/.config/fish/config.fish +++ b/fish/.config/fish/config.fish @@ -27,6 +27,8 @@ set -gx QT_AUTO_SCREEN_SCALE_FACTOR 1 set -Ux GTK_IM_MODULE ibus set -Ux QT_IM_MODULE ibus set -Ux XMODIFIERS @im=ibus +set -Ux PYTHON_KEYRING_BACKEND keyring.backends.null.Keyring +set -Ux SYSTEMD_TIMEDATED_NTP_SERVICES chronyd.service:systemd-timesyncd.service set -gx EDITOR lvim set -gx NVIM_LISTEN_ADDRESS /tmp/nvimsocket diff --git a/fish/.config/fish/fish_variables b/fish/.config/fish/fish_variables index f384c78..e9d9c59 100644 --- a/fish/.config/fish/fish_variables +++ b/fish/.config/fish/fish_variables @@ -1,11 +1,14 @@ # This file contains fish universal variable definitions. # VERSION: 3.0 SETUVAR --export GTK_IM_MODULE:ibus +SETUVAR --export PYTHON_KEYRING_BACKEND:keyring\x2ebackends\x2enull\x2eKeyring SETUVAR --export QT_IM_MODULE:ibus -SETUVAR --export SSH_AGENT_PID:1161 -SETUVAR --export SSH_AUTH_SOCK:/tmp/ssh\x2dXXXXXXC1g8rp/agent\x2e1160 +SETUVAR --export SSH_AGENT_PID:1262 +SETUVAR --export SSH_AUTH_SOCK:/tmp/ssh\x2dXXXXXX5aofTC/agent\x2e1261 +SETUVAR --export SYSTEMD_TIMEDATED_NTP_SERVICES:chronyd\x2eservice\x3asystemd\x2dtimesyncd\x2eservice SETUVAR --export XMODIFIERS:\x40im\x3dibus SETUVAR __fish_initialized:3400 +SETUVAR _fish_abbr_mux:tmuxinator SETUVAR fish_color_autosuggestion:4c566a SETUVAR fish_color_cancel:\x2d\x2dreverse SETUVAR fish_color_command:81a1c1 diff --git a/git/.gitconfig b/git/.gitconfig index b689474..cf18859 100644 --- a/git/.gitconfig +++ b/git/.gitconfig @@ -1,15 +1,20 @@ [pull] - rebase = false + rebase = true + [user] - email = minhtrannhat@minhtrannhat.com + email = minh@minhtrannhat.com name = minhtrannhat - signingkey = 894C6A5801E01CA9 + signingkey = E13CFA85C53F8062 + [commit] gpgsign = true + [init] defaultBranch = master + [gpg] - program = /usr/bin/gpg2 + program = /usr/bin/gpg + [pager] diff = delta blame = delta diff --git a/lvim/.config/lvim/config.lua b/lvim/.config/lvim/config.lua index 4a9018f..7d4a204 100644 --- a/lvim/.config/lvim/config.lua +++ b/lvim/.config/lvim/config.lua @@ -4,12 +4,12 @@ lvim.lint_on_save = true lvim.shell = "/bin/fish" lvim.leader = "space" vim.opt.relativenumber = true +vim.opt.wrap = true lvim.builtin.alpha.active = true lvim.builtin.terminal.active = true lvim.builtin.autopairs.active = true lvim.builtin.gitsigns.active = true -lvim.builtin.notify.active = false lvim.builtin.dap.active = true lvim.builtin.treesitter.rainbow.enable = true @@ -76,7 +76,6 @@ lvim.plugins = { require("spellsitter").setup() end, }, - { "ggandor/lightspeed.nvim", requires = { "tpope/vim-repeat" }, event = "InsertEnter" }, { "ellisonleao/glow.nvim" }, { "andweeb/presence.nvim" }, { @@ -115,8 +114,34 @@ lvim.plugins = { }) end, }, + "haya14busa/is.vim", + { + "max397574/better-escape.nvim", + config = function() + require("better_escape").setup() + end, + }, + { + "phaazon/hop.nvim", + branch = "v2", -- optional but strongly recommended + config = function() + -- you can configure Hop the way you like here; see :h hop-config + require("hop").setup( + { keys = "etovxqpdygfblzhckisuran" }, + vim.api.nvim_set_keymap("n", "t", ":HopChar2", { silent = true }), + vim.api.nvim_set_keymap("n", "T", ":HopPattern", { silent = true }) + ) + end, + }, } +require("better_escape").setup({ + mapping = { "jk", "kj" }, -- a table with mappings to use + timeout = vim.o.timeoutlen, -- the time in which the keys must be hit in ms. Use option timeoutlen by default + clear_empty_lines = false, -- clear line after escaping if there is only whitespace + keys = "", -- keys used for escaping, if it is a function will use the result everytime +}) + -- The setup config table shows all available config options with their default values: require("presence"):setup({ -- General options @@ -174,6 +199,3 @@ local opts = { } require("lvim.lsp.manager").setup("clangd", opts) - --- vim sandwhich with vim surround keybindings -vim.cmd("runtime macros/sandwich/keymap/surround.vim") diff --git a/sway/.config/sway/config b/sway/.config/sway/config index ff1a38b..93b5323 100644 --- a/sway/.config/sway/config +++ b/sway/.config/sway/config @@ -79,9 +79,11 @@ for_window [title="Firefox — Sharing Indicator"] nofocus for_window [app_id="mpv"] inhibit_idle visible; border none; max_render_time off for_window [app_id="soffice.bin"] inhibit_idle visible; border none; max_render_time off for_window [app_id="firefox"] inhibit_idle fullscreen; max_render_time off +for_window [app_id="librewolf"] inhibit_idle fullscreen; max_render_time off for_window [app_id="jellyfinmediaplayer"] inhibit_idle fullscreen; max_render_time off for_window [app_id="zathura"] inhibit_idle visible; max_render_time off for_window [app_id="kitty"] inhibit_idle visible; max_render_time off +for_window [app_id="emacs"] inhibit_idle visible; max_render_time off ### Input configuration # @@ -121,7 +123,7 @@ for_window [app_id="kitty"] inhibit_idle visible; max_render_time off # clipboard manager bindsym $mod+p exec clipman pick -t wofi - bindsym $mod+t exec firefox + bindsym $mod+t exec librewolf # # Moving around: # diff --git a/waybar/.config/waybar/_colors.scss b/waybar/.config/waybar/_colors.scss index 8508de7..356267c 100644 --- a/waybar/.config/waybar/_colors.scss +++ b/waybar/.config/waybar/_colors.scss @@ -1,37 +1,46 @@ -// Gruvbox Material theme +// Nord theme +$nord0: #2e3440; +$nord1: #3b4252; +$nord2: #434c5e; +$nord3: #4c566a; +$nord4: #d8dee9; +$nord5: #e5e9f0; +$nord6: #eceff4; +$nord8: #88c0d0; +$nord9: #81a1c1; -$red: #ea6962; -$orange: #e78a4e; -$yellow: #d8a657; -$green: #a9b665; -$cyan: #89b482; -$blue: #7daea3; -$magenta: #d3869b; +$blue: #5e81ac; +$red: #bf616a; +$cyan: #8fbcbb; +$orange: #d08770; +$yellow: #ebcb8b; +$green: #a3be8c; +$magenta: #b48ead; -$bg: #464646; -$fg: $orange; +$bg: $nord1; +$fg: $magenta; -$fg-opposite: scale-color($fg, $lightness: -25%, $saturation: -15%); +$fg-opposite: scale-color($fg, $lightness: -25%, $saturation: -15%); // Box shadow of modules automatically calculated from the background color -$shadow: scale-color($bg, $lightness: -34%, $saturation: -28%); +$shadow: scale-color($bg, $lightness: -34%, $saturation: -28%); -$fg-alt: $shadow; +$fg-alt: $shadow; @if lightness($bg) < 50% { - $fg-alt: scale-color($bg, $lightness: 27%); + $fg-alt: scale-color($bg, $lightness: 27%); } // Accent color used by the River active tags -$accent-color: $fg; +$accent-color: $fg; // Foreground + accent color for modules w/o backgrounds -$fg-no-bg: $fg; -$accent-color-no-bg: $shadow; +$fg-no-bg: $fg; +$accent-color-no-bg: $shadow; // Set this to true or false depending if the mpd module is readable -$dark-theme: true; +$dark-theme: true; @if $dark-theme { - $fg-no-bg: $fg-opposite; - $accent-color-no-bg: $bg; + $fg-no-bg: $fg-opposite; + $accent-color-no-bg: $bg; } diff --git a/waybar/.config/waybar/config b/waybar/.config/waybar/config index c6b169b..e96ccf0 100644 --- a/waybar/.config/waybar/config +++ b/waybar/.config/waybar/config @@ -50,7 +50,8 @@ "states": { "warning": 70, "critical": 90 - } + }, + "on-click": "" }, "memory": { "interval": 5, @@ -59,6 +60,7 @@ "warning": 70, "critical": 90 }, + "on-click": "" }, "battery": { @@ -74,7 +76,8 @@ "", "", "" - ] + ], + "on-click": "" }, "tray": { @@ -85,11 +88,13 @@ "clock": { "tooltip-format": "{:%Y %B}\n{calendar}", "format": "{:%I:%M %p}", + "on-click": "" }, "clock#date": { "tooltip-format": "{:%Y %B}\n{calendar}", "format": "{:%B %d, %A}", + "on-click": "" }, "pulseaudio": { diff --git a/waybar/.config/waybar/style.css b/waybar/.config/waybar/style.css index 410df74..d22ba66 100644 --- a/waybar/.config/waybar/style.css +++ b/waybar/.config/waybar/style.css @@ -2,14 +2,14 @@ #pulseaudio, #clock, #tags, #language, #memory, #network, #sndio, #mode, #window, #workspaces, #temperature, #taskbar, #workspaces, #custom-treefetch-downloads, #custom-update-count { - box-shadow: 4px 4px 0 #2e2e2e; + box-shadow: 4px 4px 0 #292c34; margin-bottom: 4px; margin-right: 4px; margin-left: 3px; margin-right: 7px; padding-left: 10px; padding-right: 10px; - background: #464646; + background: #3b4252; border-radius: 0px; } @@ -18,7 +18,7 @@ } #workspaces button { - color: #b48ead; + color: #ebcb8b; margin: 0; padding: 1px 1px 0px 1px; } @@ -57,17 +57,17 @@ window#waybar { } #mpd { - color: #464646; + color: #3b4252; margin-left: 5px; } #custom-mpd-song-scroll { - color: #bf6429; + color: #8d6486; margin-right: 50px; } #tags button { - color: #787878; + color: #65718c; font-family: "Source Han Sans JP Heavy"; font-weight: 700; padding: 0 3px; @@ -84,20 +84,20 @@ window#waybar { } #tags button:hover { - color: #464646; - background: #787878; + color: #3b4252; + background: #65718c; box-shadow: none; text-shadow: none; transition: 0; } #tags button.focused { - color: #464646; - background: #e78a4e; + color: #3b4252; + background: #b48ead; } #tags button.urgent { - color: #ea6962; + color: #bf616a; } @keyframes fadein { @@ -109,7 +109,7 @@ window#waybar { } } tooltip { - background: #464646; + background: #3b4252; border-radius: 7px; font-family: "JetBrains Mono Nerd Font", monospace; font-weight: 500; @@ -117,7 +117,7 @@ tooltip { padding: 10px; animation-name: fadein; animation-duration: 0.2s; - border: 2px solid #787878; + border: 2px solid #65718c; text-shadow: none; color: #b48ead; } @@ -127,8 +127,8 @@ tooltip label { } #tray menu { - background: #464646; + background: #3b4252; color: #b48ead; border-radius: 5px; - border: 2px solid #787878; + border: 2px solid #65718c; } diff --git a/wofi/.config/wofi/style.css b/wofi/.config/wofi/style.css index d47d336..73f375e 100644 --- a/wofi/.config/wofi/style.css +++ b/wofi/.config/wofi/style.css @@ -1,65 +1,69 @@ #entry { -border-radius: 5px; -padding: 7px; -margin: 0px 5px 0px 5px; + border-radius: 5px; + padding: 7px; + margin: 0px 5px 0px 5px; } @keyframes fadeIn { - from {opacity: 0;} - to {opacity: 1;} + from { + opacity: 0; + } + to { + opacity: 1; + } } #entry:selected { -background-color: #5e81ac; + background-color: #5e81ac; } #text:selected { -color: #d8dee9; + color: #d8dee9; } #window { -background-color: #3b4252; -background-color: transparent; -border-radius: 15px; -font-family: Product Sans; -animation: fadeIn; -animation-duration: 0.3s; + background-color: #3b4252; + background-color: transparent; + border-radius: 15px; + font-family: Product Sans; + animation: fadeIn; + animation-duration: 0.3s; } #input { -border: 2px solid #5e81ac; -background-color: #4c566a; -padding: 6px; -margin: 15px; -margin-bottom: 0px; -font-size: 16px; -border-radius: 5px; + border: 2px solid #5e81ac; + background-color: #4c566a; + padding: 6px; + margin: 15px; + margin-bottom: 0px; + font-size: 16px; + border-radius: 5px; } #inner-box { -color: #d8dee9; -padding: 10px; -padding-top: 5px; + color: #d8dee9; + padding: 10px; + padding-top: 5px; } #outer-box { -margin: 15px; -border-radius: 15px; -background-color: rgba(53,59,73,1.0); -box-shadow: 0px 0px 5px 0 #0F0F0F; + margin: 15px; + border-radius: 15px; + background-color: rgba(53, 59, 73, 1); + box-shadow: 0px 0px 5px 0 #0f0f0f; } #scroll { -margin-top: 10px; -margin-bottom: 10px; + margin-top: 10px; + margin-bottom: 10px; } #text { -font-size: 16px; -padding: 7px; -color: #d8dee9; -background-color: transparent; -} + font-size: 16px; + padding: 7px; + color: #d8dee9; + background-color: transparent; +} #img { background-color: transparent;