Skip to content

Commit

Permalink
fix: align with selection
Browse files Browse the repository at this point in the history
  • Loading branch information
MellowCo committed May 17, 2024
1 parent cb3fa71 commit 549d902
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/variants/pseudo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ const PseudoClasses: Record<string, string> = Object.fromEntries([
['placeholder', '::placeholder'],
['before', '::before'],
['after', '::after'],
['selection', '::selection'],
['selection', ' ::selection'],
['marker', ' ::marker'],
['file', '::file-selector-button'],
].map(key => Array.isArray(key) ? key : [key, `:${key}`]))
Expand Down
2 changes: 1 addition & 1 deletion test/assets/output/preset-mini/targets.css
Original file line number Diff line number Diff line change
Expand Up @@ -590,7 +590,7 @@ unocss .scope-\[unocss\]\:block{display:block;}
.out-of-range\:color-pink-100:out-of-range{--licl-text-opacity:1;color:rgb(252 231 243 / var(--licl-text-opacity));}
.placeholder-color-red-1::placeholder{--licl-text-opacity:1;color:rgb(254 226 226 / var(--licl-text-opacity));}
.placeholder\:color-transparent::placeholder{color:transparent;}
.selection\:color-\[var\(--select-color\)\]::selection{color:var(--select-color);}
.selection\:color-\[var\(--select-color\)\] ::selection{color:var(--select-color);}
.text-opacity-\[13\.3333333\%\]{--licl-text-opacity:13.3333333%;}
.text-opacity-\$opacity-variable{--licl-text-opacity:var(--opacity-variable);}
.placeholder-color-opacity-60::placeholder{--licl-text-opacity:0.6;}
Expand Down
2 changes: 1 addition & 1 deletion test/assets/output/preset-weapp/targets-custom-rules.css
Original file line number Diff line number Diff line change
Expand Up @@ -591,7 +591,7 @@ unocss .scope-_lfl11_unocss_lfr11__cl11_block{display:block;}
.out-of-range_cl11_color-pink-100:out-of-range{--un-text-opacity:1;color:rgb(252 231 243 / var(--un-text-opacity));}
.placeholder_cl11_color-transparent::placeholder{color:transparent;}
.placeholder-color-red-1::placeholder{--un-text-opacity:1;color:rgb(254 226 226 / var(--un-text-opacity));}
.selection_cl11_color-_lfl11_var_lbl11_--select-color_lbr11__lfr11_::selection{color:var(--select-color);}
.selection_cl11_color-_lfl11_var_lbl11_--select-color_lbr11__lfr11_ ::selection{color:var(--select-color);}
.text-opacity-_do11_opacity-variable{--un-text-opacity:var(--opacity-variable);}
.text-opacity-_lfl11_13_dl11_3333333_pes11__lfr11_{--un-text-opacity:13.3333333%;}
.placeholder-color-opacity-60::placeholder{--un-text-opacity:0.6;}
Expand Down
2 changes: 1 addition & 1 deletion test/assets/output/preset-weapp/targets.css
Original file line number Diff line number Diff line change
Expand Up @@ -593,7 +593,7 @@ unocss .scope-_lfl_unocss_lfr__cl_block{display:block;}
.out-of-range_cl_color-pink-100:out-of-range{--un-text-opacity:1;color:rgb(252 231 243 / var(--un-text-opacity));}
.placeholder_cl_color-transparent::placeholder{color:transparent;}
.placeholder-color-red-1::placeholder{--un-text-opacity:1;color:rgb(254 226 226 / var(--un-text-opacity));}
.selection_cl_color-_lfl_var_lbl_--select-color_lbr__lfr_::selection{color:var(--select-color);}
.selection_cl_color-_lfl_var_lbl_--select-color_lbr__lfr_ ::selection{color:var(--select-color);}
.text-opacity-_do_opacity-variable{--un-text-opacity:var(--opacity-variable);}
.text-opacity-_lfl_13_dl_3333333_pes__lfr_{--un-text-opacity:13.3333333%;}
.placeholder-color-opacity-60::placeholder{--un-text-opacity:0.6;}
Expand Down

0 comments on commit 549d902

Please sign in to comment.