Comments (7)
Which CSS do you mean?
If you want to do this in your app, you can target that specific element with something like:
<style>
fluent-text-field::part(control) {
...your styles here...
}
</style>
from fluentui-blazor.
We don't include it directly in the library. We have the core assets project that Imports the script into our build output.
Easiest way to take a look at it would be to go to https://www.npmjs.com/package/@fluentui/web-components/v/2.6.1?activeTab=code and ten find the dist/web-components.js file. Or you go to the microsoft/fluentui repo and then packages/web-components where you can find the individual TypeScript files the web components library is built from
from fluentui-blazor.
That should have no consequenses. That is the beauty of using the Shadow DOM. You are only targeting the elements inside that specific DOM.
from fluentui-blazor.
@vnbaaij alright. It would be cool to add it to the CSS. I would do it myself but I cannot find the file for this in this repository. The inherit for font-weight is needed here:
from fluentui-blazor.
@vnbaaij I mean the part where this .control
class is defined. Your script seems to work for me but I'm still wondering where the CSS is defined in this repository. I mean .control
has to be defined somewhere with this CSS rules but where? I'm also wondering were the Shadow DOM will be generated
from fluentui-blazor.
That is all done in/from the web components script
from fluentui-blazor.
can you link it?
from fluentui-blazor.
Related Issues (20)
- fix: Rows render multiple times when DataGrid has changes (performance issue) HOT 2
- fix: Column separator can get hidden when resizing columns in DataGrid HOT 4
- fix: OnRowFocus in FluentDataGrid not triggered HOT 1
- Select not working with CultureInfo en-GB on .NET MAUI blazor hybrid HOT 2
- Wizard in Dialog not editable HOT 1
- Export options for data grid HOT 2
- docs: missing clear instructions/example on how to set design tokens application wide HOT 1
- fix: SelectedOptionChanged called twice in FluentCombobox HOT 2
- feat: add possibility to change field's cursor icon when ReadOnly/Not Editable HOT 1
- Autocomplete with virtualisation shows just a blank list no items are shown in firefox, works fine in chrome and edge browser. HOT 1
- fix: `FluentInputFile` cannot accept dragged files when nested inside a `FluentDropZone` HOT 5
- fix: Icon in default slot will not render correctly in FluentButton.razor if component is wrapped inside another HOT 1
- Add missing values to FluentStack/HorizontalAlignment property type HOT 3
- FluentTree - CurrentSelected does not change if you have an element in the FluentTreeItem HOT 2
- fix: Updating EditContext state in FluentSelect HOT 2
- fix: FluentDataGrid stays in loading state after adding items to the collection HOT 1
- fix: FluentEditForm fields are non editable when wrapped in FluentTab and using version 4.7.2 HOT 5
- feat: add ability to turn off SelectAll button in SelectColumn Multiple mode HOT 2
- fix: initial ActiveIndicator in FluentTabs HOT 2
- fix: Double click needed for expanding/collapsing child elements in FluentNavGroup when prerendering is turned off HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fluentui-blazor.