11/* Your Plugin CSS */
22
33body main {
4- /* @TODO dark mode? */
54 --framer-color-tint : # 000000 ;
65 --framer-color-tint-dimmed : # 666 ;
76 --framer-color-tint-dark : # 222 ;
87 --framer-color-tint-extra-dark : # 444 ;
8+ }
99
10- /* --color-framer-tint: var(--framer-color-tint, light-dark(#0099ff, #0099ff));
11- --color-framer-tint-dimmed: var(
12- --framer-color-tint-dimmed,
13- light-dark(rgba(0, 153, 255, 0.1), rgba(0, 153, 255, 0.15))
14- );
15- --color-framer-tint-dark: var(--framer-color-tint-dark, light-dark(#0088ff, #0088ff));
16- --color-framer-black-dimmed: rgba(0, 0, 0, 0.5); */
10+ body [data-framer-theme = "dark" ] main {
11+ --framer-color-tint : # ffffff ;
12+ --framer-color-tint-dimmed : # 999 ;
13+ --framer-color-tint-dark : # e3e3e3 ;
14+ --framer-color-tint-extra-dark : # c3c3c3 ;
15+ --framer-color-text-reversed : # 000 ;
1716}
1817
1918main {
@@ -46,19 +45,28 @@ main {
4645}
4746
4847.plugin-icon {
48+ position : relative;
4949 width : 30px ;
5050 height : 30px ;
51- background-color : var ( --framer-color-tint ) ;
51+ background-color : # 000 ;
5252 border-radius : 8px ;
5353 margin-bottom : 15px ;
5454}
5555
56+ .plugin-icon ::after {
57+ position : absolute;
58+ inset : 0 ;
59+ border-radius : inherit;
60+ box-shadow : inset 0 0 0 1px rgba (0 , 0 , 0 , .05 );
61+ content : "" ;
62+ pointer-events : none;
63+ }
64+
5665.command-container {
5766 width : 100% ;
5867 display : flex;
5968 flex-direction : column;
6069 align-items : center;
61-
6270 gap : 10px ;
6371}
6472
@@ -77,6 +85,10 @@ main {
7785 font-weight : 600 ;
7886}
7987
88+ [data-framer-theme = "dark" ] .command-block {
89+ background : var (--framer-color-bg-tertiary );
90+ }
91+
8092.command-block .mask {
8193 position : absolute;
8294 top : 0 ;
0 commit comments