File tree Expand file tree Collapse file tree 5 files changed +1
-26
lines changed
src/themes/default/components Expand file tree Collapse file tree 5 files changed +1
-26
lines changed Original file line number Diff line number Diff line change @@ -2363,7 +2363,6 @@ evergreen-ui@7.1.5:
23632363 prop-types "^15.6.2"
23642364 react-fast-compare "^3.2.0"
23652365 react-transition-group "^4.4.1"
2366- tinycolor2 "^1.4.1"
23672366 ui-box "^5.4.0"
23682367
23692368extend-shallow@^2.0.1 :
@@ -4247,11 +4246,6 @@ tiny-emitter@^2.0.0:
42474246 resolved "https://registry.yarnpkg.com/tiny-emitter/-/tiny-emitter-2.1.0.tgz#1d1a56edfc51c43e863cbb5382a72330e3555423"
42484247 integrity sha512-NB6Dk1A9xgQPMoGqC5CVXn123gWyte215ONT5Pp5a0yt4nlEoO1ZWeCwpncaekPHXO60i47ihFnZPiRPjRMq4Q==
42494248
4250- tinycolor2@^1.4.1 :
4251- version "1.4.2"
4252- resolved "https://registry.yarnpkg.com/tinycolor2/-/tinycolor2-1.4.2.tgz#3f6a4d1071ad07676d7fa472e1fac40a719d8803"
4253- integrity sha512-vJhccZPs965sV/L2sU4oRQVAos0pQXwsvTLkWYdqJ+a8Q5kPFzJTuOFwy7UniPli44NKQGAglksjvOcpo95aZA==
4254-
42554249to-fast-properties@^2.0.0 :
42564250 version "2.0.0"
42574251 resolved "https://registry.yarnpkg.com/to-fast-properties/-/to-fast-properties-2.0.0.tgz#dc5e698cbd079265bc73e0377681a4e4e83f616e"
Original file line number Diff line number Diff line change @@ -224,7 +224,6 @@ evergreen-ui@latest:
224224 react-scrollbar-size "^2.0.2"
225225 react-tiny-virtual-list "^2.1.4"
226226 react-transition-group "^4.4.1"
227- tinycolor2 "^1.4.1"
228227 ui-box "^4.0.0"
229228
230229fbjs@^0.8.12, fbjs@^0.8.16 :
@@ -508,11 +507,6 @@ through@^2.3.8:
508507 resolved "https://registry.yarnpkg.com/through/-/through-2.3.8.tgz#0dd4c9ffaabc357960b1b724115d7e0e86a2e1f5"
509508 integrity sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=
510509
511- tinycolor2@^1.4.1 :
512- version "1.4.2"
513- resolved "https://registry.yarnpkg.com/tinycolor2/-/tinycolor2-1.4.2.tgz#3f6a4d1071ad07676d7fa472e1fac40a719d8803"
514- integrity sha512-vJhccZPs965sV/L2sU4oRQVAos0pQXwsvTLkWYdqJ+a8Q5kPFzJTuOFwy7UniPli44NKQGAglksjvOcpo95aZA==
515-
516510ua-parser-js@^0.7.18 :
517511 version "0.7.28"
518512 resolved "https://registry.yarnpkg.com/ua-parser-js/-/ua-parser-js-0.7.28.tgz#8ba04e653f35ce210239c64661685bf9121dec31"
Original file line number Diff line number Diff line change 7979 "prop-types" : " ^15.6.2" ,
8080 "react-fast-compare" : " ^3.2.0" ,
8181 "react-transition-group" : " ^4.4.1" ,
82- "tinycolor2" : " ^1.4.1" ,
8382 "ui-box" : " ^5.4.0"
8483 },
8584 "peerDependencies" : {
126125 "@types/node" : " ^17.0.21" ,
127126 "@types/react-is" : " 17.0.3" ,
128127 "@types/testing-library__jest-dom" : " 5.14.3" ,
129- "@types/tinycolor2" : " ^1.4.3" ,
130128 "@typescript-eslint/eslint-plugin" : " ^5.14.0" ,
131129 "@typescript-eslint/parser" : " ^5.14.0" ,
132130 "babel-core" : " 7.0.0-bridge.0" ,
Original file line number Diff line number Diff line change 1- import tinycolor from 'tinycolor2'
21import { get } from '../../../theme/src/theme-tools'
32
43const baseStyle = {
@@ -16,7 +15,7 @@ const appearances = {
1615 subtle : ( theme , props ) => {
1716 const scheme = get ( theme , `fills.${ props . color } ` , {
1817 backgroundColor : props . color ,
19- color : tinycolor ( props . color ) . isLight ( ) ? 'colors.dark' : 'white'
18+ color : props . color
2019 } )
2120
2221 return {
Original file line number Diff line number Diff line change 34363436 dependencies:
34373437 "@types/jest" "*"
34383438
3439- "@types/tinycolor2@^1.4.3":
3440- version "1.4.3"
3441- resolved "https://registry.yarnpkg.com/@types/tinycolor2/-/tinycolor2-1.4.3.tgz#ed4a0901f954b126e6a914b4839c77462d56e706"
3442- integrity sha512-Kf1w9NE5HEgGxCRyIcRXR/ZYtDv0V8FVPtYHwLxl0O+maGX0erE77pQlD0gpP+/KByMZ87mOA79SjifhSB3PjQ==
3443-
34443439"@types/uglify-js@*":
34453440 version "3.13.1"
34463441 resolved "https://registry.yarnpkg.com/@types/uglify-js/-/uglify-js-3.13.1.tgz#5e889e9e81e94245c75b6450600e1c5ea2878aea"
@@ -14120,11 +14115,6 @@ timsort@^0.3.0:
1412014115 resolved "https://registry.yarnpkg.com/timsort/-/timsort-0.3.0.tgz#405411a8e7e6339fe64db9a234de11dc31e02bd4"
1412114116 integrity sha1-QFQRqOfmM5/mTbmiNN4R3DHgK9Q=
1412214117
14123- tinycolor2@^1.4.1:
14124- version "1.4.2"
14125- resolved "https://registry.yarnpkg.com/tinycolor2/-/tinycolor2-1.4.2.tgz#3f6a4d1071ad07676d7fa472e1fac40a719d8803"
14126- integrity sha512-vJhccZPs965sV/L2sU4oRQVAos0pQXwsvTLkWYdqJ+a8Q5kPFzJTuOFwy7UniPli44NKQGAglksjvOcpo95aZA==
14127-
1412814118tmp-promise@3.0.2:
1412914119 version "3.0.2"
1413014120 resolved "https://registry.yarnpkg.com/tmp-promise/-/tmp-promise-3.0.2.tgz#6e933782abff8b00c3119d63589ca1fb9caaa62a"
You can’t perform that action at this time.
0 commit comments