# Calculate comment=# chmod=0755
# grub-mkconfig helper script.
# Copyright 2016 Calculate Ltd. http://www.calculate-linux.org
#
#  Licensed under the Apache License, Version 2.0 (the "License");
#  you may not use this file except in compliance with the License.
#  You may obtain a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0

if [ "x$GRUB_TERMINAL_OUTPUT" != xconsole ]; then
	cat <<EOF
#?ini(theme.grub-background)!=&&exists(#-ini(theme.grub-background)-#)!=#
set color_normal=#-ini(theme.grub-gfx-text-color)-#
set color_highlight=#-ini(theme.grub-gfx-text-highlight-color)-#
#!ini#
set color_normal=#-ini(theme.grub-text-color)-#
set color_highlight=#-ini(theme.grub-text-highlight-color)-#
#ini#
EOF
fi
