Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
8 changes: 4 additions & 4 deletions apps/site/components/Blog/BlogPostCard/index.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@
}

.subtitle {
@apply mt-6
@apply text-brand-600
dark:text-brand-400
mt-6
mb-2
inline-block
text-xs
font-semibold
text-green-600
dark:text-green-400;
font-semibold;
}

.title {
Expand Down
8 changes: 4 additions & 4 deletions apps/site/components/Common/LinkWithArrow/index.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
}

.button {
@apply text-green-600
hover:text-green-900
dark:text-green-400
dark:hover:text-green-200;
@apply text-brand-600
hover:text-brand-900
dark:text-brand-400
dark:hover:text-brand-200;
}
16 changes: 8 additions & 8 deletions packages/ui-components/__design__/colors.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ export const Colors: StoryObj = {
<div className="flex flex-row justify-between">
<div className="flex w-full flex-col items-center justify-between gap-1">
<div className="flex flex-row gap-1">
<div className="h-20 w-20 bg-green-100" />
<div className="h-20 w-20 bg-green-200" />
<div className="h-20 w-20 bg-green-300" />
<div className="h-20 w-20 bg-green-400" />
<div className="h-20 w-20 bg-green-600" />
<div className="h-20 w-20 bg-green-700" />
<div className="h-20 w-20 bg-green-800" />
<div className="h-20 w-20 bg-green-900" />
<div className="bg-brand-100 h-20 w-20" />
<div className="bg-brand-200 h-20 w-20" />
<div className="bg-brand-300 h-20 w-20" />
<div className="bg-brand-400 h-20 w-20" />
<div className="bg-brand-600 h-20 w-20" />
<div className="bg-brand-700 h-20 w-20" />
<div className="bg-brand-800 h-20 w-20" />
<div className="bg-brand-900 h-20 w-20" />
</div>
<div className="flex flex-row gap-1">
<div className="h-20 w-20 bg-neutral-100" />
Expand Down
4 changes: 2 additions & 2 deletions packages/ui-components/src/Common/AlertBox/index.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,10 @@
}

&.success {
@apply bg-green-600;
@apply bg-brand-600;

.title {
@apply bg-green-700;
@apply bg-brand-700;
}
}

Expand Down
2 changes: 1 addition & 1 deletion packages/ui-components/src/Common/Badge/index.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
}

&.default {
@apply bg-green-600;
@apply bg-brand-600;
}

&.error {
Expand Down
14 changes: 7 additions & 7 deletions packages/ui-components/src/Common/BadgeGroup/index.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -25,20 +25,20 @@
}

&.default {
@apply border-green-200
bg-green-100
dark:border-green-700
@apply border-brand-200
bg-brand-100
dark:border-brand-700
dark:bg-neutral-900;

.icon {
@apply text-green-500
dark:text-green-300;
@apply text-brand-500
dark:text-brand-300;
}

.message,
.message a:not(:hover) {
@apply text-green-700
dark:text-green-300;
@apply text-brand-700
dark:text-brand-300;
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
}

.default {
@apply bg-green-600;
@apply bg-brand-600;
}

.error {
Expand Down
30 changes: 15 additions & 15 deletions packages/ui-components/src/Common/BaseButton/index.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -46,26 +46,26 @@
}

&.primary {
@apply rounded-sm
@apply border-brand-600
bg-brand-600
rounded-sm
border
border-green-600
bg-green-600
text-white
shadow-xs;

&:hover:not([aria-disabled='true']) {
@apply border-green-700
bg-green-700
@apply border-brand-700
bg-brand-700
text-white;
}

&:focus {
@apply border-green-700
bg-green-700;
@apply border-brand-700
bg-brand-700;
}

&[aria-disabled='true'] {
@apply bg-green-600
@apply bg-brand-600
opacity-50;
}
}
Expand Down Expand Up @@ -100,10 +100,13 @@

&.special {
@apply before:bg-gradient-glow-backdrop
border-brand-600/30
bg-brand-600/10
after:from-brand-600/0
after:via-brand-600
after:to-brand-600/0
rounded-lg
border
border-green-600/30
bg-green-600/10
text-white
shadow-xs
before:absolute
Expand All @@ -124,21 +127,18 @@
after:h-px
after:w-2/5
after:bg-linear-to-r
after:from-green-600/0
after:via-green-600
after:to-green-600/0
after:content-[''];

&[aria-disabled='true'] {
@apply opacity-50;
}

&:hover:not([aria-disabled='true']) {
@apply bg-green-600/20;
@apply bg-brand-600/20;
}

&:focus {
@apply bg-green-600/20;
@apply bg-brand-600/20;
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,15 @@
}

&[data-state='active'] {
@apply border-b-green-600
text-green-600
dark:border-b-green-400
dark:text-green-400;
@apply border-b-brand-600
text-brand-600
dark:border-b-brand-400
dark:text-brand-400;
}
}
}

