-
Notifications
You must be signed in to change notification settings - Fork 8
feat: migrate css to scss #644
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
Merged
Merged
Changes from 18 commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
0cdcfe7
feat: migrate to scss
Revathyvenugopal162 1b17384
Merge branch 'main' into fix/add-scss
Revathyvenugopal162 c34d0e2
chore: adding changelog file 644.miscellaneous.md [dependabot-skip]
pyansys-ci-bot cc0fcbc
Update package.json
Revathyvenugopal162 f73b779
feat: add the post css dev dependencies
Revathyvenugopal162 496a199
Merge branch 'fix/add-scss' of https://github.com/ansys/ansys-sphinx-…
Revathyvenugopal162 b4cae9c
chore: adding changelog file 644.added.md [dependabot-skip]
pyansys-ci-bot 1103a85
feat: add the post css dev deps
Revathyvenugopal162 db36f64
Merge branch 'fix/add-scss' of https://github.com/ansys/ansys-sphinx-…
Revathyvenugopal162 bdf301e
Merge branch 'main' into fix/add-scss
jorgepiloto d39cb81
feat: add the post css build
Revathyvenugopal162 e57c870
Merge branch 'fix/add-scss' of https://github.com/ansys/ansys-sphinx-…
Revathyvenugopal162 ec0e53a
feat: add the post css config
Revathyvenugopal162 41ede99
fix: add one package
Revathyvenugopal162 8f64f2c
fix: change search.scss
Revathyvenugopal162 bc90654
fix: clean ast-search.scss
Revathyvenugopal162 561150f
fix: clean breadcrumb.scss
Revathyvenugopal162 f2212aa
fix: clean sd.css
Revathyvenugopal162 d208343
Apply suggestions from code review
Revathyvenugopal162 7c3ebbc
fix: update codestyle
Revathyvenugopal162 92e483f
Merge branch 'main' into fix/add-scss
Revathyvenugopal162 bb6a97d
Merge branch 'main' into fix/add-scss
Revathyvenugopal162 3bed680
fix: change sphinx gallery sccs
Revathyvenugopal162 1eed6c8
fix: table scss reformat
Revathyvenugopal162 27d0eea
fix: whatsnew scss reformat
Revathyvenugopal162 06d68ce
fix: add css
Revathyvenugopal162 a4e96b6
fix: convert px to rem
Revathyvenugopal162 d0019d2
Merge branch 'main' into fix/add-scss
Revathyvenugopal162 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| migrate css to scss |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,11 +1,20 @@ | ||
| { | ||
| "name": "ansys_sphinx_theme", | ||
| "repository": "https://github.com/ansys/ansys-sphinx-theme", | ||
| "description": "", | ||
| "main": "", | ||
| "scripts": { | ||
| "build": "echo 'No build step needed' " | ||
| "build:scss": "sass src/ansys_sphinx_theme/assets/styles/ansys-sphinx-theme.scss src/ansys_sphinx_theme/theme/ansys_sphinx_theme/static/styles/ansys-sphinx-theme.css", | ||
| "build:postcss": "postcss src/ansys_sphinx_theme/theme/ansys_sphinx_theme/static/styles/ansys-sphinx-theme.css -o src/ansys_sphinx_theme/theme/ansys_sphinx_theme/static/styles/ansys-sphinx-theme.css", | ||
| "build": "npm run build:scss && npm run build:postcss" | ||
| }, | ||
| "dependencies": {}, | ||
| "devDependencies": {} | ||
| "devDependencies": { | ||
| "autoprefixer": "^10.4.21", | ||
| "postcss": "^8.5.3", | ||
| "postcss-cli": "^11.0.0", | ||
| "postcss-import": "^16.1.0", | ||
| "postcss-nested": "^7.0.2", | ||
| "sass": "^1.85.1" | ||
| }, | ||
| "dependencies": { | ||
| "postcss-scss": "^4.0.9" | ||
| } | ||
| } | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| const config = { | ||
| plugins: [require("autoprefixer"), require("postcss-nested")], | ||
Revathyvenugopal162 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| }; | ||
|
|
||
| module.exports = config; | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
18 changes: 9 additions & 9 deletions
18
...x_theme/static/css/ansys_sphinx_theme.css → ...eme/assets/styles/ansys-sphinx-theme.scss
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.