mirror of
https://github.com/DavidHDev/vue-bits.git
synced 2026-03-07 14:39:30 -07:00
Color updates - remove purple colors
This commit is contained in:
@@ -16,7 +16,7 @@ export const cubes: CodeObject = {
|
|||||||
easing="power3.out"
|
easing="power3.out"
|
||||||
:duration="{ enter: 0.3, leave: 0.6 }"
|
:duration="{ enter: 0.3, leave: 0.6 }"
|
||||||
border-style="1px solid #fff"
|
border-style="1px solid #fff"
|
||||||
face-color="#060010"
|
face-color="#0b0b0b"
|
||||||
:shadow="false"
|
:shadow="false"
|
||||||
:auto-animate="true"
|
:auto-animate="true"
|
||||||
:ripple-on-click="true"
|
:ripple-on-click="true"
|
||||||
|
|||||||
@@ -7,8 +7,8 @@ export const glareHover: CodeObject = {
|
|||||||
<GlareHover
|
<GlareHover
|
||||||
width="400px"
|
width="400px"
|
||||||
height="300px"
|
height="300px"
|
||||||
background="#060010"
|
background="#0b0b0b"
|
||||||
border-color="#271E37"
|
border-color="#222222"
|
||||||
border-radius="20px"
|
border-radius="20px"
|
||||||
glare-color="#ffffff"
|
glare-color="#ffffff"
|
||||||
:glare-opacity="0.3"
|
:glare-opacity="0.3"
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ import Magnet from '@/content/Animations/Magnet/Magnet.vue'
|
|||||||
<style scoped>
|
<style scoped>
|
||||||
.magnet-element {
|
.magnet-element {
|
||||||
padding: 2rem;
|
padding: 2rem;
|
||||||
background: #060010;
|
background: #0b0b0b;
|
||||||
border: 1px solid #333;
|
border: 1px solid #333;
|
||||||
border-radius: 12px;
|
border-radius: 12px;
|
||||||
color: white;
|
color: white;
|
||||||
|
|||||||
@@ -46,7 +46,7 @@
|
|||||||
:transition="effectiveTransition"
|
:transition="effectiveTransition"
|
||||||
>
|
>
|
||||||
<div :class="round ? 'p-0 m-0' : 'mb-4 p-5'">
|
<div :class="round ? 'p-0 m-0' : 'mb-4 p-5'">
|
||||||
<span class="flex h-[28px] w-[28px] items-center justify-center rounded-full bg-[#060010]">
|
<span class="flex h-[28px] w-[28px] items-center justify-center rounded-full bg-[#0b0b0b]">
|
||||||
<i :class="item.icon" class="text-white text-base"></i>
|
<i :class="item.icon" class="text-white text-base"></i>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
:ref="el => setItemRef(el as HTMLDivElement, idx)"
|
:ref="el => setItemRef(el as HTMLDivElement, idx)"
|
||||||
>
|
>
|
||||||
<a
|
<a
|
||||||
class="flex items-center justify-center h-full relative cursor-pointer uppercase no-underline font-semibold text-white text-[4vh] hover:text-[#060010] focus:text-white focus-visible:text-[#060010]"
|
class="flex items-center justify-center h-full relative cursor-pointer uppercase no-underline font-semibold text-white text-[4vh] hover:text-[#0b0b0b] focus:text-white focus-visible:text-[#0b0b0b]"
|
||||||
:href="item.link"
|
:href="item.link"
|
||||||
@mouseenter="ev => handleMouseEnter(ev, idx)"
|
@mouseenter="ev => handleMouseEnter(ev, idx)"
|
||||||
@mouseleave="ev => handleMouseLeave(ev, idx)"
|
@mouseleave="ev => handleMouseLeave(ev, idx)"
|
||||||
@@ -23,7 +23,7 @@
|
|||||||
<div class="h-full w-[200%] flex" :ref="el => (marqueeInnerRefs[idx] = el as HTMLDivElement)">
|
<div class="h-full w-[200%] flex" :ref="el => (marqueeInnerRefs[idx] = el as HTMLDivElement)">
|
||||||
<div class="flex items-center relative h-full w-[200%] will-change-transform animate-marquee">
|
<div class="flex items-center relative h-full w-[200%] will-change-transform animate-marquee">
|
||||||
<template v-for="i in 4" :key="`${idx}-${i}`">
|
<template v-for="i in 4" :key="`${idx}-${i}`">
|
||||||
<span class="text-[#060010] uppercase font-normal text-[4vh] leading-[1.2] p-[1vh_1vw_0]">
|
<span class="text-[#0b0b0b] uppercase font-normal text-[4vh] leading-[1.2] p-[1vh_1vw_0]">
|
||||||
{{ item.text }}
|
{{ item.text }}
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
|
|||||||
@@ -241,7 +241,7 @@ watch(
|
|||||||
.infinite-scroll-wrapper::after {
|
.infinite-scroll-wrapper::after {
|
||||||
content: '';
|
content: '';
|
||||||
position: absolute;
|
position: absolute;
|
||||||
background: linear-gradient(var(--dir, to bottom), #060010, transparent);
|
background: linear-gradient(var(--dir, to bottom), #0b0b0b, transparent);
|
||||||
height: 25%;
|
height: 25%;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
|
|||||||
@@ -53,7 +53,7 @@ const baseClasses = [
|
|||||||
'before:absolute',
|
'before:absolute',
|
||||||
'before:top-0',
|
'before:top-0',
|
||||||
'before:text-white',
|
'before:text-white',
|
||||||
'before:bg-[#060010]',
|
'before:bg-[#0b0b0b]',
|
||||||
'before:overflow-hidden',
|
'before:overflow-hidden',
|
||||||
'before:[clip-path:inset(0_0_0_0)]',
|
'before:[clip-path:inset(0_0_0_0)]',
|
||||||
|
|
||||||
@@ -61,7 +61,7 @@ const baseClasses = [
|
|||||||
'after:absolute',
|
'after:absolute',
|
||||||
'after:top-0',
|
'after:top-0',
|
||||||
'after:text-white',
|
'after:text-white',
|
||||||
'after:bg-[#060010]',
|
'after:bg-[#0b0b0b]',
|
||||||
'after:overflow-hidden',
|
'after:overflow-hidden',
|
||||||
'after:[clip-path:inset(0_0_0_0)]'
|
'after:[clip-path:inset(0_0_0_0)]'
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -121,7 +121,7 @@ const propData = [
|
|||||||
{
|
{
|
||||||
name: 'faceColor',
|
name: 'faceColor',
|
||||||
type: 'string',
|
type: 'string',
|
||||||
default: "'#060010'",
|
default: "'#0b0b0b'",
|
||||||
description: 'Background color for cube faces'
|
description: 'Background color for cube faces'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
<template #preview>
|
<template #preview>
|
||||||
<div class="relative p-0 h-[500px] overflow-hidden demo-container">
|
<div class="relative p-0 h-[500px] overflow-hidden demo-container">
|
||||||
<RefreshButton @click="forceRerender" />
|
<RefreshButton @click="forceRerender" />
|
||||||
<p class="z-0 absolute font-black text-[#271e37] text-[200px]">Balls.</p>
|
<p class="z-0 absolute font-black text-[#222] text-[140px]">Balls.</p>
|
||||||
<Ballpit
|
<Ballpit
|
||||||
className="relative"
|
className="relative"
|
||||||
:key="key"
|
:key="key"
|
||||||
|
|||||||
@@ -46,7 +46,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div
|
<div
|
||||||
class="w-[300px] h-3 rounded-md border border-[#271E37]"
|
class="w-[300px] h-3 rounded-md border border-[#333333]"
|
||||||
:style="{
|
:style="{
|
||||||
background: `linear-gradient(to right, ${gradientPreview.join(', ')})`
|
background: `linear-gradient(to right, ${gradientPreview.join(', ')})`
|
||||||
}"
|
}"
|
||||||
|
|||||||
@@ -126,7 +126,7 @@ const propData = [
|
|||||||
{
|
{
|
||||||
name: 'backgroundColor',
|
name: 'backgroundColor',
|
||||||
type: 'number | string',
|
type: 'number | string',
|
||||||
default: '0x271e37',
|
default: '0x151515',
|
||||||
description: 'Background color (hex number or string)'
|
description: 'Background color (hex number or string)'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user