-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from SNQ-2001/develop
1.1.0
- Loading branch information
Showing
70 changed files
with
748 additions
and
184 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,96 @@ | ||
# Xcode | ||
# | ||
# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore | ||
|
||
## User settings | ||
xcuserdata/ | ||
|
||
## compatibility with Xcode 8 and earlier (ignoring not required starting Xcode 9) | ||
*.xcscmblueprint | ||
*.xccheckout | ||
|
||
## compatibility with Xcode 3 and earlier (ignoring not required starting Xcode 4) | ||
build/ | ||
DerivedData/ | ||
*.moved-aside | ||
*.pbxuser | ||
!default.pbxuser | ||
*.mode1v3 | ||
!default.mode1v3 | ||
*.mode2v3 | ||
!default.mode2v3 | ||
*.perspectivev3 | ||
!default.perspectivev3 | ||
|
||
## Obj-C/Swift specific | ||
*.hmap | ||
|
||
## App packaging | ||
*.ipa | ||
*.dSYM.zip | ||
*.dSYM | ||
|
||
## Playgrounds | ||
timeline.xctimeline | ||
playground.xcworkspace | ||
|
||
# Swift Package Manager | ||
# | ||
# Add this line if you want to avoid checking in source code from Swift Package Manager dependencies. | ||
# Packages/ | ||
# Package.pins | ||
# Package.resolved | ||
# *.xcodeproj | ||
# | ||
# Xcode automatically generates this directory with a .xcworkspacedata file and xcuserdata | ||
# hence it is not needed unless you have added a package configuration file to your project | ||
# .swiftpm | ||
|
||
.build/ | ||
|
||
# CocoaPods | ||
# | ||
# We recommend against adding the Pods directory to your .gitignore. However | ||
# you should judge for yourself, the pros and cons are mentioned at: | ||
# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control | ||
# | ||
# Pods/ | ||
# | ||
# Add this line if you want to avoid checking in source code from the Xcode workspace | ||
# *.xcworkspace | ||
|
||
# Carthage | ||
# | ||
# Add this line if you want to avoid checking in source code from Carthage dependencies. | ||
# Carthage/Checkouts | ||
|
||
Carthage/Build/ | ||
|
||
# Accio dependency management | ||
Dependencies/ | ||
.accio/ | ||
|
||
# fastlane | ||
# | ||
# It is recommended to not store the screenshots in the git repo. | ||
# Instead, use fastlane to re-generate the screenshots whenever they are needed. | ||
# For more information about the recommended setup visit: | ||
# https://docs.fastlane.tools/best-practices/source-control/#source-control | ||
|
||
fastlane/report.xml | ||
fastlane/Preview.html | ||
fastlane/screenshots/**/*.png | ||
fastlane/test_output | ||
|
||
# Code Injection | ||
# | ||
# After new code Injection tools there's a generated folder /iOSInjectionProject | ||
# https://github.com/johnno1962/injectionforxcode | ||
|
||
iOSInjectionProject/ | ||
|
||
UserInterfaceState.xcuserstate | ||
|
||
.DS_Store | ||
|
||
*.swp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# 無効にするルール | ||
disabled_rules: | ||
- function_body_length | ||
- line_length | ||
- trailing_whitespace | ||
- nesting | ||
|
||
# Lint対象にするファイル | ||
included: | ||
- GitHubContributionsMenuBar | ||
|
||
# Lint対象から外すファイル | ||
excluded: | ||
|
||
# 型の行数制限 | ||
type_body_length: | ||
- 400 | ||
- 600 | ||
|
||
# 1ファイルの行数制限 | ||
file_length: | ||
- 600 | ||
- 1000 | ||
|
||
# レポートの種類 | ||
reporter: | ||
- json |
Large diffs are not rendered by default.
Oops, something went wrong.
52 changes: 0 additions & 52 deletions
52
GitHubContributionsMenuBar/Assets.xcassets/menubar.imageset/Contents.json
This file was deleted.
Oops, something went wrong.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
// | ||
// ColorExtensions.swift | ||
// GitHubContributionsMenuBar | ||
// | ||
// Created by 宮本大新 on 2022/05/05. | ||
// | ||
|
||
import SwiftUI | ||
// MARK: - Properties | ||
|
||
public extension Color { | ||
|
||
// MARK: - Tile Border | ||
|
||
static var tileBorder: Color = Asset.tileBorder.swiftUIColor | ||
|
||
// MARK: - Empty Tile | ||
|
||
static var emptyTile: Color = Asset.emptyTile.swiftUIColor | ||
|
||
// MARK: - Blue Theme | ||
|
||
static let blueLevel1 = Asset.blueLevel1.swiftUIColor | ||
static let blueLevel2 = Asset.blueLevel2.swiftUIColor | ||
static let blueLevel3 = Asset.blueLevel3.swiftUIColor | ||
static let blueLevel4 = Asset.blueLevel4.swiftUIColor | ||
|
||
// MARK: - Green Theme | ||
|
||
static let greenLevel1 = Asset.greenLevel1.swiftUIColor | ||
static let greenLevel2 = Asset.greenLevel2.swiftUIColor | ||
static let greenLevel3 = Asset.greenLevel3.swiftUIColor | ||
static let greenLevel4 = Asset.greenLevel4.swiftUIColor | ||
|
||
// MARK: - Red Theme | ||
|
||
static let redLevel1 = Asset.redLevel1.swiftUIColor | ||
static let redLevel2 = Asset.redLevel2.swiftUIColor | ||
static let redLevel3 = Asset.redLevel3.swiftUIColor | ||
static let redLevel4 = Asset.redLevel4.swiftUIColor | ||
|
||
// MARK: - Purple Theme | ||
|
||
static let purpleLevel1 = Asset.purpleLevel1.swiftUIColor | ||
static let purpleLevel2 = Asset.purpleLevel2.swiftUIColor | ||
static let purpleLevel3 = Asset.purpleLevel3.swiftUIColor | ||
static let purpleLevel4 = Asset.purpleLevel4.swiftUIColor | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
48 changes: 0 additions & 48 deletions
48
GitHubContributionsMenuBar/Extensions/ColorExtensions.swift
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.