abdelrahman
abdelrahman
KPCKevin Powell - Community
Created by abdelrahman on 4/28/2024 in #front-end
how to isolate an element from specific styles
and :is fixes " , " specify issue
11 replies
KPCKevin Powell - Community
Created by abdelrahman on 4/28/2024 in #front-end
how to isolate an element from specific styles
and :is was just easer
11 replies
KPCKevin Powell - Community
Created by abdelrahman on 4/28/2024 in #front-end
how to isolate an element from specific styles
i just was trying something for every child for these elelments
11 replies
KPCKevin Powell - Community
Created by abdelrahman on 4/28/2024 in #front-end
how to isolate an element from specific styles
i well remove it if you want
11 replies
KPCKevin Powell - Community
Created by abdelrahman on 4/28/2024 in #front-end
how to isolate an element from specific styles
line-height: 1.5;
11 replies
KPCKevin Powell - Community
Created by abdelrahman on 4/28/2024 in #front-end
how to isolate an element from specific styles
thanks but that don't save form global styles
:where(html) {
font-size: 20px;
height: 100%;
font-family: "Geist", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
-webkit-text-size-adjust: none;
-moz-text-size-adjust: none;
text-size-adjust: none;
}

:where(body) {
overflow: hidden;
line-height: 1.5;
scroll-behavior: smooth;
height: 100%;
margin: 0;
color: hsl(var(--darkest));
background-color: hsl(var(--white));
}
:where(html) {
font-size: 20px;
height: 100%;
font-family: "Geist", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
-webkit-text-size-adjust: none;
-moz-text-size-adjust: none;
text-size-adjust: none;
}

:where(body) {
overflow: hidden;
line-height: 1.5;
scroll-behavior: smooth;
height: 100%;
margin: 0;
color: hsl(var(--darkest));
background-color: hsl(var(--white));
}
11 replies
KPCKevin Powell - Community
Created by abdelrahman on 4/28/2024 in #front-end
how to isolate an element from specific styles
No description
11 replies
KPCKevin Powell - Community
Created by abdelrahman on 3/21/2024 in #front-end
how i can add type to file that doesn't not exits
the WathqnyConfigType already comes from .d.ts
35 replies
KPCKevin Powell - Community
Created by abdelrahman on 3/21/2024 in #front-end
how i can add type to file that doesn't not exits
i was trying to get a types for my component that i am using it in my site where wathqny.config because of that file doesn't not exits for the typescript lang server but for compile it works
35 replies
KPCKevin Powell - Community
Created by abdelrahman on 3/21/2024 in #front-end
how i can add type to file that doesn't not exits
import type { WathqnyConfig as WathqnyConfigType } from "wtqtypes";

// @ts-ignore
import untypedWathqnyConfig from "/wathqny.config";

const WathqnyConfig: WathqnyConfigType = untypedWathqnyConfig;
import type { WathqnyConfig as WathqnyConfigType } from "wtqtypes";

// @ts-ignore
import untypedWathqnyConfig from "/wathqny.config";

const WathqnyConfig: WathqnyConfigType = untypedWathqnyConfig;
this is the solution
35 replies
KPCKevin Powell - Community
Created by abdelrahman on 3/21/2024 in #front-end
how i can add type to file that doesn't not exits
the types is my own types
35 replies
KPCKevin Powell - Community
Created by abdelrahman on 3/21/2024 in #front-end
how i can add type to file that doesn't not exits
because the file is not there
35 replies
KPCKevin Powell - Community
Created by abdelrahman on 3/21/2024 in #front-end
how i can add type to file that doesn't not exits
No description
35 replies
KPCKevin Powell - Community
Created by abdelrahman on 3/21/2024 in #front-end
how i can add type to file that doesn't not exits
import type { WathqnyConfig as WathqnyConfigType } from "wtqtypes";
35 replies
KPCKevin Powell - Community
Created by abdelrahman on 3/21/2024 in #front-end
how i can add type to file that doesn't not exits
i want to load the type for a file that dosen't exits
35 replies
KPCKevin Powell - Community
Created by abdelrahman on 3/21/2024 in #front-end
how i can add type to file that doesn't not exits
but i have jsut type problem
35 replies
KPCKevin Powell - Community
Created by abdelrahman on 3/21/2024 in #front-end
how i can add type to file that doesn't not exits
i am using that file already
35 replies
KPCKevin Powell - Community
Created by abdelrahman on 3/21/2024 in #front-end
how i can add type to file that doesn't not exits
in js/ts
35 replies
KPCKevin Powell - Community
Created by abdelrahman on 3/21/2024 in #front-end
how i can add type to file that doesn't not exits
you don't have to add the type ex
35 replies
KPCKevin Powell - Community
Created by abdelrahman on 3/21/2024 in #front-end
how i can add type to file that doesn't not exits
file
35 replies