styled_yew/
css_rule.rs

1// TODO: use a proc macro to validate and minify a string?
2#[rustfmt::skip]
3#[macro_export]
4macro_rules! css_rule {
5	(align_content) => {"align-content"};
6	(align_items) => {"align-items"};
7	(align_self) => {"align-self"};
8	(all) => {"all"};
9	(animation) => {"animation"};
10	(animation_delay) => {"animation-delay"};
11	(animation_direction) => {"animation-direction"};
12	(animation_duration) => {"animation-duration"};
13	(animation_fill_mode) => {"animation-fill-mode"};
14	(animation_iteration_count) => {"animation-iteration-count"};
15	(animation_name) => {"animation-name"};
16	(animation_play_state) => {"animation-play-state"};
17	(animation_timing_function) => {"animation-timing-function"};
18	(backface_visibility) => {"backface-visibility"};
19	(background) => {"background"};
20	(background_attachment) => {"background-attachment"};
21	(background_blend_mode) => {"background-blend-mode"};
22	(background_clip) => {"background-clip"};
23	(background_color) => {"background-color"};
24	(background_image) => {"background-image"};
25	(background_origin) => {"background-origin"};
26	(background_position) => {"background-position"};
27	(background_repeat) => {"background-repeat"};
28	(background_size) => {"background-size"};
29	(border) => {"border"};
30	(border_bottom) => {"border-bottom"};
31	(border_bottom_color) => {"border-bottom-color"};
32	(border_bottom_left_radius) => {"border-bottom-left-radius"};
33	(border_bottom_right_radius) => {"border-bottom-right-radius"};
34	(border_bottom_style) => {"border-bottom-style"};
35	(border_bottom_width) => {"border-bottom-width"};
36	(border_collapse) => {"border-collapse"};
37	(border_color) => {"border-color"};
38	(border_image) => {"border-image"};
39	(border_image_outset) => {"border-image-outset"};
40	(border_image_repeat) => {"border-image-repeat"};
41	(border_image_slice) => {"border-image-slice"};
42	(border_image_source) => {"border-image-source"};
43	(border_image_width) => {"border-image-width"};
44	(border_left) => {"border-left"};
45	(border_left_color) => {"border-left-color"};
46	(border_left_style) => {"border-left-style"};
47	(border_left_width) => {"border-left-width"};
48	(border_radius) => {"border-radius"};
49	(border_right) => {"border-right"};
50	(border_right_color) => {"border-right-color"};
51	(border_right_style) => {"border-right-style"};
52	(border_right_width) => {"border-right-width"};
53	(border_spacing) => {"border-spacing"};
54	(border_style) => {"border-style"};
55	(border_top) => {"border-top"};
56	(border_top_color) => {"border-top-color"};
57	(border_top_left_radius) => {"border-top-left-radius"};
58	(border_top_right_radius) => {"border-top-right-radius"};
59	(border_top_style) => {"border-top-style"};
60	(border_top_width) => {"border-top-width"};
61	(border_width) => {"border-width"};
62	(bottom) => {"bottom"};
63	(box_decoration_break) => {"box-decoration-break"};
64	(box_shadow) => {"box-shadow"};
65	(box_sizing) => {"box-sizing"};
66	(break_after) => {"break-after"};
67	(break_before) => {"break-before"};
68	(break_inside) => {"break-inside"};
69	(caption_side) => {"caption-side"};
70	(caret_color) => {"caret-color"};
71	(clear) => {"clear"};
72	(clip) => {"clip"};
73	(color) => {"color"};
74	(column_count) => {"column-count"};
75	(column_fill) => {"column-fill"};
76	(column_gap) => {"column-gap"};
77	(column_rule) => {"column-rule"};
78	(column_rule_color) => {"column-rule-color"};
79	(column_rule_style) => {"column-rule-style"};
80	(column_rule_width) => {"column-rule-width"};
81	(column_span) => {"column-span"};
82	(column_width) => {"column-width"};
83	(columns) => {"columns"};
84	(content) => {"content"};
85	(counter_increment) => {"counter-increment"};
86	(counter_reset) => {"counter-reset"};
87	(cursor) => {"cursor"};
88	(direction) => {"direction"};
89	(display) => {"display"};
90	(empty_cells) => {"empty-cells"};
91	(filter) => {"filter"};
92	(flex) => {"flex"};
93	(flex_basis) => {"flex-basis"};
94	(flex_direction) => {"flex-direction"};
95	(flex_flow) => {"flex-flow"};
96	(flex_grow) => {"flex-grow"};
97	(flex_shrink) => {"flex-shrink"};
98	(flex_wrap) => {"flex-wrap"};
99	(float) => {"float"};
100	(font) => {"font"};
101	(font_family) => {"font-family"};
102	(font_feature_settings) => {"font-feature-settings"};
103	(font_kerning) => {"font-kerning"};
104	(font_language_override) => {"font-language-override"};
105	(font_size) => {"font-size"};
106	(font_size_adjust) => {"font-size-adjust"};
107	(font_stretch) => {"font-stretch"};
108	(font_style) => {"font-style"};
109	(font_synthesis) => {"font-synthesis"};
110	(font_variant) => {"font-variant"};
111	(font_variant_alternates) => {"font-variant-alternates"};
112	(font_variant_caps) => {"font-variant-caps"};
113	(font_variant_east_asian) => {"font-variant-east-asian"};
114	(font_variant_ligatures) => {"font-variant-ligatures"};
115	(font_variant_numeric) => {"font-variant-numeric"};
116	(font_variant_position) => {"font-variant-position"};
117	(font_weight) => {"font-weight"};
118	(grid) => {"grid"};
119	(grid_area) => {"grid-area"};
120	(grid_auto_columns) => {"grid-auto-columns"};
121	(grid_auto_flow) => {"grid-auto-flow"};
122	(grid_auto_rows) => {"grid-auto-rows"};
123	(grid_column) => {"grid-column"};
124	(grid_column_end) => {"grid-column-end"};
125	(grid_column_gap) => {"grid-column-gap"};
126	(grid_column_start) => {"grid-column-start"};
127	(grid_gap) => {"grid-gap"};
128	(grid_row) => {"grid-row"};
129	(grid_row_end) => {"grid-row-end"};
130	(grid_row_gap) => {"grid-row-gap"};
131	(grid_row_start) => {"grid-row-start"};
132	(grid_template) => {"grid-template"};
133	(grid_template_areas) => {"grid-template-areas"};
134	(grid_template_columns) => {"grid-template-columns"};
135	(grid_template_rows) => {"grid-template-rows"};
136	(hanging_punctuation) => {"hanging-punctuation"};
137	(height) => {"height"};
138	(hyphens) => {"hyphens"};
139	(image_rendering) => {"image-rendering"};
140	(isolation) => {"isolation"};
141	(justify_content) => {"justify-content"};
142	(left) => {"left"};
143	(letter_spacing) => {"letter-spacing"};
144	(line_break) => {"line-break"};
145	(line_height) => {"line-height"};
146	(list_style) => {"list-style"};
147	(list_style_image) => {"list-style-image"};
148	(list_style_position) => {"list-style-position"};
149	(list_style_type) => {"list-style-type"};
150	(margin) => {"margin"};
151	(margin_bottom) => {"margin-bottom"};
152	(margin_left) => {"margin-left"};
153	(margin_right) => {"margin-right"};
154	(margin_top) => {"margin-top"};
155	(max_height) => {"max-height"};
156	(max_width) => {"max-width"};
157	(min_height) => {"min-height"};
158	(min_width) => {"min-width"};
159	(mix_blend_mode) => {"mix-blend-mode"};
160	(object_fit) => {"object-fit"};
161	(object_position) => {"object-position"};
162	(opacity) => {"opacity"};
163	(order) => {"order"};
164	(orphans) => {"orphans"};
165	(outline) => {"outline"};
166	(outline_color) => {"outline-color"};
167	(outline_offset) => {"outline-offset"};
168	(outline_style) => {"outline-style"};
169	(outline_width) => {"outline-width"};
170	(overflow) => {"overflow"};
171	(overflow_wrap) => {"overflow-wrap"};
172	(overflow_x) => {"overflow-x"};
173	(overflow_y) => {"overflow-y"};
174	(padding) => {"padding"};
175	(padding_bottom) => {"padding-bottom"};
176	(padding_left) => {"padding-left"};
177	(padding_right) => {"padding-right"};
178	(padding_top) => {"padding-top"};
179	(page_break_after) => {"page-break-after"};
180	(page_break_before) => {"page-break-before"};
181	(page_break_inside) => {"page-break-inside"};
182	(perspective) => {"perspective"};
183	(perspective_origin) => {"perspective-origin"};
184	(pointer_events) => {"pointer-events"};
185	(position) => {"position"};
186	(quotes) => {"quotes"};
187	(resize) => {"resize"};
188	(right) => {"right"};
189	(scroll_behavior) => {"scroll-behavior"};
190	(tab_size) => {"tab-size"};
191	(table_layout) => {"table-layout"};
192	(text_align) => {"text-align"};
193	(text_align_lastis) => {"text-align-lastis"};
194	(text_combine_upright) => {"text-combine-upright"};
195	(text_decoration) => {"text-decoration"};
196	(text_decoration_color) => {"text-decoration-color"};
197	(text_decoration_line) => {"text-decoration-line"};
198	(text_decoration_style) => {"text-decoration-style"};
199	(text_indent) => {"text-indent"};
200	(text_justify) => {"text-justify"};
201	(text_orientation) => {"text-orientation"};
202	(text_overflow) => {"text-overflow"};
203	(text_shadow) => {"text-shadow"};
204	(text_transform) => {"text-transform"};
205	(text_underline_position) => {"text-underline-position"};
206	(top) => {"top"};
207	(transform) => {"transform"};
208	(transform_origin) => {"transform-origin"};
209	(transform_style) => {"transform-style"};
210	(transition) => {"transition"};
211	(transition_delay) => {"transition-delay"};
212	(transition_duration) => {"transition-duration"};
213	(transition_property) => {"transition-property"};
214	(transition_timing_function) => {"transition-timing-function"};
215	(unicode_bidi) => {"unicode-bidi"};
216	(user_select) => {"user-select"};
217	(vertical_align) => {"vertical-align"};
218	(visibility) => {"visibility"};
219	(white_space) => {"white-space"};
220	(widows) => {"widows"};
221	(width) => {"width"};
222	(word_break) => {"word-break"};
223	(word_spacing) => {"word-spacing"};
224	(word_wrap) => {"word-wrap"};
225	(writing_mode) => {"writing-mode"};
226	(z_index) => {"z-index"};
227}