Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion GdeiAssistant-iOS/Core/DesignSystem/DSColor.swift
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ enum DSColor {
static let background = Color(.systemGroupedBackground)
static let cardBackground = Color(.secondarySystemGroupedBackground)

static let primary = Color.accentColor
static let primary = Color(dsLight: 0x006D44, dark: 0x75DAA3)
static let onPrimary = Color.white

static let secondary = Color(dsLight: 0x5AC8FA, dark: 0x64D2FF)
Expand Down
6 changes: 5 additions & 1 deletion Tools/check_style.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@ ROOT_DIR="$(cd "$(dirname "$0")/.." && pwd)"
cd "$ROOT_DIR"

status=0
swift_files="$(git ls-files | grep -E '\.swift$' || true)"
if git rev-parse --is-inside-work-tree >/dev/null 2>&1; then
swift_files="$(git ls-files | grep -E '\.swift$' || true)"
else
swift_files="$(find . -type f -name '*.swift' | sed 's#^\./##' | sort)"
fi

if [[ -z "$swift_files" ]]; then
echo "No Swift files found."
Expand Down