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
41 changes: 7 additions & 34 deletions plugins/ascii/src/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,8 @@ body[data-framer-theme="light"] {
}

body[data-framer-theme="dark"] {
--slider-track-left-color: var(--framer-color-tint);
--slider-track-right-color: #444;
}

body[data-framer-styles="prerelease"][data-framer-theme="dark"] {
--slider-track-left-color: #707070;
--slider-track-right-color: #444;
}

.canvas-container {
Expand Down Expand Up @@ -153,7 +149,7 @@ body[data-framer-theme="dark"] .gui-row .gui-label {
min-height: 30px;
border-radius: 8px;
border: transparent;
background-color: var(--framer-color-bg-tertiary);
background-color: var(--framer-color-control);
display: flex;
align-items: center;
display: flex;
Expand Down Expand Up @@ -212,10 +208,6 @@ body[data-framer-theme="dark"] .gui-row .gui-label {
}
}

:where([data-framer-styles="prerelease"])[data-framer-theme="dark"] .color-input {
background-color: var(--framer-color-control);
}

body[data-framer-theme="light"] .color-input {
input[type="color"]::after {
box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
Expand Down Expand Up @@ -277,7 +269,7 @@ input[type="range"]::-webkit-slider-runnable-track {
var(--slider-track-right-color) var(--progress)
);
border-radius: 2px;
height: 2px;
height: 3px;
will-change: transform;
}

Expand All @@ -290,10 +282,10 @@ input[type="range"]::-webkit-slider-thumb {
0px 1px 3px 0px rgba(0, 0, 0, 0.2),
0px 0.5px 0px 0px rgba(0, 0, 0, 0.1) !important;
cursor: pointer;
height: 10px;
margin-top: -4px;
height: 12px;
width: 12px;
margin-top: -4.5px;
opacity: 1;
width: 10px;
will-change: transform;
}

Expand All @@ -305,7 +297,7 @@ input[type="range"]::-moz-range-track {
var(--slider-track-right-color) var(--progress)
);
border-radius: 2px;
height: 2px;
height: 3px;
border: none;
}

Expand All @@ -317,25 +309,6 @@ input[type="range"]::-moz-range-thumb {
0px 1px 3px 0px rgba(0, 0, 0, 0.2),
0px 0.5px 0px 0px rgba(0, 0, 0, 0.1) !important;
cursor: pointer;
height: 10px;
width: 10px;
}

[data-framer-styles="prerelease"] input[type="range"]::-webkit-slider-runnable-track {
height: 3px;
}

[data-framer-styles="prerelease"] input[type="range"]::-webkit-slider-thumb {
height: 12px;
width: 12px;
margin-top: -4.5px;
}

[data-framer-styles="prerelease"] input[type="range"]::-moz-range-track {
height: 3px;
}

[data-framer-styles="prerelease"] input[type="range"]::-moz-range-thumb {
height: 12px;
width: 12px;
}
Expand Down
6 changes: 1 addition & 5 deletions plugins/csv-import/src/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,12 @@ body {
align-items: center;
text-align: left;
height: 100%;
gap: 15px;
gap: 10px;
padding-left: 15px;
padding-right: 15px;
padding-bottom: 15px;
}

[data-framer-styles="prerelease"] .import-collection {
gap: 10px;
}

.select-csv-file {
display: flex;
flex-direction: column;
Expand Down
29 changes: 1 addition & 28 deletions plugins/csv-import/src/components/CollectionIcon.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
import { useMemo } from "react"

export function CollectionIcon() {
const isPrerelease = useMemo(() => document.body.getAttribute("data-framer-styles") === "prerelease", [])

return isPrerelease ? (
return (
<svg
role="presentation"
xmlns="http://www.w3.org/2000/svg"
Expand All @@ -27,28 +23,5 @@ export function CollectionIcon() {
d="M10.25 3.25c0 1.105-1.903 2-4.25 2s-4.25-.895-4.25-2M10.25 6c0 1.105-1.903 2-4.25 2s-4.25-.895-4.25-2"
/>
</svg>
) : (
<svg
xmlns="http://www.w3.org/2000/svg"
width={12}
height={12}
viewBox="0 0 12 12"
fill="none"
role="presentation"
aria-hidden="true"
>
<path
d="M 6 0.5 C 8.761 0.5 11 1.619 11 3 C 11 4.381 8.761 5.5 6 5.5 C 3.239 5.5 1 4.381 1 3 C 1 1.619 3.239 0.5 6 0.5 Z"
fill="currentColor"
/>
<path
d="M 11 6 C 11 7.381 8.761 8.5 6 8.5 C 3.239 8.5 1 7.381 1 6 C 1 5.711 1.098 5.433 1.278 5.175 C 2.377 5.991 4.084 6.515 6 6.515 C 7.916 6.515 9.623 5.991 10.722 5.175 C 10.902 5.433 11 5.711 11 6 Z"
fill="currentColor"
/>
<path
d="M 11 9 C 11 10.381 8.761 11.5 6 11.5 C 3.239 11.5 1 10.381 1 9 C 1 8.711 1.098 8.433 1.278 8.175 C 2.377 8.991 4.084 9.515 6 9.515 C 7.916 9.515 9.623 8.991 10.722 8.175 C 10.902 8.433 11 8.711 11 9 Z"
fill="currentColor"
/>
</svg>
)
}
41 changes: 7 additions & 34 deletions plugins/dither/src/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,8 @@ body[data-framer-theme="light"] {
}

body[data-framer-theme="dark"] {
--slider-track-left-color: var(--framer-color-tint);
--slider-track-right-color: #444;
}

body[data-framer-styles="prerelease"][data-framer-theme="dark"] {
--slider-track-left-color: #707070;
--slider-track-right-color: #444;
}

.canvas-container {
Expand Down Expand Up @@ -133,7 +129,7 @@ body[data-framer-theme="dark"] .gui-row .gui-label {
min-height: 30px;
border-radius: 8px;
border: transparent;
background-color: var(--framer-color-bg-tertiary);
background-color: var(--framer-color-control);
display: flex;
align-items: center;
display: flex;
Expand Down Expand Up @@ -191,10 +187,6 @@ body[data-framer-theme="dark"] .gui-row .gui-label {
}
}

:where([data-framer-styles="prerelease"])[data-framer-theme="dark"] .color-input {
background-color: var(--framer-color-control);
}

body[data-framer-theme="light"] .color-input {
input[type="color"]::after {
border: 1px solid rgba(0, 0, 0, 0.15);
Expand Down Expand Up @@ -270,7 +262,7 @@ input[type="range"]::-webkit-slider-runnable-track {
var(--slider-track-right-color) var(--progress)
);
border-radius: 2px;
height: 2px;
height: 3px;
will-change: transform;
}

Expand All @@ -283,10 +275,10 @@ input[type="range"]::-webkit-slider-thumb {
0px 1px 3px 0px rgba(0, 0, 0, 0.2),
0px 0.5px 0px 0px rgba(0, 0, 0, 0.1) !important;
cursor: pointer;
height: 10px;
margin-top: -4px;
height: 12px;
width: 12px;
margin-top: -4.5px;
opacity: 1;
width: 10px;
will-change: transform;
}

Expand All @@ -298,7 +290,7 @@ input[type="range"]::-moz-range-track {
var(--slider-track-right-color) var(--progress)
);
border-radius: 2px;
height: 2px;
height: 3px;
border: none;
}

Expand All @@ -310,25 +302,6 @@ input[type="range"]::-moz-range-thumb {
0px 1px 3px 0px rgba(0, 0, 0, 0.2),
0px 0.5px 0px 0px rgba(0, 0, 0, 0.1) !important;
cursor: pointer;
height: 10px;
width: 10px;
}

[data-framer-styles="prerelease"] input[type="range"]::-webkit-slider-runnable-track {
height: 3px;
}

[data-framer-styles="prerelease"] input[type="range"]::-webkit-slider-thumb {
height: 12px;
width: 12px;
margin-top: -4.5px;
}

[data-framer-styles="prerelease"] input[type="range"]::-moz-range-track {
height: 3px;
}

[data-framer-styles="prerelease"] input[type="range"]::-moz-range-thumb {
height: 12px;
width: 12px;
}
Expand Down
30 changes: 2 additions & 28 deletions plugins/global-search/src/components/ui/IconCollection.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
import { type SVGProps, useMemo } from "react"
import { type SVGProps } from "react"

export function IconCollection(props: SVGProps<SVGSVGElement>) {
const isPrerelease = useMemo(() => document.body.getAttribute("data-framer-styles") === "prerelease", [])

return isPrerelease ? (
return (
<svg
xmlns="http://www.w3.org/2000/svg"
width="12"
Expand All @@ -27,29 +25,5 @@ export function IconCollection(props: SVGProps<SVGSVGElement>) {
d="M10.25 3.25c0 1.105-1.903 2-4.25 2s-4.25-.895-4.25-2M10.25 6c0 1.105-1.903 2-4.25 2s-4.25-.895-4.25-2"
/>
</svg>
) : (
<svg
xmlns="http://www.w3.org/2000/svg"
width={12}
height={12}
viewBox="0 0 12 12"
fill="none"
role="presentation"
aria-hidden="true"
{...props}
>
<path
d="M 6 0.5 C 8.761 0.5 11 1.619 11 3 C 11 4.381 8.761 5.5 6 5.5 C 3.239 5.5 1 4.381 1 3 C 1 1.619 3.239 0.5 6 0.5 Z"
fill="currentColor"
/>
<path
d="M 11 6 C 11 7.381 8.761 8.5 6 8.5 C 3.239 8.5 1 7.381 1 6 C 1 5.711 1.098 5.433 1.278 5.175 C 2.377 5.991 4.084 6.515 6 6.515 C 7.916 6.515 9.623 5.991 10.722 5.175 C 10.902 5.433 11 5.711 11 6 Z"
fill="currentColor"
/>
<path
d="M 11 9 C 11 10.381 8.761 11.5 6 11.5 C 3.239 11.5 1 10.381 1 9 C 1 8.711 1.098 8.433 1.278 8.175 C 2.377 8.991 4.084 9.515 6 9.515 C 7.916 9.515 9.623 8.991 10.722 8.175 C 10.902 8.433 11 8.711 11 9 Z"
fill="currentColor"
/>
</svg>
)
}
13 changes: 2 additions & 11 deletions plugins/global-search/src/components/ui/IconComponent.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
import { type SVGProps, useMemo } from "react"
import { type SVGProps } from "react"

export function IconComponent(props: SVGProps<SVGSVGElement>) {
const isPrerelease = useMemo(() => document.body.getAttribute("data-framer-styles") === "prerelease", [])

return isPrerelease ? (
return (
<svg
xmlns="http://www.w3.org/2000/svg"
width="12"
Expand All @@ -23,12 +21,5 @@ export function IconComponent(props: SVGProps<SVGSVGElement>) {
/>
<path fill="none" stroke="currentColor" d="m3 3 6 6M9 3 3 9" />
</svg>
) : (
<svg xmlns="http://www.w3.org/2000/svg" width={11} height={11} fill="none" {...props}>
<path
fill="currentColor"
d="M4.4.6C5 0 6 0 6.6.6L8.2 2 5.5 4.8 2.8 2zM2.1 8.2L.6 6.6C0 6 0 5 .6 4.4L2 2.8l2.7 2.7zm8.3-3.8c.6.6.6 1.6 0 2.2L9 8.2 6.2 5.5 9 2.8zm-3.8 6c-.6.6-1.6.6-2.2 0L2.8 9l2.7-2.7L8.2 9z"
/>
</svg>
)
}
13 changes: 2 additions & 11 deletions plugins/global-search/src/components/ui/IconWebPage.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
import { type SVGProps, useMemo } from "react"
import { type SVGProps } from "react"

export function IconWebPage(props: SVGProps<SVGSVGElement>) {
const isPrerelease = useMemo(() => document.body.getAttribute("data-framer-styles") === "prerelease", [])

return isPrerelease ? (
return (
<svg
xmlns="http://www.w3.org/2000/svg"
width="12"
Expand All @@ -28,12 +26,5 @@ export function IconWebPage(props: SVGProps<SVGSVGElement>) {
strokeWidth="1.5"
/>
</svg>
) : (
<svg xmlns="http://www.w3.org/2000/svg" width={10} height={12} fill="none" overflow="visible" {...props}>
<path
fill="currentColor"
d="M0 2.5C0 1.1 1.1 0 2.5 0H4c.6 0 1 .4 1 1v2c0 1.1.9 2 2 2h2c.6 0 1 .4 1 1v3.5c0 1.4-1.1 2.5-2.5 2.5h-5A2.5 2.5 0 010 9.5zm6.4-2a.3.3 0 00-.4.1V3c0 .6.4 1 1 1h2.4c.2 0 .3-.3.2-.4z"
/>
</svg>
)
}
Loading
Loading