Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(editor): add .css language support #936

Merged
merged 1 commit into from
Jun 29, 2022

Conversation

kerbilg
Copy link
Contributor

@kerbilg kerbilg commented Jun 27, 2022

Hi,
this PR contains code to add css file support for the editor. It is more comfortable when editing themes.
I also added a screenshot from my development environment.

Thanks

Screenshot

This commit adds color formatting for .css files in the mainsail Editor.
@meteyou meteyou added the analyze runs build size report label Jun 28, 2022
@github-actions
Copy link
Contributor

Size Change: +8.15 kB (0%)

Total Size: 2.25 MB

Filename Size Change
./dist/assets/Codemirror.js 122 kB +8.16 kB (+7%) 🔍
./dist/assets/index.js 328 kB -4 B (0%)
./dist/assets/Viewer.js 943 kB -1 B (0%)
./dist/sw.js 6.29 kB -1 B (0%)
ℹ️ View Unchanged
Filename Size
./dist/assets/Codemirror.css 20 B
./dist/assets/Heightmap.js 120 kB
./dist/assets/Heightmap.css 282 B
./dist/assets/index.css 10.8 kB
./dist/assets/vendor.js 533 kB
./dist/assets/vendor.css 64.5 kB
./dist/assets/Viewer.css 244 B
./dist/config.json 25 B
./dist/fonts/roboto-black.woff2 11 kB
./dist/fonts/roboto-bold.woff2 11 kB
./dist/fonts/roboto-light.woff2 11.2 kB
./dist/fonts/roboto-medium.woff2 11.1 kB
./dist/fonts/roboto-regular.woff2 11 kB
./dist/fonts/roboto-thin.woff2 11 kB
./dist/img/icons/apple-touch-icon-180x180.png 6.47 kB
./dist/img/icons/favicon-16x16.png 355 B
./dist/img/icons/favicon-32x32.png 641 B
./dist/img/icons/icon-192-png 7.86 kB
./dist/img/icons/icon-512-png 33 kB
./dist/img/icons/mstile-150x150.png 2.24 kB
./dist/img/icons/safari-pinned-tab.svg 1.38 kB
./dist/img/klipper.svg 2.38 kB
./dist/img/logo.svg 295 B
./dist/img/sidebar-background.svg 929 B
./dist/index.html 715 B

compressed-size-action

@meteyou meteyou changed the title add .css language support feat(editor): add .css language support Jun 29, 2022
@meteyou meteyou merged commit eb1d3c1 into mainsail-crew:develop Jun 29, 2022
dw-0 pushed a commit to dw-0/mainsail that referenced this pull request Jul 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
analyze runs build size report
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants