Skip to content

Commit

Permalink
Add missing shared styles
Browse files Browse the repository at this point in the history
  • Loading branch information
c12i committed Oct 31, 2024
1 parent 5fc09c3 commit a29b3d5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import { decode } from '@msgpack/msgpack';
{{/each}}
{{/uniq_lines}}

import { sharedStyles } from '../../shared-styles';
import { clientContext } from '../../contexts';
import { {{pascal_case entry_type.name}}{{#each entry_type.fields}}{{#if (eq field_type.type "Enum")}}, {{field_type.label}}{{/if}}{{/each}} } from './types';

Expand Down Expand Up @@ -154,4 +155,6 @@ export class Edit{{pascal_case entry_type.name}} extends LitElement {
</section>
`;
}

static styles = sharedStyles;
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import { decode } from '@msgpack/msgpack';
import './edit-{{kebab_case entry_type.name}}';
{{/if}}

import { sharedStyles } from '../../shared-styles';
import { clientContext } from '../../contexts';
import { {{pascal_case entry_type.name}}{{#each entry_type.fields}}{{#if (eq field_type.type "Enum")}}, {{field_type.label}}{{/if}}{{/each}} } from './types';

Expand Down Expand Up @@ -131,4 +132,6 @@ export class {{pascal_case entry_type.name}}Detail extends LitElement {
error: (e: any) => html`<div class="alert">Error fetching the {{lower_case entry_type.name}}: ${e.message}</div>`
});
}

static styles = sharedStyles;
}

0 comments on commit a29b3d5

Please sign in to comment.