How to use angular-material-css-vars - 2 common examples

To help you get started, we’ve selected a few angular-material-css-vars examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github senstate / platform / apps / senstate-dashboard / src / app / app.module.ts View on Github external
MatButtonModule,
    MatIconModule,
    MdePopoverModule,
    SenIconRegisterModule.register({
      svgFolder: 'assets/svg',
      icons: app_icons
    }),
    MatSliderModule,
    PrettyJsonModule,
    MatTableModule,
    CdkTableModule,
    MatFormFieldModule,
    MatInputModule,
    MatSortModule,
    MatPaginatorModule,
    MaterialCssVarsModule.forRoot({
      // all optional
      isAutoContrast: true,
      darkThemeClass: 'isDarkTheme',
      lightThemeClass: 'isLightTheme',
      isDarkTheme: true,

      //      primary: '#3f51b5',
      //     accent: '#e91e63',
      //    warn: '#f44336',

      // ...
    }),
    MatCheckboxModule,
    MatMenuModule,
    AppOverviewModule,
  ],
github johannesjo / super-productivity / src / app / app.module.ts View on Github external
// Local
    CoreModule,
    UiModule,
    CoreUiModule,
    PagesModule,
    MainHeaderModule,
    MatSidenavModule,
    ProcrastinationModule,
    TimeTrackingModule,
    ReminderModule,
    CoreUiModule,
    NoteModule,
    BookmarkModule,
    TasksModule,
    MaterialCssVarsModule.forRoot(),

    // External
    BrowserModule,
    BrowserAnimationsModule,
    HttpClientModule,
    RouterModule.forRoot(APP_ROUTES, {useHash: true}),
    // NOTE: both need to be present to use forFeature stores
    StoreModule.forRoot(reducers,
      environment.production
        ? {
          runtimeChecks: {
            strictStateImmutability: false,
            strictActionImmutability: false,
            strictStateSerializability: false,
            strictActionSerializability: false,
          },

angular-material-css-vars

Little library to use css variables for @angular/material

MIT
Latest version published 2 days ago

Package Health Score

84 / 100
Full package analysis

Popular angular-material-css-vars functions