mirror of
https://github.com/lucide-icons/lucide.git
synced 2025-12-28 16:36:20 +01:00
* add new docs
* Add styling
* Move files
* Add active selection
* improve grid overview
* improve grid
* Add icon detail page
* Minor changes
* Fix icon preview
* optimize home card
* Add code examples
* Add gitignore
* correct temp directory
* Add first cusotmizer
* Add customizer
* fix images paths
* Add reset function
* Adjust category rendering
* Add packages section
* Some fixes
* Fix vercel build icon
* Small code adjustment
* move file
* Try this
* Add code groups with syntax highlighting
* Add search icon
* Cleanup
* update lockfile
* turnoff 404
* remove docs/iconMetaData.ts
* fix build
* Fix build 2
* cleanup
* Add icon customizer
* Fix build
* Add steps
* Add Button menu
* A lot off fixes!
* cleanup
* Fix build
* Css fixes
* Override menu icon
* try this to improve preformance
* minor improvements
* add comment
* add readme
* Add title
* minor fixes
* Fixes sliders + removes random backticks from index
* Added package list base, still WIP
* Added Guide+Source buttons to package list items
* Responsive support for XS screens
* Map categories count
* Adjust tooltip hover position
* Add see in action icon
* Add download options
* Aligns category list items to baseline and decreases category count weight
* Fixes event target error for categorylistitems
* Added icon release metadata builder
* Adds version badges to hero + icon detail overlay
* Added contributors.
Added Copy Angular.
Added release info to icon page.
* Centres contributor tooltip
* Fixed stroke step + added reset button
* Extracted reset button as a separate component for reusability
* Makes HomeIconCustomizerIcons less dense
* Fixes Button menu
* adjust versions and contributors styling on detail page
* Fix build?
* Fix build 2?
* Fix build 3
* Fix build 4
* Fix build 5?
* Add latest gh-icon changes
* Add comment
* Try fetch tags to retrieve release data
* try fetch all tags
* Add related icons
* Add stikcy search bar
* Add no results components
* Try to fix animation
* Try optimizing for categories
* Hide buggy animated icon
* minor fixes
* Add footer
* Add contributute link in footer
* Add copy name
* Add 100% preview icons
* remove site directory
* clean up
* Add redirects
* Fix build?
* fix redirect?
* minor improvements
* Fix icons preview on mobile
* Small preformance improvement
* Dark mode fixes for package icons
* Sort related icons by similarity + somewhat better name similarity matching
* Replace icon design guide images with uniform SVGs
* update lockfile
* Adds git clone to manually fetch the main repository for creating release metadata
* Remove initial v0.0.0 from release metadata
* Add extra CTA to no results behaviour
* Remove tags, as they are too overused
* Revert "Remove tags, as they are too overused"
This reverts commit 909b7563c0.
* Checkout icons from main
* Add absoluteStrokeWidth switch
* Add absolute strokewidth to home customizer
* Add absolute strokewidth to copy code button
* remove unused import
* compare build time
* improve build speed
* Try new release meta data script
* add fetch tags
* try with branch and remote
* try with url
* try without ssh
* Fix fetch tags in build file
* Cleanup
* Fix fallback
* improve release data
* delete relatedIcons.json, because it should be gitignored
* Add icon details
* Fix import
* minor fixes
* Try running script parallel
* Revert icon details
* include aliases in release meta data
* Final fixes
* Final fixes 2
* minor code adjustment
* Fix build
* test
* Revert concurrent build flow
* switch back to concurrent build strategy
* revert icon changes
* update package.json
* update package.json
* dedube packages
---------
Co-authored-by: Karsa <karsa@karsa.org>
105 lines
3.3 KiB
CSS
105 lines
3.3 KiB
CSS
.confetti-button {
|
|
cursor: pointer;
|
|
position: relative;
|
|
--confetti-color: var(--vp-c-brand);
|
|
--text-color: 0 0 0;
|
|
}
|
|
|
|
.dark .confetti-button {
|
|
--confetti-color: var(--vp-c-brand-dark);
|
|
--text-color: 255 255 255;
|
|
}
|
|
.confetti-button:before,
|
|
.confetti-button:after {
|
|
position: absolute;
|
|
content: "";
|
|
display: block;
|
|
width: 140%;
|
|
max-width: 160px;
|
|
height: 100%;
|
|
left: -20%;
|
|
z-index: -1000;
|
|
transition: all ease-in-out 0.5s;
|
|
background-repeat: no-repeat;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.confetti-button:before {
|
|
content: attr(data-confetti-text);
|
|
letter-spacing: 1px;
|
|
font-weight: bold;
|
|
transform: rotate(-8deg);
|
|
color: rgb(var(--text-color) / 1);
|
|
display: none;
|
|
top: -85%;
|
|
background-image: radial-gradient(circle, var(--confetti-color) 20%, transparent 20%),
|
|
radial-gradient(circle, transparent 20%, var(--confetti-color) 20%, transparent 30%),
|
|
radial-gradient(circle, var(--confetti-color) 20%, transparent 20%),
|
|
radial-gradient(circle, var(--confetti-color) 20%, transparent 20%),
|
|
radial-gradient(circle, transparent 10%, var(--confetti-color) 15%, transparent 20%),
|
|
radial-gradient(circle, var(--confetti-color) 20%, transparent 20%),
|
|
radial-gradient(circle, var(--confetti-color) 20%, transparent 20%),
|
|
radial-gradient(circle, var(--confetti-color) 20%, transparent 20%),
|
|
radial-gradient(circle, var(--confetti-color) 20%, transparent 20%);
|
|
background-size: 10% 10%, 20% 20%, 15% 15%, 20% 20%, 18% 18%, 10% 10%, 15% 15%,
|
|
10% 10%, 18% 18%;
|
|
}
|
|
|
|
.confetti-button:after {
|
|
display: none;
|
|
bottom: -75%;
|
|
background-image: radial-gradient(circle, var(--confetti-color) 20%, transparent 20%),
|
|
radial-gradient(circle, var(--confetti-color) 20%, transparent 20%),
|
|
radial-gradient(circle, transparent 10%, var(--confetti-color) 15%, transparent 20%),
|
|
radial-gradient(circle, var(--confetti-color) 20%, transparent 20%),
|
|
radial-gradient(circle, var(--confetti-color) 20%, transparent 20%),
|
|
radial-gradient(circle, var(--confetti-color) 20%, transparent 20%),
|
|
radial-gradient(circle, var(--confetti-color) 20%, transparent 20%);
|
|
background-size: 15% 15%, 20% 20%, 18% 18%, 20% 20%, 15% 15%, 10% 10%, 20% 20%;
|
|
}
|
|
|
|
.confetti-button.animate:before {
|
|
display: block;
|
|
animation: topBubbles ease-in-out 1s forwards;
|
|
}
|
|
.confetti-button.animate:after {
|
|
display: block;
|
|
animation: bottomBubbles ease-in-out 1s forwards;
|
|
}
|
|
|
|
@keyframes topBubbles {
|
|
0% {
|
|
color: rgb(var(--text-color) / 0);
|
|
background-position: 5% 90%, 10% 90%, 10% 90%, 15% 90%, 25% 90%, 25% 90%,
|
|
40% 90%, 55% 90%, 70% 90%;
|
|
}
|
|
30% {
|
|
color: rgb(var(--text-color) / 1);
|
|
}
|
|
50% {
|
|
background-position: 0% 80%, 0% 20%, 10% 40%, 20% 0%, 30% 30%, 22% 50%,
|
|
50% 50%, 65% 20%, 90% 30%;
|
|
}
|
|
100% {
|
|
background-position: 0% 70%, 0% 10%, 10% 30%, 20% -10%, 30% 20%, 22% 40%,
|
|
50% 40%, 65% 10%, 90% 20%;
|
|
background-size: 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%;
|
|
color: rgb(var(--text-color) / 0);
|
|
}
|
|
}
|
|
@keyframes bottomBubbles {
|
|
0% {
|
|
background-position: 10% -10%, 30% 10%, 55% -10%, 70% -10%, 85% -10%,
|
|
70% -10%, 70% 0%;
|
|
}
|
|
50% {
|
|
background-position: 0% 80%, 20% 80%, 45% 60%, 60% 100%, 75% 70%, 95% 60%,
|
|
105% 0%;
|
|
}
|
|
100% {
|
|
background-position: 0% 90%, 20% 90%, 45% 70%, 60% 110%, 75% 80%, 95% 70%,
|
|
110% 10%;
|
|
background-size: 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%;
|
|
}
|
|
}
|