1
0
Fork 0

task: Copy default 256-color themes

This commit is contained in:
Jeremy Kaplan 2021-04-16 14:58:52 -07:00
commit 4a8d88bf36
5 changed files with 202 additions and 1 deletions

View file

@ -9,10 +9,12 @@ scheme="${1:-dark}"
if [ "${scheme}" = 'dark' ]; then if [ "${scheme}" = 'dark' ]; then
ln -sf "${DOTFILES}/alacritty/colors-dark.yml" "${DOTFILES}/alacritty/colors.yml" ln -sf "${DOTFILES}/alacritty/colors-dark.yml" "${DOTFILES}/alacritty/colors.yml"
ln -sf "${DOTFILES}/vim/colors/jdkaplan-dark.vim" "${DOTFILES}/vim/colors/jdkaplan.vim" ln -sf "${DOTFILES}/vim/colors/jdkaplan-dark.vim" "${DOTFILES}/vim/colors/jdkaplan.vim"
ln -sf "${DOTFILES}/task/jdkaplan-dark.theme" "${DOTFILES}/task/color.theme"
"${DOTFILES}/alacritty/install" "${DOTFILES}/alacritty/install"
elif [ "${scheme}" = 'light' ]; then elif [ "${scheme}" = 'light' ]; then
ln -sf "${DOTFILES}/alacritty/colors-light.yml" "${DOTFILES}/alacritty/colors.yml" ln -sf "${DOTFILES}/alacritty/colors-light.yml" "${DOTFILES}/alacritty/colors.yml"
ln -sf "${DOTFILES}/vim/colors/jdkaplan-light.vim" "${DOTFILES}/vim/colors/jdkaplan.vim" ln -sf "${DOTFILES}/vim/colors/jdkaplan-light.vim" "${DOTFILES}/vim/colors/jdkaplan.vim"
ln -sf "${DOTFILES}/task/jdkaplan-light.theme" "${DOTFILES}/task/color.theme"
"${DOTFILES}/alacritty/install" "${DOTFILES}/alacritty/install"
else else
echo "Unknown color scheme: ${scheme}" echo "Unknown color scheme: ${scheme}"

4
task/.gitignore vendored
View file

@ -1,2 +1,4 @@
# The sync config contains secrets. # The sync config contains secrets.
sync /sync
/color.theme

View file

@ -1,6 +1,7 @@
# [Created by task 2.5.1 11/24/2019 23:09:25] # [Created by task 2.5.1 11/24/2019 23:09:25]
include ~/.config/task/sync include ~/.config/task/sync
include ~/.config/task/color.theme
data.location=~/.task data.location=~/.task

98
task/jdkaplan-dark.theme Normal file
View file

@ -0,0 +1,98 @@
###############################################################################
#
# Copyright 2006 - 2021, Paul Beckingham, Federico Hernandez.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included
# in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
#
# https://www.opensource.org/licenses/mit-license.php
#
###############################################################################
rule.precedence.color=deleted,completed,active,keyword.,tag.,project.,overdue,scheduled,due.today,due,blocked,blocking,recurring,tagged,uda.
# General decoration
color.label=
color.label.sort=
color.alternate=on gray2
color.header=color3
color.footnote=color3
color.warning=bold red
color.error=white on red
color.debug=color4
# Task state
color.completed=
color.deleted=
color.active=rgb555 on rgb410
color.recurring=rgb013
color.scheduled=on rgb001
color.until=
color.blocked=white on color8
color.blocking=black on color15
# Project
color.project.none=
# Priority
color.uda.priority.H=color255
color.uda.priority.L=color245
color.uda.priority.M=color250
# Tags
color.tag.next=rgb440
color.tag.none=
color.tagged=rgb031
# Due
color.due.today=rgb400
color.due=color1
color.overdue=color9
# Report: burndown
color.burndown.done=on rgb010
color.burndown.pending=on color9
color.burndown.started=on color11
# Report: history
color.history.add=color0 on rgb500
color.history.delete=color0 on rgb550
color.history.done=color0 on rgb050
# Report: summary
color.summary.background=white on color0
color.summary.bar=black on rgb141
# Command: calendar
color.calendar.due.today=color15 on color1
color.calendar.due=color0 on color1
color.calendar.holiday=color0 on color11
color.calendar.overdue=color0 on color9
color.calendar.today=color15 on rgb013
color.calendar.weekend=on color235
color.calendar.weeknumber=rgb013
# Command: sync
color.sync.added=rgb010
color.sync.changed=color11
color.sync.rejected=color9
# Command: undo
color.undo.after=color2
color.undo.before=color1

98
task/jdkaplan-light.theme Normal file
View file

@ -0,0 +1,98 @@
###############################################################################
#
# Copyright 2006 - 2021, Paul Beckingham, Federico Hernandez.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included
# in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
#
# https://www.opensource.org/licenses/mit-license.php
#
###############################################################################
rule.precedence.color=deleted,completed,active,keyword.,tag.,project.,overdue,scheduled,due.today,due,blocked,blocking,recurring,tagged,uda.
# General decoration
color.label=
color.label.sort=
color.alternate=on gray22
color.header=color15 on gray8
color.footnote=on gray18
color.warning=color9
color.error=white on red
color.debug=rgb025
# Task state
color.completed=
color.deleted=
color.active=rgb510
color.recurring=
color.scheduled=on rgb345
color.until=
color.blocking=rgb300
color.blocked=rgb003
# Project
color.project.none=
# Priority
color.uda.priority.H=gray0
color.uda.priority.M=gray5
color.uda.priority.L=gray10
# Tags
color.tag.next=rgb420
color.tag.none=
color.tagged=
# Due
color.due=on rgb343
color.due.today=on rgb353
color.overdue=on rgb544
# Report: burndown
color.burndown.pending=on rgb411
color.burndown.started=on rgb550
color.burndown.done=on rgb151
# Report: history
color.history.add=color0 on rgb411
color.history.done=color0 on rgb151
color.history.delete=color0 on rgb550
# Report: summary
color.summary.bar=on rgb141
color.summary.background=on gray20
# Command: calendar
color.calendar.due=on rgb343
color.calendar.due.today=on rgb353
color.calendar.holiday=color0 on rgb530
color.calendar.overdue=on rgb533
color.calendar.today=rgb005
color.calendar.weekend=on gray21
color.calendar.weeknumber=gray16
# Command: sync
color.sync.added=green
color.sync.changed=yellow
color.sync.rejected=red
# Command: undo
color.undo.before=yellow
color.undo.after=green