Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
8c302ef
upgrade to null safety
lslv1243 Jan 2, 2021
467de07
updated dependencies
lslv1243 May 4, 2021
eb3efbd
remove unnecessary late
lslv1243 May 4, 2021
87f654c
using Pigment lib instead of reimplementing colorFromString
lslv1243 May 4, 2021
56d7d94
Update issue templates
calvintam236 Jun 24, 2021
f61116c
Update pubspec for this fork
calvintam236 Jun 24, 2021
f431be7
Update underlying color with setting alpha and opacity.
TNorbury Jun 24, 2021
2f13899
restructure as a library
TNorbury Jun 24, 2021
1997311
format code for pub points
TNorbury Jun 24, 2021
797606a
Fixes issues #2 and #10 in FooStudio/tinycolor
dsyrstad Jun 24, 2021
ee3ab47
Merge pull request #5 from dsyrstad/master
calvintam236 Jun 25, 2021
acf1be2
Merge remote-tracking branch 'upstream/master' into fix_set_alpha_opa…
TNorbury Jun 25, 2021
68d18fd
spelling
TNorbury Jun 25, 2021
1fc89ce
Create SECURITY.md
calvintam236 Jun 26, 2021
7ab3574
Update issue templates
calvintam236 Jun 26, 2021
ee0125f
Merge pull request #9 from TinyCommunity/hotfix/issues-template
calvintam236 Jun 26, 2021
2d25c26
Merge pull request #10 from TinyCommunity/hotfix/security-policy
calvintam236 Jun 26, 2021
3cf7078
Update changelog template
calvintam236 Jun 29, 2021
89c7b9d
Merge pull request #12 from TinyCommunity/hotfix/changelog
calvintam236 Jun 29, 2021
e33128c
Merge pull request #4 from TNorbury/fix_set_alpha_opacity
calvintam236 Jul 4, 2021
eebc84c
Replace .gitignore from flutter/packages
calvintam236 Jul 4, 2021
a331464
Reimport .gitignore from dart template
calvintam236 Jul 4, 2021
d9737dc
Remove pubspec.lock
calvintam236 Jul 4, 2021
1274905
Merge pull request #14 from TinyCommunity/patch-gitignore
calvintam236 Jul 4, 2021
4b92abe
Add .equals() (#16)
calvintam236 Jul 7, 2021
c7b9db7
Fix #19
calvintam236 Jul 8, 2021
627818f
Merge pull request #20 from TinyCommunity/bugfix/hashcode
calvintam236 Jul 8, 2021
983245c
Update with template gitignore
calvintam236 Jul 8, 2021
4806874
Ignore OS related files
calvintam236 Jul 8, 2021
825a1b4
Ignore IDE related files
calvintam236 Jul 8, 2021
a6e7c4a
Add .toHex8() (#17)
calvintam236 Jul 8, 2021
c2c29d5
Merge pull request #21 from TinyCommunity/hotfix/gitignore
calvintam236 Jul 9, 2021
5a58244
Add autogenerated files in .idea/ folder (#22)
WieFel Jul 11, 2021
e52805a
Add component ProjectRootManager line in misc.xml (#23)
WieFel Jul 11, 2021
d3710c1
rename method copy -> clone
lslv1243 Jul 13, 2021
5b4b323
Merge https://github.com/TinyCommunity/tinycolor2
lslv1243 Jul 13, 2021
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
33 changes: 33 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: bug
assignees: ''

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Environment (please complete the following information)**
- Package version [e.g. 22]
- Dart version [e.g. 2.12.0]
- Flutter version [e.g. 2.2.0]
- Target platform for Flutter [e.g. Android, iOS, web, etc.]

**Additional context**
Add any other context about the problem here (including error message, logs).
33 changes: 33 additions & 0 deletions .github/ISSUE_TEMPLATE/vulnerability-report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
---
name: Vulnerability report
about: Report any vulnerability you have found.
title: ''
labels: vulnerability
assignees: ''

---

**Describe the vulnerability**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Environment (please complete the following information)**
- Package version [e.g. 22]
- Dart version [e.g. 2.12.0]
- Flutter version [e.g. 2.2.0]
- Target platform for Flutter [e.g. Android, iOS, web, etc.]

**Additional context**
Add any other context about the problem here (including error message, logs).
208 changes: 201 additions & 7 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,11 +1,205 @@
.DS_Store
.dart_tool/
.idea
# See https://www.dartlang.org/guides/libraries/private-files

# Files and directories created by pub
.dart_tool/
.packages
.pub/
build/
# If you're building an application, you may want to check-in your pubspec.lock
pubspec.lock

# Directory created by dartdoc
# If you don't generate documentation locally you can remove this line.
doc/api/

# dotenv environment variables file
.env*

# Avoid committing generated Javascript files:
*.dart.js
*.info.json # Produced by the --dump-info flag.
*.js # When generated by dart2js. Don't specify *.js if your
# project includes source files written in JavaScript.
*.js_
*.js.deps
*.js.map

.flutter-plugins
.flutter-plugins-dependencies

# General
.DS_Store
.AppleDouble
.LSOverride

# Icon must end with two \r
Icon

# Thumbnails
._*

# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
.com.apple.timemachine.donotpresent

# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk

# Windows thumbnail cache files
Thumbs.db
Thumbs.db:encryptable
ehthumbs.db
ehthumbs_vista.db

# Dump file
*.stackdump

# Folder config file
[Dd]esktop.ini

# Recycle Bin used on file shares
$RECYCLE.BIN/

# Windows Installer files
*.cab
*.msi
*.msix
*.msm
*.msp

# Windows shortcuts
*.lnk

*~

# temporary files which can be created if a process still has a handle open of a deleted file
.fuse_hidden*

# KDE directory preferences
.directory

# Linux trash folder which might appear on any partition or disk
.Trash-*

# .nfs files are created when an open file is removed but is still being accessed
.nfs*

# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839

# User-specific stuff
.idea/**/workspace.xml
.idea/**/tasks.xml
.idea/**/usage.statistics.xml
.idea/**/dictionaries
.idea/**/shelf

# AWS User-specific
.idea/**/aws.xml

# Generated files
.idea/**/contentModel.xml

# Sensitive or high-churn files
.idea/**/dataSources/
.idea/**/dataSources.ids
.idea/**/dataSources.local.xml
.idea/**/sqlDataSources.xml
.idea/**/dynamic.xml
.idea/**/uiDesigner.xml
.idea/**/dbnavigator.xml

# Gradle
.idea/**/gradle.xml
.idea/**/libraries

# Gradle and Maven with auto-import
# When using Gradle or Maven with auto-import, you should exclude module files,
# since they will be recreated, and may cause churn. Uncomment if using
# auto-import.
# .idea/artifacts
# .idea/compiler.xml
# .idea/jarRepositories.xml
# .idea/modules.xml
# .idea/*.iml
# .idea/modules
# *.iml
# *.ipr

# CMake
cmake-build-*/

# Mongo Explorer plugin
.idea/**/mongoSettings.xml

# File-based project format
*.iws

# IntelliJ
out/

# mpeltonen/sbt-idea plugin
.idea_modules/

# JIRA plugin
atlassian-ide-plugin.xml

# Cursive Clojure plugin
.idea/replstate.xml

# Crashlytics plugin (for Android Studio and IntelliJ)
com_crashlytics_export_strings.xml
crashlytics.properties
crashlytics-build.properties
fabric.properties

# Editor-based Rest Client
.idea/httpRequests

# Android studio 3.1+ serialized cache file
.idea/caches/build_file_checksums.ser

.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
*.code-workspace

# Local History for Visual Studio Code
.history/

# 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/
ios/.generated/
ios/Flutter/Generated.xcconfig
ios/Runner/GeneratedPluginRegistrant.*
DerivedData/
*.moved-aside
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3

## Gcc Patch
/*.gcno
7 changes: 7 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions .idea/runConfigurations.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 15 additions & 0 deletions .idea/tinycolor2.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

41 changes: 32 additions & 9 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,32 @@
## [1.0.3]
* Added Color class extension method for direct usage
## [1.0.2]
* Fixed compatibility issues with dart 2.1 and pigment 1.0.3
## [1.0.1]
* Fixed HSLColor class name duplicate definition.
* Updated package description
## [1.0.0]
* Initial port of tinycolor2
# Changelog

## [2.0.0] - TBD

### Changed
* Forked as a community version `tinycolor2`

### Fixed
* #2, #6, #10 from upstream at [PR #5](https://github.com/TinyCommunity/tinycolor2/pull/5)

## [1.0.3] - 2020-08-27

### Added
* Color class extension method for direct usage

## [1.0.2] - 2018-08-17

### Fixed
* Compatibility issues with dart 2.1 and pigment 1.0.3

## [1.0.1] - 2018-08-04

### Fixed
* HSLColor class name duplicate definition

### Changed
* Package description

## [1.0.0] - 2018-08-04

### Added
* Initial port of tinycolor2
14 changes: 14 additions & 0 deletions SECURITY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Security Policy

## Supported Versions

The following versions are currently being supported with security updates.

| Version | Supported |
| ------- | ------------------ |
| 2.0.x | :white_check_mark: |
| < 2.0 | :x: |

## Reporting a Vulnerability

To report any security issues, please open an issue [here](https://github.com/TinyCommunity/tinycolor2/issues/new/choose).
Loading