.tabsSelect {
@apply md:hidden!;
@apply !
md:hidden;
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
.listItem,
.listItem:link,
.listItem:active {
@apply flex
@apply aria-current:bg-brand-600
flex
size-10
cursor-pointer
items-center
Expand All @@ -17,7 +18,6 @@
py-2.5
text-neutral-800
aria-current:cursor-default
aria-current:bg-green-600
aria-current:text-white
motion-safe:transition-colors
dark:text-neutral-200;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
@reference "../../styles/index.css";

.wrapper {
@apply flex
@apply border-brand-600
dark:border-brand-400
flex
max-w-2xl
flex-col
items-start
gap-4
self-stretch
border-l-2
border-green-600
py-2
pl-5
text-lg
font-semibold
text-neutral-900
dark:border-green-400
dark:text-white;

& cite {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
truncate;

&.active {
@apply rounded
bg-green-800
@apply bg-brand-800
rounded
px-2
py-1
font-semibold
Expand All @@ -15,7 +15,7 @@
dark:text-white;

&:hover {
@apply bg-green-700
@apply bg-brand-700
text-white;
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@

&:hover,
&:focus-visible {
@apply bg-green-600
@apply bg-brand-600
text-white;
}
}
Expand Down
4 changes: 2 additions & 2 deletions packages/ui-components/src/Common/CodeTabs/index.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
text-neutral-200;

&[data-state='active'] {
@apply border-b-green-400
text-green-400;
@apply border-b-brand-400
text-brand-400;
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
}

&.property {
@apply bg-green-600;
@apply bg-brand-600;
}

&.class {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
@reference "../../styles/index.css";

.glowingBackdrop {
@apply absolute
@apply after:bg-brand-300
dark:after:bg-brand-700
absolute
top-0
left-0
-z-10
Expand All @@ -13,11 +15,9 @@
after:aspect-square
after:w-[300px]
after:rounded-full
after:bg-green-300
after:blur-[120px]
after:content-['']
md:opacity-100
dark:after:bg-green-700;
md:opacity-100;

svg {
@apply absolute
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,19 +35,19 @@
}

.dropDownItem {
@apply cursor-pointer
@apply data-[highlighted]:bg-brand-600
cursor-pointer
px-2.5
py-1.5
text-sm
font-medium
text-neutral-800
outline-hidden
data-[highlighted]:bg-green-600
data-[highlighted]:text-white
dark:text-white;
}

.currentDropDown {
@apply bg-green-600
@apply bg-brand-600
text-white;
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
after:content-[''];

&.announcements {
@apply after:from-green-700/90;
@apply after:from-brand-700/90;
}

&.release {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
@reference "../../../../styles/index.css";

.link {
@apply flex
@apply focus-visible:border-brand-600
flex
items-center
gap-4
rounded-xl
Expand All @@ -15,7 +16,6 @@
outline-none
hover:bg-neutral-200
focus:bg-neutral-200
focus-visible:border-green-600
focus-visible:bg-transparent
motion-safe:transition-colors
dark:bg-zinc-950
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@
}

.facetTabItemSelected {
@apply border-2
border-green-600
dark:border-green-400;
@apply border-brand-600
dark:border-brand-400
border-2;
}

.facetTabsList {
Expand Down
Loading
Loading