This repository has been archived by the owner on Sep 12, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 343
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Display Primary Language (#73)
- Loading branch information
1 parent
40947e5
commit 922c3a2
Showing
8 changed files
with
54 additions
and
41 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 |
---|---|---|
@@ -1,45 +1,29 @@ | ||
# [0.8.0](https://github.com/EddieHubCommunity/good-first-issue-finder/compare/v0.7.1...v0.8.0) (2022-02-13) | ||
|
||
|
||
### Features | ||
|
||
* Filter Function for labels ([#70](https://github.com/EddieHubCommunity/good-first-issue-finder/issues/70)) ([121e1d6](https://github.com/EddieHubCommunity/good-first-issue-finder/commit/121e1d68d2944c895c185df5779044fca9494db8)) | ||
|
||
|
||
- Filter Function for labels ([#70](https://github.com/EddieHubCommunity/good-first-issue-finder/issues/70)) ([121e1d6](https://github.com/EddieHubCommunity/good-first-issue-finder/commit/121e1d68d2944c895c185df5779044fca9494db8)) | ||
|
||
## [0.7.1](https://github.com/EddieHubCommunity/good-first-issue-finder/compare/v0.7.0...v0.7.1) (2022-02-12) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* update footer ([#68](https://github.com/EddieHubCommunity/good-first-issue-finder/issues/68)) ([178d92e](https://github.com/EddieHubCommunity/good-first-issue-finder/commit/178d92e01067169ed0f303fab59b4298741d43a1)) | ||
|
||
|
||
- update footer ([#68](https://github.com/EddieHubCommunity/good-first-issue-finder/issues/68)) ([178d92e](https://github.com/EddieHubCommunity/good-first-issue-finder/commit/178d92e01067169ed0f303fab59b4298741d43a1)) | ||
|
||
# [0.7.0](https://github.com/EddieHubCommunity/good-first-issue-finder/compare/v0.6.0...v0.7.0) (2022-02-12) | ||
|
||
|
||
### Features | ||
|
||
* add footer ([#67](https://github.com/EddieHubCommunity/good-first-issue-finder/issues/67)) ([c8d814d](https://github.com/EddieHubCommunity/good-first-issue-finder/commit/c8d814d6f067e63c2b33cb23fe80cddf3ca13928)) | ||
|
||
|
||
- add footer ([#67](https://github.com/EddieHubCommunity/good-first-issue-finder/issues/67)) ([c8d814d](https://github.com/EddieHubCommunity/good-first-issue-finder/commit/c8d814d6f067e63c2b33cb23fe80cddf3ca13928)) | ||
|
||
# [0.6.0](https://github.com/EddieHubCommunity/good-first-issue-finder/compare/v0.5.0...v0.6.0) (2022-02-12) | ||
|
||
|
||
### Features | ||
|
||
* Display Issue-Labels ([#59](https://github.com/EddieHubCommunity/good-first-issue-finder/issues/59)) ([e6f1fef](https://github.com/EddieHubCommunity/good-first-issue-finder/commit/e6f1fef8f9d48d6f830b4ca079250c741e373692)) | ||
|
||
|
||
- Display Issue-Labels ([#59](https://github.com/EddieHubCommunity/good-first-issue-finder/issues/59)) ([e6f1fef](https://github.com/EddieHubCommunity/good-first-issue-finder/commit/e6f1fef8f9d48d6f830b4ca079250c741e373692)) | ||
|
||
# [0.5.0](https://github.com/EddieHubCommunity/good-first-issue-finder/compare/v0.4.0...v0.5.0) (2022-02-12) | ||
|
||
|
||
### Features | ||
|
||
* add Search ([#58](https://github.com/EddieHubCommunity/good-first-issue-finder/issues/58)) ([8ba650f](https://github.com/EddieHubCommunity/good-first-issue-finder/commit/8ba650fe168af09a0bd9506f3cc3af7f0716efeb)) | ||
|
||
|
||
|
||
- add Search ([#58](https://github.com/EddieHubCommunity/good-first-issue-finder/issues/58)) ([8ba650f](https://github.com/EddieHubCommunity/good-first-issue-finder/commit/8ba650fe168af09a0bd9506f3cc3af7f0716efeb)) |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
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
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 |
---|---|---|
@@ -1,20 +1,19 @@ | ||
<script lang="ts"> | ||
import fontColorContrast from 'font-color-contrast'; | ||
export let text: string; | ||
export let color: string; | ||
const getColorByBgColor = (bgColor: string) => { | ||
if (!bgColor) { | ||
return ''; | ||
} | ||
return parseInt(bgColor.replace('#', ''), 16) > 0xffffff / 2 ? '#000' : '#fff'; | ||
}; | ||
$: processedColor = color.startsWith('#') ? color : `#${color}`; | ||
</script> | ||
|
||
<div | ||
class="mr-2 inline-block rounded-2xl border-[1px] py-2 px-4 text-xs font-semibold" | ||
style="border-color: #{color === 'ffffff' | ||
? '000' | ||
: color}; background-color: #{color}; color: {getColorByBgColor(`#${color}`)}" | ||
class="mr-2 inline-block rounded-2xl border-[1px] py-1 px-3 text-xs font-semibold" | ||
style="border-color: {processedColor === '#ffffff' | ||
? '#000' | ||
: processedColor}; background-color: {processedColor}; color: {fontColorContrast( | ||
processedColor, | ||
0.7, | ||
)}" | ||
> | ||
{@html text} | ||
</div> |
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
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