Skip to content

Commit 86ed797

Browse files
authored
Merge pull request #231 from ukparliament/integrate-design-system
Integrate design system
2 parents ce6f5a7 + 8c439c4 commit 86ed797

File tree

207 files changed

+4017
-5543
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

207 files changed

+4017
-5543
lines changed

.tool-versions

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
ruby-4.0.1
1+
ruby 4.0.1

Gemfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ gem 'bundler-audit'
88
gem 'cgi'
99
gem 'fiddle'
1010
gem "pg"
11-
gem "sprockets-rails"
11+
gem "propshaft"
12+
gem "library_design", github: "ukparliament/design-assets", glob: 'library_design/*.gemspec', tag: "0.6.4"
1213
gem "importmap-rails"
1314
gem "font-awesome-rails"
1415
gem "haml"

Gemfile.lock

Lines changed: 19 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
GIT
2+
remote: https://github.com/ukparliament/design-assets.git
3+
revision: 88687369f401dc8f5c666712d37eda3da567ee15
4+
tag: 0.6.4
5+
glob: library_design/*.gemspec
6+
specs:
7+
library_design (0.6.4)
8+
rack-cors (~> 3.0.0)
9+
110
GEM
211
remote: https://rubygems.org/
312
specs:
@@ -176,12 +185,19 @@ GEM
176185
prettyprint
177186
prettyprint (0.2.0)
178187
prism (1.8.0)
188+
propshaft (1.3.1)
189+
actionpack (>= 7.0.0)
190+
activesupport (>= 7.0.0)
191+
rack
179192
psych (5.3.1)
180193
date
181194
stringio
182195
public_suffix (6.0.1)
183196
racc (1.8.1)
184-
rack (3.2.4)
197+
rack (3.2.5)
198+
rack-cors (3.0.0)
199+
logger
200+
rack (>= 3.0.14)
185201
rack-session (2.1.1)
186202
base64 (>= 0.1.0)
187203
rack (>= 3.0.0)
@@ -263,14 +279,6 @@ GEM
263279
simplecov_json_formatter (~> 0.1)
264280
simplecov-html (0.13.1)
265281
simplecov_json_formatter (0.1.4)
266-
sprockets (4.2.2)
267-
concurrent-ruby (~> 1.0)
268-
logger
269-
rack (>= 2.2.4, < 4)
270-
sprockets-rails (3.5.2)
271-
actionpack (>= 6.1)
272-
activesupport (>= 6.1)
273-
sprockets (>= 3.0.0)
274282
stimulus-rails (1.3.4)
275283
railties (>= 6.0.0)
276284
stringio (3.2.0)
@@ -316,14 +324,15 @@ DEPENDENCIES
316324
haml
317325
importmap-rails
318326
jbuilder
327+
library_design!
319328
passenger (>= 6)
320329
pg
330+
propshaft
321331
rails (= 8.1.2)
322332
rails-controller-testing
323333
rspec-rails
324334
selenium-webdriver
325335
simplecov
326-
sprockets-rails
327336
stimulus-rails
328337
turbo-rails
329338
tzinfo-data

app/assets/config/manifest.js

Lines changed: 0 additions & 4 deletions
This file was deleted.
Lines changed: 9 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,10 @@
1-
/*
2-
* This is a manifest file that'll be compiled into application.css, which will include all the files
3-
* listed below.
4-
*
5-
* Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
6-
* vendor/assets/stylesheets directory can be referenced here using a relative path.
7-
*
8-
* You're free to add application-wide styles to this file and they'll appear at the bottom of the
9-
* compiled file so the styles you add here take precedence over styles defined in any other CSS
10-
* files in this directory. Styles in this file should be added after the last require_* statement.
11-
* It is generally better to create a new file per style scope.
12-
*
13-
*= require_tree .
14-
*= require_self
15-
*/
16-
1+
/*override margins set by design system*/
2+
/* reset bottom margin for last child paragraph */
3+
p:last-child {
4+
margin-bottom: 18px;
5+
}
176

7+
/* only remove bottom margin for last direct child of a container */
8+
.container-sm > p:last-child {
9+
margin-bottom: 0;
10+
}

0 commit comments

Comments
 (0)